Update polybar for use on laptop
This commit is contained in:
parent
a588c8d216
commit
59683479e5
|
@ -54,7 +54,7 @@ padding-right = 6
|
||||||
module-margin-left = 4
|
module-margin-left = 4
|
||||||
module-margin-right = 6
|
module-margin-right = 6
|
||||||
|
|
||||||
; Font ssettings, order matters
|
; Font settings, order matters
|
||||||
; Top font takes priority over following
|
; Top font takes priority over following
|
||||||
;font-0 = Source Code Pro:size=10;0
|
;font-0 = Source Code Pro:size=10;0
|
||||||
font-0 = NotoSans-Regular:size=8;0
|
font-0 = NotoSans-Regular:size=8;0
|
||||||
|
@ -108,7 +108,7 @@ tail = true
|
||||||
type = internal/fs
|
type = internal/fs
|
||||||
; Mountpoints to display
|
; Mountpoints to display
|
||||||
mount-0 = /
|
mount-0 = /
|
||||||
mount-1 = /home
|
;mount-1 = /home
|
||||||
;mount-2 = /var
|
;mount-2 = /var
|
||||||
; Seconds to sleep between updates
|
; Seconds to sleep between updates
|
||||||
; Default: 30
|
; Default: 30
|
||||||
|
@ -308,15 +308,16 @@ menu-0-4-exec = i3lock -c 000000
|
||||||
[module/caffeine]
|
[module/caffeine]
|
||||||
type = custom/menu
|
type = custom/menu
|
||||||
format = <menu> <label-toggle>
|
format = <menu> <label-toggle>
|
||||||
label-open = " "
|
label-open = " "
|
||||||
label-close = " "
|
label-close = " "
|
||||||
label-open-padding = 0
|
label-open-padding = 0
|
||||||
label-close-padding = 1
|
label-close-padding = 1
|
||||||
label-separator = " "
|
label-separator = " "
|
||||||
menu-0-0 = " ﮣ "
|
|
||||||
menu-0-0-exec = source /home/kapper/.local/bin/i3scripts/xoffee enable
|
menu-0-0 = " ON "
|
||||||
menu-0-1 = " ﮤ "
|
menu-0-0-exec = sh /home/kapper/.local/bin/i3scripts/xoffee disable
|
||||||
menu-0-1-exec = source /home/kapper/.local/bin/i3scripts/xoffee disable
|
menu-0-1 = " OFF "
|
||||||
|
menu-0-1-exec = sh /home/kapper/.local/bin/i3scripts/xoffee enable
|
||||||
|
|
||||||
; CPU Core Usages
|
; CPU Core Usages
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ##
|
## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ##
|
||||||
## ##
|
## Depends on xprintidle package ##
|
||||||
## A script to track system idle time within a polybar menu ##
|
## A script to track system idle time within a polybar menu ##
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# info-idle.sh
|
# info-idle.sh
|
||||||
|
|
Loading…
Reference in New Issue