From 3f2e20980e238e9616c5afa1d91ce78f68ad8be7 Mon Sep 17 00:00:00 2001 From: Jeremiah Ticket Date: Thu, 1 Dec 2022 09:43:08 -0700 Subject: [PATCH] Removed mode default for all non-ratpoison bindings. --- i38.sh | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/i38.sh b/i38.sh index 8ecd5ce..62cc5f2 100755 --- a/i38.sh +++ b/i38.sh @@ -417,19 +417,19 @@ fi if [[ -z "${escapeKey}" ]]; then cat << EOF >> ${i3Path}/config # Text editor bound to $mod+e -bindsym \$mod+e exec $textEditor, mode "default" +bindsym \$mod+e exec $textEditor # File browser bound to $mod+f -bindsym \$mod+f exec $fileBrowser, mode "default" +bindsym \$mod+f exec $fileBrowser # Web browser bound to $mod+w -bindsym \$mod+w exec $webBrowser, mode "default" +bindsym \$mod+w exec $webBrowser $(if command -v mumble &> /dev/null ; then - echo "bindsym \$mod+m exec $(command -v mumble), mode \"default\"" + echo "bindsym \$mod+m exec $(command -v mumble)" fi) $(if command -v ocrdesktop &> /dev/null ; then - echo "bindsym Print exec $(command -v ocrdesktop), mode \"default\"" + echo "bindsym Print exec $(command -v ocrdesktop)" fi) $(if command -v pidgin &> /dev/null ; then - echo "bindsym \$mod+p exec $(command -v pidgin), mode \"default\"" + echo "bindsym \$mod+p exec $(command -v pidgin)" fi) $(if command -v transfersh &> /dev/null ; then echo 'bindsym \$mod+t exec bash -c '"'"'fileName="$(yad --title "I38 Upload File" --file)" && url="$(transfersh "${fileName}" | tee >(yad --title "I38 - Uploading ${fileName##*/} ..." --progress --pulsate --auto-close))" && echo "${url#*saved at: }" | tee >(yad --title "I38 - Upload URL" --show-cursor --show-uri --button yad-close --sticky --text-info) >(xclip -selection clipboard)'"', mode \"default\"" @@ -438,24 +438,24 @@ bindsym \$mod+Shift+0 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ bindsym \$mod+Shift+9 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -${voluemJump}% # Music player controls # Requires playerctl. -bindsym \$mod+Shift+equal exec --no-startup-id ${i3Path}/scripts/music_controler.sh incvol $volumeJump, mode "default" -bindsym \$mod+Shift+minus exec --no-startup-id ${i3Path}/scripts/music_controler.sh decvol $volumeJump, mode "default" -bindsym \$mod+Shift+z exec --no-startup-id ${i3Path}/scripts/music_controler.sh prev, mode "default" -bindsym \$mod+Shift+c exec --no-startup-id ${i3Path}/scripts/music_controler.sh pause, mode "default" -bindsym \$mod+Shift+x exec --no-startup-id ${i3Path}/scripts/music_controler.sh play, mode "default" -bindsym \$mod+Shitf+v exec --no-startup-id ${i3Path}/scripts/music_controler.sh stop, mode "default" -bindsym \$mod+Shift+b exec --no-startup-id ${i3Path}/scripts/music_controler.sh next, mode "default" -bindsym \$mod+Shift+u exec --no-startup-id ${i3Path}/scripts/music_controler.sh info, mode "default" +bindsym \$mod+Shift+equal exec --no-startup-id ${i3Path}/scripts/music_controler.sh incvol $volumeJump +bindsym \$mod+Shift+minus exec --no-startup-id ${i3Path}/scripts/music_controler.sh decvol $volumeJump +bindsym \$mod+Shift+z exec --no-startup-id ${i3Path}/scripts/music_controler.sh prev +bindsym \$mod+Shift+c exec --no-startup-id ${i3Path}/scripts/music_controler.sh pause +bindsym \$mod+Shift+x exec --no-startup-id ${i3Path}/scripts/music_controler.sh play +bindsym \$mod+Shitf+v exec --no-startup-id ${i3Path}/scripts/music_controler.sh stop +bindsym \$mod+Shift+b exec --no-startup-id ${i3Path}/scripts/music_controler.sh next +bindsym \$mod+Shift+u exec --no-startup-id ${i3Path}/scripts/music_controler.sh info #Check battery status -bindsym \$mod+b exec --no-startup-id ${i3Path}/scripts/battery_status.sh, mode "default" +bindsym \$mod+b exec --no-startup-id ${i3Path}/scripts/battery_status.sh # Get a list of windows in the current workspace -bindsym \$mod+apostrophe exec --no-startup-id ${i3Path}/scripts/window_list.sh, mode "default" +bindsym \$mod+apostrophe exec --no-startup-id ${i3Path}/scripts/window_list.sh # Restart orca -bindsym \$mod+Shift+o exec $(command -v orca) --replace, mode "default" +bindsym \$mod+Shift+o exec $(command -v orca) --replace # reload the configuration file -bindsym \$mod+Control+semicolon exec bash -c 'i3-msg -t run_command reload && spd-say -P important -Cw "I38 Configuration reloaded."', mode "default" +bindsym \$mod+Control+semicolon exec bash -c 'i3-msg -t run_command reload && spd-say -P important -Cw "I38 Configuration reloaded."' # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym \$mod+Control+Shift+semicolon exec bash -c 'i3-msg -t run_command restart && spd-say -P important -Cw "I3 restarted."', mode "default" +bindsym \$mod+Control+Shift+semicolon exec bash -c 'i3-msg -t run_command restart && spd-say -P important -Cw "I3 restarted."' # exit i3 (logs you out of your X session) bindsym \$mod+Control+q exec bash -c 'yad --image "dialog-question" --title "I38" --button=yes:0 --button=no:1 --text "You pressed the exit shortcut. Do you really want to exit i3? This will end your X session." && i3-msg -t run_command exit' }