X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/8a7af8191012e9974ba15907a6ca49183dd4feba..f993e922ddfbd072cf4cd7300d74e98a6977d3f6:/xdg/i3/config?ds=inline diff --git a/xdg/i3/config b/xdg/i3/config index 8e78bfc..3aaed9e 100644 --- a/xdg/i3/config +++ b/xdg/i3/config @@ -4,7 +4,7 @@ # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. -font pango:Dina, DejaVu Sans Mono, monospace 7 +font pango:Dina 7 # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). @@ -132,6 +132,12 @@ bindsym $mod+Shift+e exec --no-startup-id i3-nagbar -t warning -m Exit? -b Yes ' bindcode 198 exec --no-startup-id rotate set normal bindcode 204 exec --no-startup-id rotate right +# mpc +bindsym XF86AudioPlay exec --no-startup-id mpc -h /var/mpd/socket play +bindsym XF86AudioStop exec --no-startup-id mpc -h /var/mpd/socket pause +bindsym XF86AudioPrev exec --no-startup-id mpc -h /var/mpd/socket cdprev +bindsym XF86AudioNext exec --no-startup-id mpc -h /var/mpd/socket next + # move and resize [floating] windows mode "translate" { bindsym $left resize shrink width 20 px @@ -205,38 +211,61 @@ workspace_auto_back_and_forth yes force_display_urgency_hint 2000 ms # color definitions -# class border backgr. text indicator child_border -set $focused #cc6600 #aa5500 #eee8d5 #4466ff #cc6600 -set $inactive #884400 #221100 #93a1a1 #264bd2 #884400 -set $urgent #ff4444 #dc322f #000000 #4466ff #ff4444 -set $blue #4466ff #268bd2 #fdf6e3 #264db2 #4466ff - -#bar { -# position top -# tray_output primary -# status_command i3status -# separator_symbol "|" -# -# colors { -# background #110800 -# statusline #93a1a1 -# separator #268bd2 -# -# # class border backgr. text -# focused_workspace $focused -# active_workspace $inactive -# inactive_workspace $inactive -# urgent_workspace $urgent -# binding_mode $blue -# } -#} +# generic +set $bg #110800 +set $fg #93a1a1 +# focused +set $f_bdr #cc6600 +set $f_bg #aa5500 +set $f_fg #eee8d5 +set $f_ind #4466ff +set $f_chb #cc6600 +# inactive +set $i_bdr #884400 +set $i_bg #221100 +set $i_fg $fg +set $i_ind #264bd2 +set $i_chb #884400 +# urgent +set $u_bdr #ff4444 +set $u_bg #dc322f +set $u_fg #000000 +set $u_ind #4466ff +set $u_chb #ff4444 +# blue +set $b_bdr #4466ff +set $b_bg #268bd2 +set $b_fg #fdf6e3 +set $b_ind #264db2 +set $b_chb #4466ff + +bar { + position top + output LVDS1 + tray_output primary + status_command i3status + separator_symbol "|" + + colors { + background $bg + statusline $fg + separator $b_ind + + # class border backgr. text + focused_workspace $f_bdr $f_bg $f_fg + active_workspace $i_bdr $i_bg $i_fg + inactive_workspace $i_bdr $i_bg $i_fg + urgent_workspace $u_bdr $u_bg $u_fg + binding_mode $b_bdr $b_bg $b_fg + } +} # colors # class border backgr. text indicator child_border -client.focused $focused -client.focused_inactive $inactive -client.unfocused $inactive -client.urgent $urgent -client.placeholder $blue +client.focused $f_bdr $f_bg $f_fg $f_ind $f_chb +client.focused_inactive $i_bdr $i_bg $i_fg $i_ind $i_chb +client.unfocused $i_bdr $i_bg $i_fg $i_ind $i_chb +client.urgent $u_bdr $u_bg $u_fg $u_ind $u_chb +client.placeholder $b_bdr $b_bg $b_fg $b_ind $b_chb client.background #221100