Wlogout integration in hyprland.conf + waybar.

This commit is contained in:
duma97
2025-11-14 23:46:44 +04:00
parent ae07c13a64
commit 2c2e199a3b
3 changed files with 15 additions and 2 deletions
+1
View File
@@ -189,6 +189,7 @@ bind = $mainMod, X, fullscreen
bind = $mainMod, L, exec, hyprlock
bind = $mainMod, O, togglesplit, # Toggle split direction
bind = $mainMod, P, exec, poweroff
bind = $mainMod, RETURN, exec, wlogout
# App launcher
bind = $mainMod, R, exec, $menu
+6 -1
View File
@@ -5,7 +5,7 @@
"reload_style_on_change": true,
"modules-left": ["hyprland/workspaces"],
"modules-center": ["clock"],
"modules-right": ["group/expand","pulseaudio","bluetooth","network","custom/power-profile","battery"],
"modules-right": ["group/expand","pulseaudio","bluetooth","network","custom/power-profile","battery","custom/wlogout"],
"hyprland/workspaces": {
"format": "{name}",
@@ -112,5 +112,10 @@
"temperature": {
"critical-threshold": 80,
"format": ""
},
"custom/wlogout": {
"format": "⏻",
"tooltip": false,
"on-click": "wlogout"
}
}
+8 -1
View File
@@ -33,7 +33,7 @@ tooltip {
background:@background;
color: @color7;
}
#pulseaudio:hover, #bluetooth:hover, #network:hover, #custom-power-profile:hover, #battery:hover, #cpu:hover, #memory:hover, #temperature:hover{
#pulseaudio:hover, #bluetooth:hover, #network:hover, #custom-power-profile:hover, #battery:hover, #cpu:hover, #memory:hover, #temperature:hover, #custom-wlogout:hover{
transition: all .3s ease;
color:@color9;
}
@@ -156,3 +156,10 @@ tooltip {
text-shadow: 0px 0px 1.5px rgba(0, 0, 0, 1);
}
#custom-wlogout{
padding: 0px 3px;
margin-left: -2px;
font-size: 21px;
transition: all .3s ease;
color:@color7;
}