update hypr and replacy waybor config to original

This commit is contained in:
Simon Rieger 2025-04-08 14:23:35 +02:00
parent 83da65287d
commit f3b64e3f98
2 changed files with 48 additions and 19 deletions

View file

@ -7,7 +7,7 @@
"spacing": 4, // Gaps between modules (4px) "spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules // Choose the order of the modules
"modules-left": [ "modules-left": [
"sway/workspaces", "hyprland/workspaces",
"sway/mode", "sway/mode",
"sway/scratchpad" "sway/scratchpad"
], ],
@ -26,25 +26,26 @@
"sway/language", "sway/language",
"battery", "battery",
"clock", "clock",
"tray" "tray",
"custom/power"
], ],
// Modules configuration // Modules configuration
// "sway/workspaces": { "hyprland/workspaces": {
// "disable-scroll": true, "disable-scroll": true,
// "all-outputs": true, "all-outputs": true,
// "warp-on-scroll": false, "warp-on-scroll": false,
// "format": "{name}: {icon}", "format": "{name}: {icon}",
// "format-icons": { "format-icons": {
// "1": "", "1": "",
// "2": "", "2": "",
// "3": "", "3": "",
// "4": "", "4": "",
// "5": "", "5": "",
// "urgent": "", "urgent": "",
// "focused": "", "focused": "",
// "default": "" "default": ""
// } }
// }, },
"keyboard-state": { "keyboard-state": {
"numlock": true, "numlock": true,
"capslock": true, "capslock": true,
@ -199,7 +200,7 @@
"format" : "⏻ ", "format" : "⏻ ",
"tooltip": false, "tooltip": false,
"menu": "on-click", "menu": "on-click",
"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder "menu-file": "$HOME/.config/waybar/modules/power_menu.xml", // Menu file in resources folder
"menu-actions": { "menu-actions": {
"shutdown": "shutdown", "shutdown": "shutdown",
"reboot": "reboot", "reboot": "reboot",

View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkMenu" id="menu">
<child>
<object class="GtkMenuItem" id="suspend">
<property name="label">Suspend</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="hibernate">
<property name="label">Hibernate</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="shutdown">
<property name="label">Shutdown</property>
</object>
</child>
<child>
<object class="GtkSeparatorMenuItem" id="delimiter1"/>
</child>
<child>
<object class="GtkMenuItem" id="reboot">
<property name="label">Reboot</property>
</object>
</child>
</object>
</interface>