Add i3, polybar and rofi config #i3

This commit is contained in:
Colin Powell
2019-01-15 23:15:05 -05:00
parent a8e022314b
commit 821b1c1c14
8 changed files with 714 additions and 0 deletions

View File

@ -0,0 +1,145 @@
[bar/base]
width = 100%
height = 28
font-0 = -misc-fixed-medium-r-s*-13-*-iso10646-1
font-1 = Font Awesome:size=8:antialias=false
font-2 = DejaVu Sans:size=9:antialias=false
background = ${xrdb:bga:#dd222228}
foreground = ${xrdb:fg:#d8dade}
module-margin-left = 1
module-margin-right = 1
modules-left = i3 xwindow
modules-right = mail lan_i lan wlan volume_i volume xkeyboard date
tray-padding = 4
tray-position = right
tray-background = ${xrdb:bg:#222228}
[bar/top]
inherit = bar/base
# font-0 = Ubuntu:size=9:antialias=false
# font-1 = Font Awesome:size=8:antialias=false
# font-2 = monospace:size=9:antialias=false
[bar/bottom]
inherit = bar/base
bottom = true
# Workspaces {{{
[module/i3]
type = internal/i3
label-focused = %index%
label-focused-padding = 2
label-focused-background = ${bar/base.foreground}
label-focused-foreground = ${bar/base.background}
label-unfocused = ${self.label-focused}
label-unfocused-padding = ${self.label-focused-padding}
label-urgent = ${self.label-focused}
label-urgent-padding = ${self.label-focused-padding}
label-urgent-background = ${xrdb:color4:#d7af87}
label-urgent-foreground = ${self.label-focused-foreground}
# }}}
# Windows {{{
[module/xwindow]
type = internal/xwindow
label-maxlen = 100
# }}}
# Mail {{{
[module/mail]
type = custom/script
exec = ~/.config/polybar/status.sh mail
interval = 2
click-left = ~/.config/polybar/start.sh mail &
click-right = ~/.mutt/fetch.sh &
# }}}
# Weather {{{
[module/weather]
type = custom/script
exec = ~/.config/polybar/status.sh weather
interval = 3600
click-left = notify-send Погода "$(< ~/.config/polybar/status.weather)"
click-right = ~/.config/polybar/status.sh weather &
# }}}
# Internet {{{
[module/lan]
type = internal/network
interface = enp0s3
label-connected = %downspeed% %upspeed%
[module/wlan]
inherit = module/lan
interface = wlx784476bf0f9a
[module/lan_i]
type = custom/script
exec = ~/.config/polybar/status.sh wifi
interval = 5
click-left = ~/.config/polybar/start.sh network &
# }}}
# Volume {{{
[module/volume]
type = internal/volume
format-volume = <bar-volume>
format-muted = ${self.format-volume}
format-muted-foreground = #888
bar-volume-width = 20
bar-volume-indicator = |
bar-volume-fill = -
bar-volume-empty = -
bar-volume-empty-foreground = ${self.format-muted-foreground}
[module/volume_i]
type = custom/text
content = 
click-left = ~/.config/polybar/start.sh mixer &
# }}}
# Keyboard {{{
[module/xkeyboard]
type = internal/xkeyboard
label-layout = %name:0:2%
label-layout-padding = 2
label-indicator = %name:0:4%
label-indicator-padding = 1
# }}}
# Date {{{
[module/date]
type = internal/date
date = "%H:%M "
date-alt = "%a, %d %b %H:%M:%S "
# }}}
# vim: ft=dosini