mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-11 01:10:31 +00:00
Split configuration guide into multiple segments
This commit is contained in:
parent
9ac8548d2a
commit
a8c7a70316
@ -95,12 +95,15 @@
|
|||||||
# Most configuration options can be inferred from default configuration
|
# Most configuration options can be inferred from default configuration
|
||||||
# Default configuration path:
|
# Default configuration path:
|
||||||
/etc/i3/config
|
/etc/i3/config
|
||||||
|
|
||||||
# Keys can be binded with bindsym like this:
|
# Keys can be binded with bindsym like this:
|
||||||
bindsym $mod+4 workspace $ws4
|
bindsym $mod+4 workspace $ws4
|
||||||
bindsym $mod+Shift+R exec custom-script-in-path.sh --flag1 --flag2
|
bindsym $mod+Shift+R exec custom-script-in-path.sh --flag1 --flag2
|
||||||
bindcode 172 exec playerctl play-pause
|
bindcode 172 exec playerctl play-pause
|
||||||
|
|
||||||
# Always execute code when i3 starts:
|
# Always execute code when i3 starts:
|
||||||
exec --no-startup-id ~/.config/polybar/launch.sh
|
exec --no-startup-id ~/.config/polybar/launch.sh
|
||||||
|
|
||||||
# One can make special modes (much like resize mode)
|
# One can make special modes (much like resize mode)
|
||||||
set $gamingMode "gaming_mode"
|
set $gamingMode "gaming_mode"
|
||||||
bindsym $mod+g mode $gamingMode
|
bindsym $mod+g mode $gamingMode
|
||||||
@ -110,5 +113,6 @@ mode $gamingMode {
|
|||||||
# Don't forget to add option to return from this mode!
|
# Don't forget to add option to return from this mode!
|
||||||
bindsym $mod+Escape mode default
|
bindsym $mod+Escape mode default
|
||||||
}
|
}
|
||||||
|
|
||||||
# Move workspace between multiple monitors
|
# Move workspace between multiple monitors
|
||||||
bindsym $mod+x move workspace to output right
|
bindsym $mod+x move workspace to output right
|
||||||
|
Loading…
Reference in New Issue
Block a user