diff --git a/README.md b/README.md index 087fffd..8aa02d4 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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) | | | | diff --git a/computers/hparch/.xprofile b/computers/hparch/.xprofile new file mode 100644 index 0000000..3076b89 --- /dev/null +++ b/computers/hparch/.xprofile @@ -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 diff --git a/computers/hparch/install.sh b/computers/hparch/install.sh new file mode 100644 index 0000000..3113b2c --- /dev/null +++ b/computers/hparch/install.sh @@ -0,0 +1,3 @@ +#!/bin/bash +MYPATH=$PWD/computers/hparch +ln -sf "$MYPATH/.xprofile" ~/.xprofile diff --git a/config/terminalrc b/config/terminalrc index fcdb8c6..ae92396 100644 --- a/config/terminalrc +++ b/config/terminalrc @@ -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 + diff --git a/dependencies/pacman.txt b/dependencies/pacman.txt index 64fcb8e..91645ca 100644 --- a/dependencies/pacman.txt +++ b/dependencies/pacman.txt @@ -63,8 +63,6 @@ networkmanager-l2tp strongswan w3m system-config-printer -nautilus -nautilus-share wget pyenv jq diff --git a/i3/config b/i3/config index 7dc9aad..26ff7a1 100644 --- a/i3/config +++ b/i3/config @@ -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