diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config | 374 |
1 files changed, 108 insertions, 266 deletions
| @@ -1,68 +1,48 @@ | |||
| 1 | # This file has been auto-generated by i3-config-wizard(1). | ||
| 2 | # It will not be overwritten, so edit it as you like. | ||
| 3 | # | ||
| 4 | # Should you change your keyboard layout some time, delete | ||
| 5 | # this file and re-run i3-config-wizard(1). | ||
| 6 | # | ||
| 7 | |||
| 8 | # i3 config file (v4) | 1 | # i3 config file (v4) |
| 9 | # | 2 | # |
| 10 | # Please see http://i3wm.org/docs/userguide.html for a complete reference! | 3 | # Please see http://i3wm.org/docs/userguide.html for a complete reference! |
| 11 | 4 | ||
| 5 | # load xrdb | ||
| 6 | exec xrdb ~/.Xresources ; i3-msg reload | ||
| 7 | |||
| 8 | # force_xinerama yes | ||
| 12 | # fake-outputs 3840x1080+0+0 | 9 | # fake-outputs 3840x1080+0+0 |
| 13 | set $mod Mod4 | ||
| 14 | 10 | ||
| 15 | # Font for window titles. Will also be used by the bar unless a different font | 11 | # we basically want to configure our font with ~/.config/fontconfig/* |
| 16 | # is used in the bar {} block below | 12 | font pango:FuraCode Nerd Font Mono Retina 9 |
| 17 | # font pango:monospace 12 | 13 | # font pango:Code New Roman Nerd Font 9 |
| 18 | 14 | ||
| 19 | # This font is widely installed, provides lots of unicode glyphs, right-to-left | 15 | hide_edge_borders both |
| 20 | # text rendering and scalability on retina/hidpi displays (thanks to pango). | 16 | |
| 21 | # font pango:Neris SemiBold 10 | 17 | set $mod Mod4 |
| 22 | # font pango:Source Code Pro SemiBold 9 | ||
| 23 | # font pango:Liberation Sans Mono Bold 11 | ||
| 24 | # font pango:DejaVu Sans Bold 9 | ||
| 25 | # font pango:Roboto Nerd Font Bold 8 | ||
| 26 | # font pango:FuraCode Nerd Font Mono Retina 9 | ||
| 27 | # font pango:Monoid Nerd Font Mono Retina 9 | ||
| 28 | # font pango:Hasklug Nerd Font 9 | ||
| 29 | # font pango:Roboto Nerd Font Bold 8 | ||
| 30 | # font pango:3270Narrow Nerd Font 10 | ||
| 31 | # font pango:mplus nerd font 9 | ||
| 32 | # font pango:dejavu sans nerd font 9 | ||
| 33 | # font pango:Anonymice Nerd Font 9 | ||
| 34 | #font pango:Inconsolata Nerd Font 9 | ||
| 35 | font pango:Code New Roman Nerd Font 9 | ||
| 36 | # font pango:ProFont IIx Nerd Font 8 | ||
| 37 | |||
| 38 | |||
| 39 | # Before i3 v4.8, we used to recommend this one as the default: | ||
| 40 | # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 | ||
| 41 | # The font above is very space-efficient, that is, it looks good, sharp and | ||
| 42 | # clear in small sizes. However, its unicode glyph coverage is limited, the old | ||
| 43 | # X core fonts rendering does not support right-to-left and this being a bitmap | ||
| 44 | # font, it doesn’t scale on retina/hidpi displays. | ||
| 45 | 18 | ||
| 46 | # Use Mouse+$mod to drag floating windows to their wanted position | 19 | # Use Mouse+$mod to drag floating windows to their wanted position |
| 47 | floating_modifier $mod | 20 | floating_modifier $mod |
| 48 | # force_xinerama yes | ||
| 49 | 21 | ||
| 50 | # start a terminal | 22 | # start a terminal |
| 51 | # bindsym $mod+Return exec i3-sensible-terminal | 23 | # bindsym $mod+Return exec i3-sensible-terminal |
| 52 | bindsym $mod+Return exec --no-startup-id xfce4-appfinder | 24 | bindsym $mod+Return exec --no-startup-id xfce4-appfinder |
| 53 | bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff | 25 | bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff |
| 54 | bindsym $mod+t exec --no-startup-id xfce4-terminal | 26 | bindsym $mod+t exec --no-startup-id xfce4-terminal |
| 55 | # bindsym $mod+t exec termite | 27 | # bindsym $mod+t exec termite |
| 56 | # bindsym $mod+t exec urxvt | 28 | # bindsym $mod+t exec urxvt |
| 57 | bindsym $mod+e exec --no-startup-id thunar | 29 | bindsym $mod+e exec --no-startup-id thunar |
| 58 | bindsym $mod+l exec --no-startup-id ~/.local/bin/i3lock -f -i "/home/max/.local/share/backgrounds/IMG_5656 - IMG_5684-02.png" | 30 | bindsym $mod+l exec --no-startup-id ~/.local/bin/i3lock -f -i "/home/max/.local/share/backgrounds/IMG_5656 - IMG_5684-02.png" |
| 59 | bindsym $mod+F10 exec pactl set-sink-mute 0 toggle | 31 | |
| 60 | bindsym $mod+F11 exec pactl set-sink-volume 0 -5% | 32 | bindsym $mod+F10 exec pactl set-sink-mute 0 toggle |
| 61 | bindsym $mod+F12 exec pactl set-sink-volume 0 +5% | 33 | bindsym $mod+F11 exec pactl set-sink-volume 0 -5% |
| 34 | bindsym $mod+F12 exec pactl set-sink-volume 0 +5% | ||
| 35 | |||
| 36 | # Pulse Audio controls | ||
| 37 | bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5% # increase sound volume | ||
| 38 | bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% # decrease sound volume | ||
| 39 | bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle # mute sound | ||
| 40 | |||
| 41 | bindcode 156 exec xrandr --output LVDS-1 --mode 1024x768 && xrandr --output LVDS-1 --mode 1280x800 | ||
| 62 | 42 | ||
| 63 | # kill focused window | 43 | # kill focused window |
| 64 | bindsym $mod+Shift+q kill | 44 | bindsym $mod+Shift+q kill |
| 65 | bindsym Mod1+F4 kill | 45 | bindsym Mod1+F4 kill |
| 66 | 46 | ||
| 67 | # start dmenu (a program launcher) | 47 | # start dmenu (a program launcher) |
| 68 | # bindsym $mod+d exec dmenu_run | 48 | # bindsym $mod+d exec dmenu_run |
| @@ -73,25 +53,22 @@ bindsym $mod+d exec --no-startup-id i3-dmenu-desktop | |||
| 73 | # bindsym $mod+d exec --no-startup-id j4-dmenu-desktop | 53 | # bindsym $mod+d exec --no-startup-id j4-dmenu-desktop |
| 74 | 54 | ||
| 75 | 55 | ||
| 56 | bindsym $mod+Prior focus parent | ||
| 57 | bindsym $mod+Next focus child | ||
| 58 | bindsym $mod+Left [workspace="__focused__"] focus left | ||
| 59 | bindsym $mod+Right [workspace="__focused__"] focus right | ||
| 60 | bindsym $mod+Down [workspace="__focused__"] focus down | ||
| 61 | bindsym $mod+Up [workspace="__focused__"] focus up | ||
| 62 | bindsym $mod+Tab focus output right | ||
| 63 | bindsym $mod+Shift+Tab focus output left | ||
| 64 | bindsym mod1+Tab focus right | ||
| 65 | bindsym mod1+Shift+Tab focus left | ||
| 76 | 66 | ||
| 77 | # alternatively, you can use the cursor keys: | 67 | # alternatively, you can use the cursor keys: |
| 78 | # exec pkill -SIGRTMIN+11 i3blocks | 68 | bindsym $mod+Shift+Left move left ; exec pkill -SIGRTMIN+11 i3blocks |
| 79 | bindsym $mod+Left focus left | 69 | bindsym $mod+Shift+Down move down ; exec pkill -SIGRTMIN+11 i3blocks |
| 80 | bindsym $mod+Right focus right | 70 | bindsym $mod+Shift+Up move up ; exec pkill -SIGRTMIN+11 i3blocks |
| 81 | bindsym $mod+Down focus down | 71 | bindsym $mod+Shift+Right move right ; exec pkill -SIGRTMIN+11 i3blocks |
| 82 | bindsym $mod+Up focus up | ||
| 83 | |||
| 84 | bindsym $mod+Tab focus output right | ||
| 85 | bindsym $mod+Shift+Tab focus output left | ||
| 86 | bindsym mod1+Tab focus right | ||
| 87 | bindsym mod1+Shift+Tab focus left | ||
| 88 | |||
| 89 | |||
| 90 | # alternatively, you can use the cursor keys: | ||
| 91 | bindsym $mod+Shift+Left move left ; exec pkill -SIGRTMIN+11 i3blocks | ||
| 92 | bindsym $mod+Shift+Down move down ; exec pkill -SIGRTMIN+11 i3blocks | ||
| 93 | bindsym $mod+Shift+Up move up ; exec pkill -SIGRTMIN+11 i3blocks | ||
| 94 | bindsym $mod+Shift+Right move right ; exec pkill -SIGRTMIN+11 i3blocks | ||
| 95 | 72 | ||
| 96 | # split in horizontal orientation | 73 | # split in horizontal orientation |
| 97 | # bindsym $mod+h split h | 74 | # bindsym $mod+h split h |
| @@ -136,6 +113,7 @@ set $WS8 8:❽ | |||
| 136 | set $WS9 9:❾ | 113 | set $WS9 9:❾ |
| 137 | set $WS10 10:⓿ | 114 | set $WS10 10:⓿ |
| 138 | 115 | ||
| 116 | assign [class="^Thunderbird$"] → $WS10 | ||
| 139 | 117 | ||
| 140 | # switch to workspace | 118 | # switch to workspace |
| 141 | bindsym Mod4+1 workspace $WS1 | 119 | bindsym Mod4+1 workspace $WS1 |
| @@ -161,36 +139,6 @@ bindsym Mod4+Shift+8 move container to workspace $WS8 | |||
| 161 | bindsym Mod4+Shift+9 move container to workspace $WS9 | 139 | bindsym Mod4+Shift+9 move container to workspace $WS9 |
| 162 | bindsym Mod4+Shift+0 move container to workspace $WS10 | 140 | bindsym Mod4+Shift+0 move container to workspace $WS10 |
| 163 | 141 | ||
| 164 | |||
| 165 | # # switch to workspace | ||
| 166 | # bindsym $mod+1 workspace number 1 | ||
| 167 | # bindsym $mod+2 workspace number 2 | ||
| 168 | # bindsym $mod+3 workspace number 3 | ||
| 169 | # bindsym $mod+4 workspace number 4 | ||
| 170 | # bindsym $mod+5 workspace number 5 | ||
| 171 | # bindsym $mod+6 workspace number 6 | ||
| 172 | # bindsym $mod+7 workspace number 7 | ||
| 173 | # bindsym $mod+8 workspace number 8 | ||
| 174 | # bindsym $mod+9 workspace number 9 | ||
| 175 | # bindsym $mod+0 workspace number 0 | ||
| 176 | # # | ||
| 177 | # # # move focused container to workspace | ||
| 178 | # bindsym $mod+Shift+1 move container to workspace number 1 | ||
| 179 | # bindsym $mod+Shift+2 move container to workspace number 2 | ||
| 180 | # bindsym $mod+Shift+3 move container to workspace number 3 | ||
| 181 | # bindsym $mod+Shift+4 move container to workspace number 4 | ||
| 182 | # bindsym $mod+Shift+5 move container to workspace number 5 | ||
| 183 | # bindsym $mod+Shift+6 move container to workspace number 6 | ||
| 184 | # bindsym $mod+Shift+7 move container to workspace number 7 | ||
| 185 | # bindsym $mod+Shift+8 move container to workspace number 8 | ||
| 186 | # bindsym $mod+Shift+9 move container to workspace number 9 | ||
| 187 | # bindsym $mod+Shift+0 move container to workspace number 0 | ||
| 188 | |||
| 189 | # Pulse Audio controls | ||
| 190 | bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume | ||
| 191 | bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume | ||
| 192 | bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound | ||
| 193 | |||
| 194 | workspace 1 output DP-1 | 142 | workspace 1 output DP-1 |
| 195 | workspace 2 output DP-1 | 143 | workspace 2 output DP-1 |
| 196 | workspace 3 output DP-1 | 144 | workspace 3 output DP-1 |
| @@ -202,7 +150,6 @@ workspace 8 output HDMI-1 | |||
| 202 | workspace "music" output HDMI-1 | 150 | workspace "music" output HDMI-1 |
| 203 | workspace "background" output HDMI-1 | 151 | workspace "background" output HDMI-1 |
| 204 | 152 | ||
| 205 | |||
| 206 | # reload the configuration file | 153 | # reload the configuration file |
| 207 | bindsym $mod+Shift+c reload | 154 | bindsym $mod+Shift+c reload |
| 208 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) | 155 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) |
| @@ -214,96 +161,12 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu | |||
| 214 | bindsym $mod+m move scratchpad | 161 | bindsym $mod+m move scratchpad |
| 215 | bindsym $mod+Shift+m scratchpad show ; resize set 1920 920 ; move position center | 162 | bindsym $mod+Shift+m scratchpad show ; resize set 1920 920 ; move position center |
| 216 | 163 | ||
| 217 | # for_window [class="^.*"] border normal 3 | ||
| 218 | # for_window [title="^.*Thunderbird"] border pixel 0 | ||
| 219 | # for_window [title="^.*Chromium"] border pixel 0 | ||
| 220 | # for_window [class="Gvim"] border pixel 0 | ||
| 221 | # for_window [class="(?i)xfce4-terminal"] border pixel 0 | ||
| 222 | # for_window [class="(?i)xfce4-appfinder"] border pixel 0 | ||
| 223 | # # for_window [title="^.*\|"] border pixel 4 | ||
| 224 | # for_window [title="^HexChat.*"] border pixel 0 | ||
| 225 | # for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks | ||
| 226 | # for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks | ||
| 227 | # for_window [title="cairo-dock"] floating enable ; border none | ||
| 228 | # for_window[class="Plank"] floating enable,move absolute center | ||
| 229 | |||
| 230 | # for_window [class=".*"] title_format "┋ %title" | ||
| 231 | |||
| 232 | # for_window [con_id="__focused__"] title_format "<u>%title</u>" | ||
| 233 | hide_edge_borders both | ||
| 234 | # smart_borders on | ||
| 235 | # gaps inner 5 | ||
| 236 | # gaps outer 5 | ||
| 237 | |||
| 238 | bindsym $mod+r mode "resize" | ||
| 239 | |||
| 240 | # # Start i3bar to display a workspace bar (plus the system information i3status | ||
| 241 | # # finds out, if available) | ||
| 242 | # bar { | ||
| 243 | # status_command i3status --config ~/.config/i3/i3status.conf | ||
| 244 | # # status_command i3blocks | ||
| 245 | # colors { | ||
| 246 | # # background #2a3448 | ||
| 247 | # # statusline #ffffff | ||
| 248 | # background #ffffff | ||
| 249 | # statusline #6060af | ||
| 250 | # focused_workspace #6060af #ffffff #6060af | ||
| 251 | # active_workspace #6060af #ffffff #888888 | ||
| 252 | # inactive_workspace #ffffff #ffffff #888888 | ||
| 253 | # urgent_workspace #2f343a #900000 #ffffff | ||
| 254 | # binding_mode #2f343a #900000 #ffffff | ||
| 255 | # } | ||
| 256 | # # tray_output VGA1 | ||
| 257 | # # output HDMI1 | ||
| 258 | # # tray_output HDMI1 | ||
| 259 | # tray_padding 2 | ||
| 260 | # #font pango:DejaVu Sans Mono 11 | ||
| 261 | # #font pango:DejaVu Sans Mono 11 | ||
| 262 | # #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 | ||
| 263 | # # font pango:DejaVu Sans Mono, Icons 8 | ||
| 264 | # # font pango:DejaVu Sans Mono, Awesome 8 | ||
| 265 | # # separator_symbol "┋" | ||
| 266 | # separator_symbol "│" | ||
| 267 | # position bottom | ||
| 268 | # # output VGA1 | ||
| 269 | # binding_mode_indicator yes | ||
| 270 | # # strip_workspace_numbers yes | ||
| 271 | # } | ||
| 272 | |||
| 273 | |||
| 274 | # client.focused #ffffff #061229 #ffffff #5299BF #ffffff | ||
| 275 | # client.unfocused #000000 #061229 #ffffff #ff0000 #000000 | ||
| 276 | #colors: border backgr. text indicator | ||
| 277 | |||
| 278 | client.focused #ffffff #000000 #ffffff #ffff00 | ||
| 279 | client.focused_inactive #ffffff #000000 #888888 #ffff00 | ||
| 280 | client.unfocused #ffffff #000000 #444444 #ffff00 | ||
| 281 | client.urgent #2a3448 #900000 #5299bf #ffff00 | ||
| 282 | client.background #000000 #000000 #0000ff #ffff00 | ||
| 283 | 164 | ||
| 284 | 165 | ||
| 285 | bindsym $mod+F2 exec i3-input -F 'rename workspace to "%s"' -P 'New name: ' | 166 | bindsym $mod+F2 exec i3-input -F 'rename workspace to "%s"' -P 'New name: ' |
| 286 | bindsym Control+Mod1+Left workspace prev_on_output | 167 | bindsym Control+Mod1+Left workspace prev_on_output |
| 287 | bindsym Control+Mod1+Right workspace next_on_output | 168 | bindsym Control+Mod1+Right workspace next_on_output |
| 288 | 169 | ||
| 289 | # change focus | ||
| 290 | # bindsym $mod+j focus left | ||
| 291 | # bindsym $mod+k focus down | ||
| 292 | # bindsym $mod+l focus up | ||
| 293 | # bindsym $mod+semicolon focus right | ||
| 294 | # | ||
| 295 | # move focused window | ||
| 296 | # bindsym $mod+Shift+j move left | ||
| 297 | # bindsym $mod+Shift+k move down | ||
| 298 | # bindsym $mod+Shift+l move up | ||
| 299 | # bindsym $mod+Shift+semicolon move right | ||
| 300 | |||
| 301 | # change focus | ||
| 302 | # bindsym $mod+h focus left ; exec killall -USR1 i3status | ||
| 303 | # bindsym $mod+j focus down ; exec killall -USR1 i3status | ||
| 304 | # bindsym $mod+k focus up ; exec killall -USR1 i3status | ||
| 305 | # bindsym $mod+l focus right ; exec killall -USR1 i3status | ||
| 306 | |||
| 307 | # move focused window | 170 | # move focused window |
| 308 | bindsym $mod+Shift+h move left | 171 | bindsym $mod+Shift+h move left |
| 309 | bindsym $mod+Shift+j move down | 172 | bindsym $mod+Shift+j move down |
| @@ -319,79 +182,55 @@ bindsym $mod+v split toggle | |||
| 319 | bindsym $mod+space split toggle | 182 | bindsym $mod+space split toggle |
| 320 | 183 | ||
| 321 | 184 | ||
| 185 | |||
| 186 | bindsym $mod+r mode "resize" | ||
| 322 | # resize window (you can also use the mouse for that) | 187 | # resize window (you can also use the mouse for that) |
| 323 | mode "resize" { | 188 | mode "resize" { |
| 324 | # These bindings trigger as soon as you enter the resize mode | 189 | # These bindings trigger as soon as you enter the resize mode |
| 325 | 190 | ||
| 326 | # Pressing left will shrink the window’s width. | 191 | # Pressing left will shrink the window’s width. |
| 327 | # Pressing right will grow the window’s width. | 192 | # Pressing right will grow the window’s width. |
| 328 | # Pressing up will shrink the window’s height. | 193 | # Pressing up will shrink the window’s height. |
| 329 | # Pressing down will grow the window’s height. | 194 | # Pressing down will grow the window’s height. |
| 330 | bindsym $mod+h resize shrink width 4 px or 4 ppt | 195 | bindsym $mod+h resize shrink width 4 px or 4 ppt |
| 331 | bindsym $mod+j resize grow height 4 px or 4 ppt | 196 | bindsym $mod+j resize grow height 4 px or 4 ppt |
| 332 | bindsym $mod+k resize shrink height 4 px or 4 ppt | 197 | bindsym $mod+k resize shrink height 4 px or 4 ppt |
| 333 | bindsym $mod+l resize grow width 4 px or 4 ppt | 198 | bindsym $mod+l resize grow width 4 px or 4 ppt |
| 334 | 199 | ||
| 335 | # same bindings, but for the arrow keys | 200 | # same bindings, but for the arrow keys |
| 336 | bindsym Left resize shrink width 4 px or 4 ppt | 201 | bindsym Left resize shrink width 4 px or 4 ppt |
| 337 | bindsym Up resize grow height 4 px or 4 ppt | 202 | bindsym Up resize grow height 4 px or 4 ppt |
| 338 | bindsym Down resize shrink height 4 px or 4 ppt | 203 | bindsym Down resize shrink height 4 px or 4 ppt |
| 339 | bindsym Right resize grow width 4 px or 4 ppt | 204 | bindsym Right resize grow width 4 px or 4 ppt |
| 340 | 205 | ||
| 341 | # back to normal: Enter or Escape | 206 | # back to normal: Enter or Escape |
| 342 | bindsym Return mode "default" | 207 | bindsym Return mode "default" |
| 343 | bindsym Escape mode "default" | 208 | bindsym Escape mode "default" |
| 344 | } | 209 | } |
| 345 | 210 | ||
| 346 | 211 | ||
| 347 | 212 | ||
| 348 | 213 | ||
| 349 | 214 | ||
| 350 | assign [class="^Thunderbird$"] → background | ||
| 351 | |||
| 352 | 215 | ||
| 353 | |||
| 354 | |||
| 355 | # exec --no-startup-id /usr/lib/gnome-settings-daemon/gnome-settings-daemon | ||
| 356 | exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=secrets | ||
| 357 | exec dbus-launch gnome-settings-daemon | ||
| 358 | exec dbus-launch nm-applet | ||
| 359 | |||
| 360 | # exec xrandr --output HDMI1 --fb 3270x1080 --scale 1.05468x1.05468 | ||
| 361 | # exec xrandr --output HDMI1 --fb 3270x1080 --right-of VGA1 --panning 1350x1080+1920+0 --scale 1.05468x1.05468 | ||
| 362 | exec xrandr --output HDMI-1 --right-of DP-1 | 216 | exec xrandr --output HDMI-1 --right-of DP-1 |
| 363 | # exec /usr/bin/xrandr-reset.sh | ||
| 364 | |||
| 365 | # start compositor... | ||
| 366 | exec --no-startup-id dbus-launch nitrogen --restore | ||
| 367 | exec --no-startup-id dbus-launch compton -b --config ~/.config/i3/compton.conf | ||
| 368 | exec --no-startup-id dbus-launch setsid udiskie -2 -s | ||
| 369 | exec --no-startup-id dbus-launch setsid pidgin | ||
| 370 | # exec --no-startup-id dbus-launch setsid hexchat | ||
| 371 | # exec --no-startup-id dbus-launch nextcloud | ||
| 372 | # exec --no-startup-id /usr/lib/gnome-settings-daemon/gnome-settings-daemon | ||
| 373 | exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=secrets | ||
| 374 | |||
| 375 | # exec xrandr --output HDMI1 --fb 3270x1080 --scale 1.05468x1.05468 | ||
| 376 | # exec xrandr --output HDMI1 --fb 3270x1080 --right-of VGA1 --panning 1350x1080+1920+0 --scale 1.05468x1.05468 | ||
| 377 | # exec xrandr --output DVI-D-1-0 --right-of VGA-1 | ||
| 378 | # exec xrandr --output DVI-D-1-0 --auto --right-of VGA-1 | ||
| 379 | # exec /usr/bin/xrandr-reset.sh | ||
| 380 | # exec xrandr --auto --output HDMI-1-1 --right-of DVI-I-2 | ||
| 381 | exec xrandr --output HDMI-1 --right-of VGA-1 | 217 | exec xrandr --output HDMI-1 --right-of VGA-1 |
| 218 | # exec /usr/bin/xrandr-reset.sh | ||
| 219 | exec setxkbmap -option caps:escape | ||
| 220 | exec xset r rate 330 40 | ||
| 221 | exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1 | ||
| 382 | 222 | ||
| 223 | exec gnome-keyring-daemon --start --components=secrets | ||
| 383 | # start compositor... | 224 | # start compositor... |
| 384 | exec nitrogen --restore | ||
| 385 | exec compton -b --config ~/.config/i3/compton.conf | 225 | exec compton -b --config ~/.config/i3/compton.conf |
| 386 | # exec dbus-launch setsid udiskie -2 -s | 226 | exec nitrogen --restore |
| 387 | exec setsid hexchat --minimize=2 | 227 | exec nm-applet |
| 228 | |||
| 388 | 229 | ||
| 389 | 230 | ||
| 390 | 231 | ||
| 391 | exec setxkbmap -option caps:escape | ||
| 392 | exec xset r rate 330 40 | ||
| 393 | exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1 | ||
| 394 | 232 | ||
| 233 | exec setsid dbus-launch hexchat --minimize=2 | ||
| 395 | 234 | ||
| 396 | 235 | ||
| 397 | # ============================================== | 236 | # ============================================== |
| @@ -399,9 +238,6 @@ exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1 | |||
| 399 | # with default values from base16-tomorrow-night | 238 | # with default values from base16-tomorrow-night |
| 400 | # ============================================== | 239 | # ============================================== |
| 401 | 240 | ||
| 402 | # load xrdb | ||
| 403 | exec xrdb ~/.Xresources | ||
| 404 | |||
| 405 | # main variables variable Xressource default | 241 | # main variables variable Xressource default |
| 406 | set_from_resource $base00 base16.color0 #1d1f21 | 242 | set_from_resource $base00 base16.color0 #1d1f21 |
| 407 | set_from_resource $base01 base16.color10 #282a2e | 243 | set_from_resource $base01 base16.color10 #282a2e |
| @@ -420,15 +256,14 @@ set_from_resource $base0D base16.color4 #81a2be | |||
| 420 | set_from_resource $base0E base16.color5 #b294bb | 256 | set_from_resource $base0E base16.color5 #b294bb |
| 421 | set_from_resource $base0F base16.color14 #a3685a | 257 | set_from_resource $base0F base16.color14 #a3685a |
| 422 | # derived vars... variable Xressource default | 258 | # derived vars... variable Xressource default |
| 423 | set_from_resource $background base16.background $base00 | 259 | set_from_resource $background base16.background $background |
| 424 | set_from_resource $foreground base16.foreground $base05 | 260 | set_from_resource $foreground base16.color13 $base05 |
| 425 | set_from_resource $foreground base16.cursor $base05 | 261 | set_from_resource $foreground base16.cursor $cursorColor |
| 262 | # set_from_resource $foreground base16.cursor $base05 | ||
| 426 | 263 | ||
| 427 | # Basic bar configuration using the Base16 variables. | 264 | # Basic bar configuration using the Base16 variables. |
| 428 | bar { | 265 | bar { |
| 429 | # status_command i3status | ||
| 430 | # status_command i3status --config ~/.config/i3/i3status.conf | 266 | # status_command i3status --config ~/.config/i3/i3status.conf |
| 431 | # status_command conky -c ~/.config/i3/conki3rc | ||
| 432 | status_command /home/max/src/i3status/i3status --config ~/.config/i3/i3status.conf | 267 | status_command /home/max/src/i3status/i3status --config ~/.config/i3/i3status.conf |
| 433 | 268 | ||
| 434 | tray_padding 2 | 269 | tray_padding 2 |
| @@ -437,35 +272,42 @@ bar { | |||
| 437 | separator_symbol "│" | 272 | separator_symbol "│" |
| 438 | 273 | ||
| 439 | colors { | 274 | colors { |
| 440 | background $background | 275 | background $base00 |
| 441 | separator $base01 | 276 | separator $base05 |
| 442 | statusline $base04 | 277 | statusline $base05 |
| 443 | |||
| 444 | # Border Bg Text | ||
| 445 | # focused_workspace $base05 $base0D $base00 | ||
| 446 | # active_workspace $base05 $base03 $base00 | ||
| 447 | # inactive_workspace $base03 $base01 $base05 | ||
| 448 | # urgent_workspace $base08 $base08 $base00 | ||
| 449 | # binding_mode $base00 $base0A $base00 | ||
| 450 | 278 | ||
| 451 | focused_workspace $background $background $base05 | 279 | focused_workspace $background $background $base05 |
| 452 | active_workspace $background $background $base05 | 280 | active_workspace $background $background $base05 |
| 453 | inactive_workspace $background $background $base03 | 281 | inactive_workspace $background $background $base03 |
| 454 | urgent_workspace $background $background $base08 | 282 | urgent_workspace $background $background $base08 |
| 455 | binding_mode $background $background $base00 | 283 | binding_mode $background $background $base00 |
| 456 | } | 284 | } |
| 457 | } | 285 | } |
| 458 | 286 | ||
| 459 | # Basic color configuration using the Base16 variables for windows and borders. | 287 | # Basic color configuration using the Base16 variables for windows and borders. |
| 460 | # Property Name Border BG Text Indicator Child Border | 288 | # Property Name Border BG Text Indicator Child Border |
| 461 | client.focused $base05 $base0D $base00 $base0D $base0D | 289 | client.focused $base05 $base0D $base00 $base0D $base0D |
| 462 | client.focused_inactive $base01 $base01 $base05 $base03 $base01 | 290 | client.focused_inactive $base01 $base01 $base05 $base03 $base01 |
| 463 | client.unfocused $base01 $base00 $base05 $base01 $base01 | 291 | client.unfocused $base01 $base00 $base05 $base01 $base01 |
| 464 | client.urgent $base08 $base08 $base00 $base08 $base08 | 292 | client.urgent $base08 $base08 $base00 $base08 $base08 |
| 465 | client.placeholder $base00 $base00 $base05 $base00 $base00 | 293 | client.placeholder $base00 $base00 $base05 $base00 $base00 |
| 466 | client.background $base07 | 294 | client.background $background |
| 467 | 295 | ||
| 468 | 296 | ||
| 297 | # for_window [class="^.*"] border normal 3 | ||
| 298 | # for_window [title="^.*Thunderbird"] border pixel 0 | ||
| 299 | # for_window [title="^.*Chromium"] border pixel 0 | ||
| 300 | # for_window [class="Gvim"] border pixel 0 | ||
| 301 | # for_window [class="(?i)xfce4-terminal"] border pixel 0 | ||
| 302 | # for_window [class="(?i)xfce4-appfinder"] border pixel 0 | ||
| 303 | # # for_window [title="^.*\|"] border pixel 4 | ||
| 304 | # for_window [title="^HexChat.*"] border pixel 0 | ||
| 305 | # for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks | ||
| 306 | # for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks | ||
| 307 | # for_window [title="cairo-dock"] floating enable ; border none | ||
| 308 | # for_window[class="Plank"] floating enable,move absolute center | ||
| 309 | # for_window [class=".*"] title_format "┋ %title" | ||
| 310 | # for_window [con_id="__focused__"] title_format "<u>%title</u>" | ||
| 469 | 311 | ||
| 470 | 312 | ||
| 471 | # vim: iskeyword+=\$,\-,\# nospell | 313 | # vim: iskeyword+=\$,\-,\# nospell ft=tcl |
