eww(control-center): add forgotten functions to the top-bar button row!

This commit is contained in:
retrozinndev
2024-12-21 16:21:32 -03:00
parent ae8da3aabe
commit bb14324037
2 changed files with 24 additions and 3 deletions
+10
View File
@@ -30,6 +30,16 @@ box.cc {
margin: 7px 0;
}
.wallpaper {
padding-left: 9px;
padding-right: 12px;
}
.screenshot {
padding-left: 9px;
padding-right: 12px;
}
.color-picker {
padding-right: 11px;
}
+14 -3
View File
@@ -23,13 +23,24 @@
(button :class "lock"
:onclick "hyprctl dispatch exec hyprlock"
"󰌾")
:tooltip "Lock"
'󰌾')
(button :class "color-picker"
:onclick "hyprctl dispatch exec 'sh $HOME/.config/eww/scripts/color-picker.sh'"
"󰴱")
:tooltip "Pick a Color"
'󰴱')
(button :class "screenshot"
:onclick "hyprctl dispatch exec 'hyprshot -m region -o $HOME/Screenshots'"
:tooltip "Select to screenshot"
'󰹑')
(button :class "wallpaper"
:onclick "hyprctl dispatch exec 'sh $HOME/.config/hypr/scripts/change-wallpaper.sh'"
:tooltip "Select a wallpaper"
'󰸉')
(button :class "powermenu"
:onclick "sh scripts/eww-window.sh close bar && sh scripts/eww-window.sh open powermenu"
"󰗽")
:tooltip "Choose power options"
'󰗽')
)
)
)