bar: add music and networkmanager
This commit is contained in:
parent
39ed1a4041
commit
f7cd08b807
3 changed files with 31 additions and 4 deletions
|
@ -1,6 +1,11 @@
|
|||
theme = "slick"
|
||||
icons = "awesome5"
|
||||
|
||||
[[block]]
|
||||
block = "music"
|
||||
player = "Plexamp"
|
||||
buttons = ["play", "next"]
|
||||
|
||||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 1
|
||||
|
@ -32,6 +37,12 @@ critical_swap = 95
|
|||
# critical_mem = 95
|
||||
# critical_swap = 95
|
||||
|
||||
[[block]]
|
||||
block = "networkmanager"
|
||||
on_click = "termite -t nmtui -e nmtui"
|
||||
interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"]
|
||||
interface_name_include = []
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
format = "%Y/%m/%d %R"
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
theme = "slick"
|
||||
icons = "awesome5"
|
||||
|
||||
[[block]]
|
||||
block = "music"
|
||||
player = "Plexamp"
|
||||
buttons = ["play", "next"]
|
||||
|
||||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 1
|
||||
|
@ -33,9 +38,10 @@ critical_swap = 95
|
|||
# critical_swap = 95
|
||||
|
||||
[[block]]
|
||||
block = "battery"
|
||||
interval = 10
|
||||
format = "{percentage}% {time}"
|
||||
block = "networkmanager"
|
||||
on_click = "termite -t nmtui -e nmtui"
|
||||
interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"]
|
||||
interface_name_include = []
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
|
@ -43,3 +49,8 @@ format = "%Y/%m/%d %R"
|
|||
timezone = "Europe/Berlin"
|
||||
interval = 60
|
||||
locale = "de_DE"
|
||||
|
||||
[[block]]
|
||||
block = "battery"
|
||||
interval = 10
|
||||
format = "{percentage}% {time}"
|
||||
|
|
7
config
7
config
|
@ -202,6 +202,11 @@ mode "resize" {
|
|||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
#
|
||||
# Window Rules:
|
||||
#
|
||||
for_window [title="nmtui"] floating enable
|
||||
|
||||
#
|
||||
# Status Bar:
|
||||
#
|
||||
|
@ -209,7 +214,7 @@ bindsym $mod+r mode "resize"
|
|||
bar {
|
||||
position top
|
||||
status_command i3status-rs $HOME/.config/sway/conf.d/i3status_$(hostname).toml
|
||||
font "Cascadia Code PL Regular 11"
|
||||
font "Cascadia Code PL Regular 10"
|
||||
colors {
|
||||
separator #666666
|
||||
background #222222
|
||||
|
|
Loading…
Reference in a new issue