feat(waybar): restore and style wlogout button, increase font and icon size
- Add custom wlogout button to modules-right in both desktop and laptop configs - Style wlogout button for visibility and theme consistency - Increase font size globally by 30% - Increase icon size for wlogout button 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
This commit is contained in:
parent
1e02be0a39
commit
42f6cc3180
@ -19,6 +19,7 @@ bind = $mainMod, P, pseudo, # dwindle
|
|||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, J, togglesplit, # dwindle
|
||||||
bind = $mainMod SHIFT, P, exec, ~/.config/hypr/reway.sh
|
bind = $mainMod SHIFT, P, exec, ~/.config/hypr/reway.sh
|
||||||
bind = $mainMod, L, exec, hyprlock
|
bind = $mainMod, L, exec, hyprlock
|
||||||
|
bind = $mainMod, F12, exec, killall -SIGUSR2 waybar
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, left, movefocus, l
|
bind = $mainMod, left, movefocus, l
|
||||||
|
|||||||
@ -17,8 +17,8 @@
|
|||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"network",
|
"network",
|
||||||
"tray",
|
"tray",
|
||||||
],
|
"custom/wlogout"
|
||||||
"hyprland/workspaces": {
|
], "hyprland/workspaces": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
"on-scroll-up": "hyprctl dispatch workspace e-1",
|
"on-scroll-up": "hyprctl dispatch workspace e-1",
|
||||||
@ -102,5 +102,10 @@
|
|||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 20
|
"icon-size": 20
|
||||||
|
},
|
||||||
|
"custom/wlogout": {
|
||||||
|
"format": "⏻",
|
||||||
|
"tooltip": "Logout/Shutdown",
|
||||||
|
"on-click": "wlogout"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -18,9 +18,9 @@
|
|||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"network",
|
"network",
|
||||||
"battery",
|
"battery",
|
||||||
"tray"
|
"tray",
|
||||||
],
|
"custom/wlogout"
|
||||||
"hyprland/workspaces": {
|
], "hyprland/workspaces": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
"on-scroll-up": "hyprctl dispatch workspace e-1",
|
"on-scroll-up": "hyprctl dispatch workspace e-1",
|
||||||
@ -135,5 +135,10 @@
|
|||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 20
|
"icon-size": 20
|
||||||
|
},
|
||||||
|
"custom/wlogout": {
|
||||||
|
"format": "⏻",
|
||||||
|
"tooltip": "Logout/Shutdown",
|
||||||
|
"on-click": "wlogout"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,11 +1,16 @@
|
|||||||
* {
|
* {
|
||||||
font-family: JetBrainsMono, monospace;
|
font-family: JetBrainsMono, monospace;
|
||||||
font-size: 13px;
|
font-size: 17px;
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon, .fa, .material-icons {
|
||||||
|
font-size: 17px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: rgba(30, 30, 46, 0.95);
|
background: rgba(30, 30, 46, 0.95);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
@ -46,3 +51,21 @@ window#waybar {
|
|||||||
#pulseaudio.muted {
|
#pulseaudio.muted {
|
||||||
color: #f9e2af;
|
color: #f9e2af;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#custom-wlogout {
|
||||||
|
background: #f38ba8;
|
||||||
|
color: #1e1e2e;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 0 8px;
|
||||||
|
margin: 0 4px;
|
||||||
|
font-weight: bold;
|
||||||
|
transition: background 0.2s, color 0.2s;
|
||||||
|
}
|
||||||
|
#custom-wlogout .icon {
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
#custom-wlogout:hover, #custom-wlogout:focus {
|
||||||
|
background: #cba6f7;
|
||||||
|
color: #1e1e2e;
|
||||||
|
box-shadow: 0 2px 8px rgba(0,0,0,0.18);
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user