Update #i3wm gaps and #polybar theme

This commit is contained in:
Colin Powell
2019-11-24 21:30:48 -05:00
parent 493614f590
commit 9537842811
2 changed files with 205 additions and 90 deletions

View File

@ -34,6 +34,26 @@ floating_modifier $mod
# Set our background
exec feh --bg-scale ~/var/inbox/ng_photos/`ls -Ar ~/var/inbox/ng_photos | tail -n 1`
# polybar
exec_always --no-startup-id polybar primary
#
# panel
#bar {
# colors {
# background #2f343f
# statusline #2f343f
# separator #4b5262
#
# # colour of border, background, and text
# focused_workspace #2f343f #bf616a #d8dee8
# active_workspace #2f343f #2f343f #d8dee8
# inactive_workspace #2f343f #2f343f #d8dee8
# urgent_workspacei #2f343f #ebcb8b #2f343f
# }
# position top
# status_command i3status
#}
#exec --no-startup-id betterlockscreen -w
#bindsym $mod+shift+x exec --no-startup-id betterlockscreen -l dimblur
# binds
@ -138,25 +158,6 @@ bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
bar {
position top
status_command i3status
}
#bar {
# font pango:Terminus, FontAwesome 10
# position top
# status_command /usr/local/bin/i3status-rs ~/.config/i3/status.toml
# colors {
# separator #666666
# background #222222
# statusline #dddddd
# focused_workspace #0088CC #0088CC #ffffff
# active_workspace #333333 #333333 #ffffff
# inactive_workspace #333333 #333333 #888888
# urgent_workspace #2f343a #900000 #ffffff
# }
#}
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
@ -187,12 +188,19 @@ bindsym $mod+r mode "resize"
bindsym $mod+c exec compton --config ~/.config/compton/compton.conf
bindsym $mod+x exec pkill compton
gaps inner 7 gaps outer 7
for_window [class="^.*"] border pixel 4
client.focused #000000 #ff0000 #000000 #ff0000
gaps inner 10 gaps outer 10
for_window [class="^.*"] border pixel 3
# class border backgr. text indicator child_border
client.focused #000000 #990000 #ffffff #2e9ef4 #990000
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
client.unfocused #333333 #222222 #888888 #292d2e #222222
client.urgent #2f343a #900000 #ffffff #900000 #900000
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #ffffff
# Setup Russian layout siwtching with Alt+Shift
exec --no-startup-id "setxkbmap -model pc105 -layout us,ru,fr -option grp:alt_super_toggle"
exec --no-startup-id "setxkbmap -model pc105 -layout us,ru,fr -option grp:alts_toggle"
exec --no-startup-id xrdb ~/.Xresources