Skip to content

Commit

Permalink
doc(i3): show which keys get bound in sec header
Browse files Browse the repository at this point in the history
  • Loading branch information
vEnhance committed Jan 29, 2024
1 parent ea7ceae commit 3508050
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 3508050

Please sign in to comment.