1 title_align center
   2 default_border normal 0
   3 font pango:Terminus 8
   4 
   5 gaps inner 30
   6 gaps horizontal 300
   7 smart_gaps inverse_outer
   8 
   9 set $exec exec --no-startup-id
  10 set $exec_a exec_always --no-startup-id
  11 
  12 # Colors {{{
  13 
  14 set_from_resource $bg bg #000000
  15 set_from_resource $bga bgA #000000aa
  16 set_from_resource $fg fg #eeeeee
  17 
  18 client.focused $fg $fg $bg
  19 client.unfocused $bga $bga $fg
  20 client.focused_inactive $bga $bga $fg
  21 
  22 # }}}
  23 # Desktop {{{
  24 
  25 bindsym Mod4+Control+r reload
  26 bindsym Mod4+Control+Shift+r restart
  27 bindsym Mod4+Control+Shift+q exit
  28 
  29 bindsym Mod4+Escape $exec lock.sh -pL
  30 bindsym Mod4+Pause $exec systemctl suspend
  31 bindsym Mod4+F1 $exec start.sh i3-binds.sh
  32 
  33 bindsym Mod4+w $exec start.sh windows
  34 bindsym Mod1+Tab $exec i3-window.sh next
  35 bindsym Mod1+Shift+Tab $exec i3-window.sh prev
  36 
  37 bindsym Print $exec scrot
  38 bindsym Mod1+Sys_Req $exec scrot -u
  39 
  40 # }}}
  41 # Workspaces {{{
  42 
  43 bindsym Mod4+Tab workspace next
  44 bindsym Mod4+Shift+Tab workspace prev
  45 
  46 bindsym Mod4+1 workspace 1
  47 bindsym Mod4+2 workspace 2
  48 bindsym Mod4+3 workspace 3
  49 bindsym Mod4+4 workspace 4
  50 bindsym Mod4+5 workspace 5
  51 bindsym Mod4+6 workspace 6
  52 bindsym Mod4+7 workspace 7
  53 bindsym Mod4+8 workspace 8
  54 bindsym Mod4+9 workspace 9
  55 bindsym Mod4+0 workspace 10
  56 
  57 bindsym Mod4+Shift+1 move to workspace 1
  58 bindsym Mod4+Shift+2 move to workspace 2
  59 bindsym Mod4+Shift+3 move to workspace 3
  60 bindsym Mod4+Shift+4 move to workspace 4
  61 bindsym Mod4+Shift+5 move to workspace 5
  62 bindsym Mod4+Shift+6 move to workspace 6
  63 bindsym Mod4+Shift+7 move to workspace 7
  64 bindsym Mod4+Shift+8 move to workspace 8
  65 bindsym Mod4+Shift+9 move to workspace 9
  66 bindsym Mod4+Shift+0 move to workspace 10
  67 
  68 # }}}
  69 # Layouts {{{
  70 
  71 bindsym Mod4+s split v
  72 bindsym Mod4+v split h
  73 
  74 bindsym Mod4+Control+s layout splitv
  75 bindsym Mod4+Control+v layout splith
  76 bindsym Mod4+Control+t layout tabbed
  77 
  78 bindsym Mod4+Control+f floating toggle
  79 bindsym Mod4+Control+g $exec i3-gaps-toggle.sh
  80 
  81 bindsym Mod4+Shift+s layout splitv; move left; resize set 70ppt; split v
  82 
  83 # }}}
  84 # Windows {{{
  85 
  86 floating_modifier Mod4
  87 
  88 bindsym Mod4+q kill
  89 bindsym Mod4+Shift+q [class="__focused__"] kill
  90 bindsym --release button2 kill
  91 
  92 bindsym Mod4+z fullscreen
  93 
  94 bindsym Mod4+Up focus up
  95 bindsym Mod4+Down focus down
  96 bindsym Mod4+Left focus left
  97 bindsym Mod4+Right focus right
  98 
  99 bindsym Mod4+Shift+Up move up
 100 bindsym Mod4+Shift+Down move down
 101 bindsym Mod4+Shift+Left $exec i3-move.sh left
 102 bindsym Mod4+Shift+Right $exec i3-move.sh right
 103 
 104 bindsym Mod4+Control+Up resize grow height 10px or 1ppt
 105 bindsym Mod4+Control+Down resize shrink height 10px or 1ppt
 106 bindsym Mod4+Control+Left resize shrink width 10px or 1ppt
 107 bindsym Mod4+Control+Right resize grow width 10px or 1ppt
 108 
 109 # }}}
 110 # Apps {{{
 111 
 112 $exec autostart.sh
 113 $exec_a pkill -USR1 polybar
 114 $exec_a pkill -USR1 compton
 115 
 116 bindsym Mod4+space $exec start.sh
 117 bindsym Menu $exec start.sh apps
 118 
 119 bindsym Mod4+f $exec start.sh files
 120 bindsym Mod4+b $exec start.sh browser
 121 bindsym Mod4+e $exec start.sh editor
 122 bindsym Mod4+x $exec start.sh terminal
 123 
 124 bindsym Mod4+n $exec start.sh news
 125 bindsym Mod4+m $exec start.sh mail
 126 bindsym Mod4+t $exec start.sh torrents
 127 bindsym Mod4+c $exec start.sh calendar
 128 bindsym Mod4+p $exec start.sh music
 129 
 130 bindsym Mod4+grave $exec start.sh "tmux a -d || tmux new"
 131 
 132 bindsym Mod4+Shift+f $exec exo-open --launch FileManager
 133 bindsym Mod4+Shift+b $exec exo-open --launch WebBrowser
 134 bindsym Mod4+Shift+e $exec vscodium
 135 bindsym Mod4+Shift+x $exec exo-open --launch TerminalEmulator
 136 bindsym Mod4+Shift+t $exec transmission-gtk
 137 bindsym Mod4+Shift+c $exec gnome-calendar
 138 bindsym Mod4+Shift+p $exec audacious
 139 
 140 # }}}
 141 # Rules {{{
 142 
 143 set $fl floating enable
 144 
 145 for_window [window_role="pop-up"] $fl
 146 for_window [window_role="page-info|About|Organizer"] $fl
 147 
 148 for_window [instance="Godot_Editor"] floating disable
 149 for_window [instance="VirtualBox Machine|Godot_Engine"] $fl
 150 for_window [class="mpv|Sxiv|Gpic*|Xviewer|Wine|explorer.exe"] $fl
 151 for_window [class="Xfce4-appfinder|Lxappearance|Pavucontrol|Peek"] $fl sticky enable
 152 
 153 # }}}
 154 
 155 # vim: ft=i3config