chore: finally added hparchs setup :)

This commit is contained in:
Rick van Lieshout 2023-02-05 13:50:06 +01:00
parent 20cc3d92d1
commit c2ae3d5fa0
6 changed files with 33 additions and 9 deletions

View File

@ -8,7 +8,7 @@ New version as of Nov 2022:
[![dotfiles](media/dotfiles5.png)](https://raw.githubusercontent.com/Mastermindzh/dotfiles/master/media/dotfiles5.png)
I changed the terminal out for gnome-terminal, full-screen it has the same color-hue as the i3bar:
I changed color of the terminal to match the i3bar:
<img src = "media/dotfiles-small-5.png" width="200">
@ -32,7 +32,7 @@ Older versions:
| Editor | nano |
| Code editor | vscode |
| Browser | Firefox |
| File manager | If I have to use one ... Nautilus |
| File manager | If I have to use one ... Thunar |
| Music | Tidal through [Tidal-hifi](https://github.com/Mastermindzh/tidal-hifi) |
| | |

View File

@ -0,0 +1,9 @@
#!/bin/bash
# startup stuffs
#/bin/bash
displays=($(xrandr | awk '/ connected /{print $1}'))
selected_display="${displays[0]}"
xrandr --output "$selected_display" --brightness 0.75
# power savings

View File

@ -0,0 +1,3 @@
#!/bin/bash
MYPATH=$PWD/computers/hparch
ln -sf "$MYPATH/.xprofile" ~/.xprofile

View File

@ -19,7 +19,7 @@ MiscTabPosition=GTK_POS_TOP
MiscHighlightUrls=TRUE
MiscMiddleClickOpensUri=FALSE
MiscCopyOnSelect=FALSE
MiscShowRelaunchDialog=TRUE
MiscShowRelaunchDialog=FALSE
MiscRewrapOnResize=TRUE
MiscUseShiftArrowsToScroll=FALSE
MiscSlimTabs=FALSE
@ -34,3 +34,4 @@ ScrollingBar=TERMINAL_SCROLLBAR_NONE
ColorBackground=#1e1e1e1e1e1e
TitleInitial=
FontName=Ubuntu Mono 13

View File

@ -63,8 +63,6 @@ networkmanager-l2tp
strongswan
w3m
system-config-printer
nautilus
nautilus-share
wget
pyenv
jq

View File

@ -88,9 +88,21 @@ bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+Escape exec "i3-nagbar -t warning -m 'Do you really want to exit i3?' -b 'Yes, exit i3' 'i3-msg exit'"
bindsym $mod+Shift+Delete exec "i3-nagbar -t alert -m 'Do you really want to shut down?' -b 'Yes, Shutdown' 'shutdown -h now'"
bindsym $mod+Shift+BackSpace exec "i3-nagbar -t error -m 'Do you really want to reboot?' -b 'Yes, Reboot' 'reboot'"
set $mode_power "Exit (L)ogout, (R)eboot, (S)hutdown"
mode $mode_power {
bindsym $mod+r exec systemctl reboot
bindsym $mod+l exit
bindsym $mod+s exec systemctl poweroff
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Shift+Delete mode $mode_power
bindsym $mod+Shift+Escape mode $mode_power
bindsym $mod+Shift+Backspace mode $mode_power
# focus on the parent window
bindsym $mod+shift+alt+p focus parent
@ -120,7 +132,8 @@ bindsym $mod+shift+l exec /bin/bash ~/.config/i3/scripts/suspend.sh
# Application Keys #
############################################
bindsym $mod+Return exec xfce4-terminal # terminal
bindsym $mod+e exec nautilus # File manager
bindsym $mod+shift+Return exec xfce4-terminal --drop-down # terminal
bindsym $mod+e exec thunar # File manager
bindsym Print exec flameshot screen -d 0 -p ~/Pictures/Screenshots # Fullscreen screenshot
bindsym $mod+Print exec flameshot gui # Show screenshot window
bindsym $mod+shift+Print exec flameshot launcher # Show settings window (delay) then show screenshot window