1
0

Hyprland stuff and some new scripts

This commit is contained in:
2025-04-03 18:42:13 +02:00
parent 7d010f25de
commit 73bb89330a
15 changed files with 463 additions and 11 deletions

View File

@ -6,12 +6,13 @@
"modules-center": ["hyprland/window"],
"modules-right": [
"tray",
"cpu",
"memory",
"clock",
"pulseaudio",
"hyprland/language",
"custom/notification",
"tray",
"custom/power"
],
@ -101,5 +102,22 @@
"suspend": "systemctl suspend",
"hibernate": "systemctl hibernate"
}
},
"custom/notification": {
"tooltip": false,
"format": "{icon}",
"format-icons": {
"notification": "<span foreground='red'><small><sup>⬤</sup></small></span>",
"none": " ",
"dnd-notification": "<span foreground='red'><small><sup>⬤</sup></small></span>",
"dnd-none": " "
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "sleep 0.1 && swaync-client -t -sw",
"on-click-right": "sleep 0.1 && swaync-client -d -sw",
"escape": true
}
}

View File

@ -132,6 +132,15 @@ window#waybar {
color: @gold;
}
#language {
margin: 5px 5px 2px 5px;
padding-left: 10px;
padding-right: 10px;
border-radius: 3px;
background-color: @base;
color: @foam;
}
#custom-power {
margin: 5px 5px 2px 5px;
padding-left: 10px;
@ -141,11 +150,11 @@ window#waybar {
color: @text;
}
#language {
#custom-notification {
margin: 5px 5px 2px 5px;
padding-left: 10px;
padding-right: 10px;
border-radius: 3px;
background-color: @base;
color: @foam;
color: @iris;
}