Created
May 11, 2020 15:13
-
-
Save apathor/e4b4d904da958b5581e9a5c05f9d57f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MFL's config for i3 | |
# font | |
font Terminus | |
# modifier | |
set $mod Mod4 | |
floating_modifier $mod | |
# decorations | |
new_window none | |
new_float none | |
# escape - lock/exit | |
bindsym $mod+Escape exec "xscreensaver-command -lock" | |
bindsym $mod+Shift+Escape exec "i3-msg exit" | |
# grave - reload/restart | |
bindsym $mod+grave reload | |
bindsym $mod+Shift+grave restart | |
# return - spawn terminals | |
bindsym $mod+Return exec "xst" | |
bindsym $mod+Shift+Return exec "xst -e tmux attach" | |
# arrows - focus/move containers | |
bindsym $mod+Left focus left | |
bindsym $mod+Right focus right | |
bindsym $mod+Up focus up | |
bindsym $mod+Down focus down | |
bindsym $mod+Shift+Left move left | |
bindsym $mod+Shift+Right move right | |
bindsym $mod+Shift+Up move up | |
bindsym $mod+Shift+Down move down | |
# digits - focus/move workspaces | |
bindsym $mod+1 workspace 1 | |
bindsym $mod+2 workspace 2 | |
bindsym $mod+3 workspace 3 | |
bindsym $mod+4 workspace 4 | |
bindsym $mod+5 workspace 5 | |
bindsym $mod+6 workspace 6 | |
bindsym $mod+7 workspace 7 | |
bindsym $mod+8 workspace 8 | |
bindsym $mod+9 workspace 9 | |
bindsym $mod+Shift+1 move container to workspace 1 | |
bindsym $mod+Shift+2 move container to workspace 2 | |
bindsym $mod+Shift+3 move container to workspace 3 | |
bindsym $mod+Shift+4 move container to workspace 4 | |
bindsym $mod+Shift+5 move container to workspace 5 | |
bindsym $mod+Shift+6 move container to workspace 6 | |
bindsym $mod+Shift+7 move container to workspace 7 | |
bindsym $mod+Shift+8 move container to workspace 8 | |
bindsym $mod+Shift+9 move container to workspace 9 | |
# qwe - layout manipulation | |
bindsym $mod+q resize grow width 10 px or 10 ppt | |
bindsym $mod+Shift+q resize shrink width 10 px or 10 ppt | |
bindsym $mod+w resize grow height 10 px or 10 ppt | |
bindsym $mod+Shift+w resize shrink height 10 px or 10 ppt | |
bindsym $mod+e fullscreen toggle | |
bindsym $mod+Shift+e floating toggle | |
# asd - layout split and focus | |
bindsym $mod+a focus parent | |
bindsym $mod+Shift+a focus child | |
bindsym $mod+s split v | |
bindsym $mod+Shift+s split h | |
# rty - layout mode | |
bindsym $mod+r layout stacking | |
bindsym $mod+t layout tabbed | |
bindsym $mod+y layout toggle split | |
# zxc - interactive menus | |
bindsym $mod+z exec "cz meta -r | cz xclip in" | |
bindsym $mod+Shift+z exec "cz meta -s | cz xclip in" | |
bindsym $mod+x exec "cz meta -q | cz xclip in" | |
bindsym $mod+Shift+x exec "cz meta -p | cz xclip in" | |
bindsym $mod+c exec "cz command" | |
bindsym $mod+Shift+c exec "cz xclip out | cz command | cz xclip in" | |
# fgh - more junk | |
bindsym $mod+f exec "cz capture | cz xclip in" | |
# m,. - mpd control | |
bindsym $mod+m exec "mpc toggle" | |
bindsym $mod+Shift+m exec "cz mpd track " | |
bindsym $mod+comma exec "mpc prev" | |
bindsym $mod+Shift+comma exec "mpc current" | |
bindsym $mod+period exec "mpc next" | |
bindsym $mod+Shift+period exec "mpc random" | |
# jkl - utilites | |
bindsym $mod+k kill | |
bindsym $mod+Shift+k exec "cz kill" | |
# status bar | |
bar { | |
status_command i3status | |
position top | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment