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