Hyprland stuff and some new scripts
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user