This commit is contained in:
Nico
2025-03-31 00:04:25 +02:00
parent f040a1bdb3
commit c45866e66e
66 changed files with 1862 additions and 399 deletions

View File

@@ -5,7 +5,7 @@
"spacing": 0,
"modules-left": ["clock", "sway/workspaces","sway/mode"],
"modules-center": ["sway/window"],
"modules-right": ["network", "cpu", "memory", "custom/keyboard-layout", "pulseaudio", "tray"],
"modules-right": ["network", "battery", "cpu", "memory", "custom/keyboard-layout", "pulseaudio", "tray"],
"custom/keyboard-layout": {
"interval": 1,
@@ -23,6 +23,19 @@
"format": "RAM: {used} GiB"
},
"battery": {
"bat": "BAT0",
"states": {
"good": 90,
"warning": 20,
"critical": 7
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "" , "", ""]
},
"pulseaudio": {
"format": "{icon} {volume}%",

View File

@@ -9,7 +9,7 @@
"custom/keyboard-layout": {
"interval": 1,
"exec": "swaymsg -t get_inputs | jq -r '.[] | select(.type == \"keyboard\") | .xkb_active_layout_name'"
"exec":"swaymsg -t get_inputs --raw | jq -r '.[] | .xkb_active_layout_name'"
},

View File

@@ -69,6 +69,7 @@ window#waybar {
margin-right: 5px
}
#workspaces{
border-radius: 0px 10px 10px 0px;
}

View File

@@ -21,6 +21,7 @@ window#waybar {
#memory,
#network,
#pulseaudio,
#custom-keyboard-layout,
#battery{
background: rgba(10,10,10,100);
opacity: 0.8;
@@ -68,6 +69,12 @@ window#waybar {
margin-right: 5px
}
#custom-keyboard-layout{
border-radius: 0px 10px 10px 0px;
color: @mauve;
}
#workspaces{
border-radius: 0px 10px 10px 0px;
}