Qutebrowser, CUDA, pass & more

This commit is contained in:
Geoffrey Frogeye 2017-11-26 08:53:39 +01:00
parent 441bd6b9a3
commit f513500c29
8 changed files with 1095 additions and 14 deletions

View file

@ -76,7 +76,7 @@ enable-ipc = true
inherit = bar/base
modules-center = mpd
modules-right = eth wlan xbacklight volume battery date
modules-right = vpncheck eth wlan bbswitch xbacklight volume battery date
tray-position = right
tray-padding = 2
@ -84,7 +84,7 @@ tray-transparent = false
[bar/secondary]
inherit = bar/base
modules-right = cpu memory temperature ethMore wlanMore filesystem xbacklight volume date
modules-right = cpu memory temperature vpncheck ethMore wlanMore filesystem bbswitch xbacklight volume date
[module/filesystem]
@ -174,6 +174,14 @@ icon-repeatone = 1
toggle-on-foreground = ${theme.foreground}
toggle-off-foreground = #55
[module/bbswitch]
type = custom/script
exec = grep -o '\w\+$' /proc/acpi/bbswitch | sed 's/OFF//' | sed 's/ON//'
exec-if = file /proc/acpi/bbswitch
interval = 5
format-prefix = 
format-foreground = ${theme.redF}
format-prefix-foreground = ${theme.redF}
[module/xbacklight]
type = internal/xbacklight
@ -212,6 +220,13 @@ interval = 2
format-foreground = ${theme.greenF}
label =  %gb_free%
[module/vpncheck]
type = custom/script
exec = echo 
exec-if = pgrep openvpn
interval = 5
format-foreground = ${theme.blueF}
[module/eth]
type = internal/network
interface = ${env:ethI:eth0}