Standardize variable syntax

This commit is contained in:
John Mertz 2023-11-17 18:37:02 -07:00
parent 04a778c9c2
commit 01f7cf5243
1 changed files with 21 additions and 21 deletions

View File

@ -44,27 +44,27 @@ bindsym $mod+i exec scripts/waybar/waybar-todo.sh
bindsym $mod+Shift+i mode "resize"
# Index: start tofi (launch applications)
bindsym $mod+u exec $HOME/scripts/tofi/tofi-drun.sh
bindsym $mod+u exec ${HOME}/scripts/tofi/tofi-drun.sh
# Add Shift: Alternative launcher for literal commands
bindsym $mod+Shift+u exec $HOME/.local/bin/gmrun
bindsym $mod+Shift+u exec ${HOME}/.local/bin/gmrun
# Middle: Host terminal (should be rarely used)
bindsym $mod+e exec /usr/bin/alacritty --config-file ${HOME}/.dotfiles/alacritty/host.yml
# Add Shift: start a remote shell
# TODO: bindsym $mod+Shift+e exec $HOME/scripts/wofi/wofi-ssh-menu.sh
bindsym $mod+Shift+e exec $HOME/scripts/rofi/rofi-ssh-menu.sh
# TODO: bindsym $mod+Shift+e exec ${HOME}/scripts/wofi/wofi-ssh-menu.sh
bindsym $mod+Shift+e exec ${HOME}/scripts/rofi/rofi-ssh-menu.sh
# Ring: start a file manager
#bindsym $mod+o exec xfce4-terminal -c /usr/bin/mc
bindsym $mod+o exec thunar
# Add Shift: VPN quick menu
# TODO: bindsym $mod+Shift+o exec $HOME/scripts/wofi/wofi-vpn.sh
bindsym $mod+Shift+o exec $HOME/scripts/rofi/rofi-openvpn.sh
# TODO: bindsym $mod+Shift+o exec ${HOME}/scripts/wofi/wofi-vpn.sh
bindsym $mod+Shift+o exec ${HOME}/scripts/rofi/rofi-openvpn.sh
# Pinky: Open Browser
bindsym $mod+a exec $HOME/.local/bin/firefox/firefox-bin
bindsym $mod+a exec ${HOME}/.local/bin/firefox/firefox-bin
# Add Shift: Secondary Browser
bindsym $mod+Shift+a exec $HOME/scripts/send-to-kodi.sh
bindsym $mod+Shift+a exec ${HOME}/scripts/send-to-kodi.sh
### Above Home Row: Distroboxes
@ -138,7 +138,7 @@ bindsym $mod+Shift+s sticky toggle
# Pinky Stretch: kill focused container
bindsym $mod+minus kill
# Add Shift: Power menu
bindsym $mod+underscore exec $HOME/scripts/sway/power-menu.sh
bindsym $mod+underscore exec ${HOME}/scripts/tofi/tofi-menu.sh power
## Above Home Row: Change containers arrangement methods
@ -173,7 +173,7 @@ bindsym $mod+r layout stacking
## Below Home Row: Preemplive split direction, focus switching
# Index Stretch: Rotate wallpaper
bindsym $mod+b exec $HOME/scripts/sway/rotate-wallpaper.sh
bindsym $mod+b exec ${HOME}/scripts/sway/rotate-wallpaper.sh
# Add Shift: Unassigned
#bindsym $mod+Shift+b
@ -200,7 +200,7 @@ bindsym $mod+z focus mode_toggle
### Numberline: Workspace Swtching and Movement
# Grave: DIY version of Tilde pop-up terminal
bindsym $mod+Grave exec $HOME/scripts/sway/popup-term.pl
bindsym $mod+Grave exec ${HOME}/scripts/sway/popup-term.pl
# Add Shift: Switch to Grave workspace
bindsym $mod+Shift+Grave move container to workspace grave
# Add Control: Move to Grave workspace
@ -274,7 +274,7 @@ bindsym $mod+Escape exec /usr/bin/kill -SIGUSR1 `cat ${HOME}/.spool/sway-transpa
bindsym $mod+Shift+Escape exec /usr/bin/sh -c "sleep 1 ; /usr/bin/kill -SIGUSR1 $(pgrep swayidle)"
# F1: Mute Audio
bindsym $mod+F1 $HOME/scripts/audio/mute.sh
bindsym $mod+F1 ${HOME}/scripts/audio/mute.sh
# F2: Volume down
#bindsym $mod+F2
# F3: Volume up
@ -282,11 +282,11 @@ bindsym $mod+F1 $HOME/scripts/audio/mute.sh
# F4: Mute microphone
#bindsym $mod+F4
# F5: Brightness down
bindsym $mod+F5 exec $HOME/scripts/thinkpad/blc.pl --notify --
bindsym $mod+F5 exec ${HOME}/scripts/thinkpad/blc.pl --notify --
# F6: Brightness up
bindsym $mod+F6 exec $HOME/scripts/thinkpad/blc.pl --notify ++
bindsym $mod+F6 exec ${HOME}/scripts/thinkpad/blc.pl --notify ++
# F7: Switch between docked and detached
bindsym $mod+F7 $HOME/scripts/thinkpad/toggle_outputs.sh
bindsym $mod+F7 ${HOME}/scripts/thinkpad/toggle_outputs.sh
# F8: Toggle wifi
#bindsym $mod+F8
# F9: Open settings
@ -298,19 +298,19 @@ bindsym $mod+F10 exec grim
# Add Shift: capture region
#bindsym $mod+Shift+F10
# F11: Keyboard Backlight
bindsym $mod+F11 exec $HOME/scripts/thinkpad/kbd_backlight.pl 2> /dev/null
bindsym $mod+F11 exec ${HOME}/scripts/thinkpad/kbd_backlight.pl 2> /dev/null
# F12: Unassigned
#bindsym $mod+F12
# Home+End: Increase Brightness
bindsym $mod+Home exec $HOME/scripts/thinkpad/blc.pl --notify ++
bindsym $mod+Home exec ${HOME}/scripts/thinkpad/blc.pl --notify ++
# Add Shift: Change Bigly
bindsym $mod+Shift+Home exec $HOME/scripts/thinkpad/blc.pl --notify += 10
bindsym $mod+Shift+Home exec ${HOME}/scripts/thinkpad/blc.pl --notify += 10
# End: Reduce Brightness
bindsym $mod+End exec $HOME/scripts/thinkpad/blc.pl --notify --
bindsym $mod+End exec ${HOME}/scripts/thinkpad/blc.pl --notify --
# Add Shift: Change Bigly
bindsym $mod+Shift+End exec $HOME/scripts/thinkpad/blc.pl --notify -= 10
bindsym $mod+Shift+End exec ${HOME}/scripts/thinkpad/blc.pl --notify -= 10
# Insert: Unassigned
#bindsym $mod+Insert
@ -321,7 +321,7 @@ bindsym $mod+Shift+End exec $HOME/scripts/thinkpad/blc.pl --notify -= 10
# Miscellaneous
# Tab: Quick change. Shows all windows on all pages by name in wofi
bindsym $mod+tab exec $HOME/scripts/sway/sway-alt-tab.sh
bindsym $mod+tab exec ${HOME}/scripts/sway/sway-alt-tab.sh
# Resize Mode (you can also use the mouse for that): Entered with $mod+i
mode "resize" {