diff options
Diffstat (limited to '.config/i3/config')
| -rw-r--r-- | .config/i3/config | 55 |
1 files changed, 32 insertions, 23 deletions
diff --git a/.config/i3/config b/.config/i3/config index 4ca37a3..6c11beb 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -13,7 +13,7 @@ set $mod Mod1 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. -font pango:DeJa Vu Sans Mono 10 +font pango:DeJa Vu Sans Mono 8 # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). @@ -49,10 +49,10 @@ bindsym $mod+k focus up bindsym $mod+l focus right # alternatively, you can use the cursor keys: -#bindsym $mod+Left focus left -#bindsym $mod+Down focus down -#bindsym $mod+Up focus up -#bindsym $mod+Right focus right +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right # move focused window bindsym $mod+Shift+h move left @@ -61,10 +61,10 @@ bindsym $mod+Shift+k move up bindsym $mod+Shift+l move right # alternatively, you can use the cursor keys: -#bindsym $mod+Shift+Left move left -#bindsym $mod+Shift+Down move down -#bindsym $mod+Shift+Up move up -#bindsym $mod+Shift+Right move right +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right # split in horizontal orientation #bindsym $mod+Shift+v split h @@ -168,9 +168,9 @@ bindsym $mod+r mode "resize" # colors # class border bground text indicator child_border -client.focused #000000 #125906 #FFFFFF #125906 #06770E -client.focused_inactive #333333 #5F676A #FFFFFF #484E50 #5F676A -client.unfocused #333333 #222222 #888888 #292D2E #222222 +client.focused #000000 #F1EBEB #FFFFFF #F1EBEB #76715e +client.focused_inactive #333333 #5F676A #FFFFFF #484E50 #48483e +client.unfocused #333333 #222222 #888888 #292D2E #272822 client.urgent #2F343A #41DD18 #FFFFFF #39F923 #25FF03 client.placeholder #000000 #0C0C0C #FFFFFF #000000 #0C0C0C @@ -179,9 +179,9 @@ client.background #FFFFFF # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { - status_command i3blocks #i3status # | python ~/.config/i3status/wrapper.py + status_command i3blocks #i3status # | python ~/.config/i3status/wrapper.py position top - font pango:DejaVu Sans Mono 13 + font pango:icons 9 colors { background #292929 statusline #FFFFFF @@ -191,26 +191,26 @@ bar { active_workspace #333333 #222222 #FFFFFF inactive_workspace #666666 #292929 #888888 urgent_workspace #2F343A #00FFFF #292929 - binding_mode #00FFFF #292929 #FFFFFF + binding_mode #00FFFF #292929 #FFFFFF } } # alt tabbing for workspaces -bindsym Mod1+Tab workspace next -bindsym Mod1+Shift+Tab workspace prev +bindsym Mod1+Tab workspace next_on_output +bindsym Mod1+Shift+Tab focus output left # win + l opens i3lock -bindsym XF86PowerOff exec --no-startup-id "i3lock -i /home/alec/Downloads/notabug2.png" +bindsym Mod4+l exec --no-startup-id "i3lock" # fix mouse pointer speed -bindsym ctrl+Mod1+Tab exec --no-startup-id "xinput set-prop 'pointer:MX Master 2S' 'libinput Accel Speed' '-0.75'" +bindsym ctrl+Mod1+Tab exec --no-startup-id "xinput set-prop 'pointer:Logitech MX Master 2S' 'libinput Accel Speed' -0.75" # jump to urgent window bindsym $mod+x [urgent=latest] focus # brightness controls -bindsym F5 exec --no-startup-id "/home/alec/.config/i3/brightness.py -d 5 && pkill -SIGRTMIN+12 i3blocks && pause 1" -bindsym F6 exec --no-startup-id "/home/alec/.config/i3/brightness.py -i 5 && pkill -SIGRTMIN+12 i3blocks" +bindsym XF86MonBrightnessDown exec --no-startup-id "/home/alec/.config/i3/dec_brightness.py && pkill -SIGRTMIN+12 i3blocks && pause 1" +bindsym XF86MonBrightnessUp exec --no-startup-id "xbacklight -inc 5 && pkill -SIGRTMIN+12 i3blocks" # volume controls bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 5%- unmute && pkill -SIGRTMIN+10 i3blocks" @@ -221,8 +221,17 @@ bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && pkill - bindsym --release Caps_Lock exec --no-startup-id pkill -SIGRTMIN+11 i3blocks bindsym --release Num_Lock exec --no-startup-id pkill -SIGRTMIN+11 i3blocks -# home key combinations -#bindsym Mod1 + Left exec --no-startup-id "xdotool key Home" +# dota mode +bindsym ctrl+d mode "dota" + +mode "dota" { + bindsym ctrl+d mode "default" +} + +bindsym XF86Calculator exec "termite -e python" + +# for calendar +for_window [class="Yad"] floating enable # gaps stuff for_window [class="^.*"] border pixel 0 |
