From 350805037c6a51b1e9be7999a7ec532a2ce7f122 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Mon, 29 Jan 2024 18:44:50 -0500 Subject: [PATCH] doc(i3): show which keys get bound in sec header --- i3/config | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/i3/config b/i3/config index 6835d17f..cc208e7f 100644 --- a/i3/config +++ b/i3/config @@ -45,7 +45,7 @@ client.urgent #2f343a #900000 #ffffff #900000 #900000 client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c # }}} -# hjkl navigation {{{ +# [hjkl] navigation {{{ # change focus bindsym $mod+h focus left bindsym $mod+j focus down @@ -61,7 +61,7 @@ client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c bindsym $mod+Shift+l move right # }}} -# window layouts [svftes.\tab] {{{ +# window layouts [zvftesab.\t] {{{ # split in horizontal orientation bindsym $mod+z split h # split in vertical orientation @@ -119,7 +119,7 @@ bindsym $mod+Shift+9 move container to workspace number 9; workspace number 9 bindsym $mod+Shift+0 move container to workspace number 10; workspace number 10 # }}} -# nudge {{{ +# nudge [n] {{{ mode "nudge" { bindsym a focus parent bindsym b focus child @@ -153,7 +153,7 @@ mode "nudge" { bindsym $mod+n exec --no-startup-id $HOME/dotfiles/i3/reminder-nudge.sh, mode "nudge" # }}} -# close focused window {{{ +# close focused window [q] {{{ # we implement this in a separate mode as a sort of confirmation # (and so that if we hold down the key by accident nothing happens bindsym $mod+q mode "close" @@ -189,7 +189,7 @@ mode "close" { } # }}} -# clipboard {{{ +# clipboard [p] {{{ mode "clipboard" { bindsym p exec --no-startup-id sleep 0.2 && xdotool type "$(xsel --primary)", mode "default" bindsym s exec --no-startup-id sleep 0.2 && xdotool type "$(xsel --secondary)", mode "default" @@ -200,7 +200,7 @@ mode "clipboard" { bindsym $mod+p mode "clipboard" # }}} -# power mode {{{ +# power mode [shift+backslash] {{{ mode "danger" { bindsym e exit bindsym n exec --no-startup-id systemctl suspend, mode "default" @@ -213,7 +213,7 @@ mode "danger" { bindsym $mod+Shift+backslash exec --no-startup-id $HOME/dotfiles/i3/reminder-danger.sh, mode "danger" # }}} -# config/reset mode {{{ +# config/reset mode [escape] {{{ mode "config" { # reload the configuration file bindsym r reload, mode "default" @@ -256,7 +256,7 @@ mode "config" { bindsym $mod+Escape exec --no-startup-id $HOME/dotfiles/i3/reminder-config.sh, mode "config" # }}} -# Ponymix {{{ +# Ponymix [o] {{{ mode "ponymix" { # volume bindsym u exec --no-startup-id $HOME/dotfiles/sh-scripts/chvol.sh u @@ -289,7 +289,7 @@ mode "ponymix" { bindsym $mod+o exec --no-startup-id $HOME/dotfiles/i3/reminder-ponymix.sh, mode "ponymix" # }}} -# executable {{{ +# executable [x] {{{ mode "exec" { bindsym a exec i3-sensible-terminal -e "python $HOME/dotfiles/py-scripts/export-ggb-clean-asy.py --speedy", mode "default" bindsym b exec libreoffice --calc &, mode "default" @@ -299,7 +299,6 @@ mode "exec" { bindsym g exec geogebra &, mode "default" # short for hanabi bindsym h exec chromium &, mode "default" - bindsym j exec python "$HOME/dotfiles/py-scripts/projtext.py" &, mode "default" bindsym l exec --no-startup-id /home/evan/dotfiles/sh-scripts/fuzzy-lock.sh, mode "default" # short for money bindsym m exec gnucash &, mode "default"