config/i3/config

   1 title_align center
   2 font pango:Terminus 8
   3 
   4 smart_borders on
   5 default_border normal 0
   6 
   7 gaps inner 30
   8 gaps horizontal 300
   9 smart_gaps inverse_outer
  10 
  11 set $exec exec --no-startup-id
  12 set $start exec --no-startup-id start
  13 set $notify exec --no-startup-id status -n
  14 set $always exec_always --no-startup-id
  15 
  16 # Colors {{{
  17 
  18 set_from_resource $bg bg #000000
  19 set_from_resource $bga bgA #000000aa
  20 set_from_resource $fg fg #eeeeee
  21 set_from_resource $ug color12 #ffffff
  22 
  23 client.focused $fg $fg $bg
  24 client.unfocused $bga $bga $fg
  25 client.focused_inactive $bga $bga $fg
  26 client.urgent $ug $ug $bg
  27 
  28 # }}}
  29 # Desktop {{{
  30 
  31 bindsym Mod4+Control+r reload
  32 bindsym Mod4+Control+Shift+R restart
  33 bindsym Mod4+Control+Shift+Q exit
  34 
  35 bindsym Mod4+Escape $exec dm-tool lock
  36 bindsym Mod4+Pause $exec systemctl suspend
  37 
  38 bindsym Mod4+w $start windows
  39 bindsym Mod4+F1 $start i3-binds
  40 
  41 bindsym Print $exec gnome-screenshot -f "$(date +'%F_%T').png"
  42 bindsym Mod1+Sys_Req $exec gnome-screenshot -wf "$(date +'%F_%T').png"
  43 bindsym Shift+Print $exec gnome-screenshot -af "$(date +'%F_%T').png"
  44 bindsym Control+Print $exec gnome-screenshot -i
  45 
  46 bindsym Mod4+KP_Add $exec pactl set-sink-volume @DEFAULT_SINK@ +4%
  47 bindsym Mod4+KP_Subtract $exec pactl set-sink-volume @DEFAULT_SINK@ -4%
  48 bindsym Mod4+KP_Enter $exec pactl set-sink-mute @DEFAULT_SINK@ toggle
  49 
  50 # }}}
  51 # Workspaces {{{
  52 
  53 bindsym Mod4+Tab workspace next
  54 bindsym Mod4+Shift+Tab workspace prev
  55 
  56 bindsym Mod4+1 workspace 1
  57 bindsym Mod4+2 workspace 2
  58 bindsym Mod4+3 workspace 3
  59 bindsym Mod4+4 workspace 4
  60 bindsym Mod4+5 workspace 5
  61 bindsym Mod4+6 workspace 6
  62 bindsym Mod4+7 workspace 7
  63 bindsym Mod4+8 workspace 8
  64 bindsym Mod4+9 workspace 9
  65 bindsym Mod4+0 workspace 10
  66 
  67 bindsym Mod4+Shift+1 move to workspace 1
  68 bindsym Mod4+Shift+2 move to workspace 2
  69 bindsym Mod4+Shift+3 move to workspace 3
  70 bindsym Mod4+Shift+4 move to workspace 4
  71 bindsym Mod4+Shift+5 move to workspace 5
  72 bindsym Mod4+Shift+6 move to workspace 6
  73 bindsym Mod4+Shift+7 move to workspace 7
  74 bindsym Mod4+Shift+8 move to workspace 8
  75 bindsym Mod4+Shift+9 move to workspace 9
  76 bindsym Mod4+Shift+0 move to workspace 10
  77 
  78 # }}}
  79 # Layouts {{{
  80 
  81 bindsym Mod4+s split v
  82 bindsym Mod4+v split h
  83 
  84 bindsym Mod4+Control+s layout splitv
  85 bindsym Mod4+Control+v layout splith
  86 bindsym Mod4+Control+t layout tabbed
  87 
  88 bindsym Mod4+Control+f floating toggle
  89 bindsym Mod4+Control+g gaps inner current toggle 30; gaps horizontal current toggle 300
  90 
  91 bindsym Mod4+Shift+S layout splitv; move left; resize set 60ppt; split v
  92 
  93 bindsym Mod4+Control+a focus parent
  94 bindsym Mod4+Control+Shift+A focus child
  95 
  96 # }}}
  97 # Windows {{{
  98 
  99 floating_modifier Mod4
 100 
 101 bindsym Mod4+q kill
 102 bindsym Mod4+Shift+Q [class="__focused__"] kill
 103 bindsym --release button2 kill
 104 
 105 bindsym Mod4+Control+z fullscreen
 106 bindsym Mod4+Return $exec i3-swap
 107 
 108 bindsym Mod1+Tab $exec i3-focus next
 109 bindsym Mod1+Shift+Tab $exec i3-focus prev
 110 
 111 bindsym Mod4+Up focus up
 112 bindsym Mod4+Down focus down
 113 bindsym Mod4+Left focus left
 114 bindsym Mod4+Right focus right
 115 
 116 bindsym Mod4+Shift+Up move up 50px
 117 bindsym Mod4+Shift+Down move down 50px
 118 bindsym Mod4+Shift+Left $exec i3-move left 50px
 119 bindsym Mod4+Shift+Right $exec i3-move right 50px
 120 
 121 bindsym Mod4+Control+Up $exec i3-resize up 20
 122 bindsym Mod4+Control+Down $exec i3-resize down 20
 123 bindsym Mod4+Control+Left $exec i3-resize left 20
 124 bindsym Mod4+Control+Right $exec i3-resize right 20
 125 
 126 # }}}
 127 # Apps {{{
 128 
 129 $always i3-watch
 130 $always pkill -USR1 polybar
 131 $always pkill -USR1 compton
 132 
 133 bindsym Mod4+space $start
 134 bindsym Menu $start apps
 135 
 136 bindsym Mod4+f $start files
 137 bindsym Mod4+b $start browser
 138 bindsym Mod4+e $start editor
 139 bindsym Mod4+x $start terminal
 140 
 141 bindsym Mod4+m $start mail
 142 bindsym Mod4+n $start news
 143 bindsym Mod4+t $start torrents
 144 bindsym Mod4+c $start calendar
 145 bindsym Mod4+p $start music
 146 
 147 bindsym Mod4+grave $exec xfce4-terminal --drop-down
 148 
 149 bindsym Mod4+Shift+F $exec exo-open --launch FileManager
 150 bindsym Mod4+Shift+B $exec exo-open --launch WebBrowser
 151 bindsym Mod4+Shift+E $exec vscodium
 152 bindsym Mod4+Shift+X $exec exo-open --launch TerminalEmulator
 153 bindsym Mod4+Shift+T $exec transmission-gtk
 154 bindsym Mod4+Shift+C $exec gnome-calendar
 155 bindsym Mod4+Shift+P $exec audacious
 156 
 157 # }}}
 158 # Notify {{{
 159 
 160 bindsym Mod4+Mod1+m $notify mail
 161 bindsym Mod4+Mod1+n $notify news
 162 bindsym Mod4+Mod1+t $notify torrents
 163 bindsym Mod4+Mod1+p $notify music
 164 
 165 bindsym Mod4+Mod1+d $notify days
 166 bindsym Mod4+Mod1+w $notify weather
 167 bindsym Mod4+Mod1+v $notify volume
 168 bindsym Mod4+Mod1+e $notify network
 169 bindsym Mod4+Mod1+b $notify battery
 170 bindsym Mod4+Mod1+r $notify redshift
 171 
 172 # }}}
 173 # Rules {{{
 174 
 175 set $fl floating enable
 176 
 177 for_window [window_role="pop-up"] $fl
 178 for_window [window_role="page-info|About|Organizer"] $fl
 179 
 180 for_window [class="Wine"] $fl
 181 for_window [instance="VirtualBox Machine"] $fl
 182 
 183 # }}}
 184 
 185 # vim: ft=i3config