Bohdan's terminal configuration

improved opwer control widget

bpavuk be828234 592dc9d4

Changed files
+5 -5
window_manager
.config
eww
+5 -5
window_manager/.config/eww/eww.yuck
··· 28 28 29 29 (defwidget poweroff [] 30 30 (box :orientation "v" :space-evenly false 31 - (button :onclick "notify-send Power-Off!" 31 + (button 32 32 :vexpand true 33 33 :class "poweroff powerbutton" 34 34 :onclick "systemctl poweroff" ··· 39 39 40 40 (defwidget reboot [] 41 41 (box :orientation "v" :space-evenly false 42 - (button :onclick "notify-send Reboot!" 42 + (button 43 43 :vexpand true 44 44 :class "reboot powerbutton" 45 45 :onclick "systemctl reboot" ··· 50 50 51 51 (defwidget suspend [] 52 52 (box :orientation "v" :space-evenly false 53 - (button :onclick "notify-send Suspend!" 53 + (button 54 54 :vexpand true 55 55 :class "suspend powerbutton" 56 - :onclick "systemctl suspend" 56 + :onclick "hyprlock & systemctl suspend" 57 57 (label :text "")) 58 58 (label :text "сон" :valign "start") 59 59 ) ··· 61 61 62 62 (defwidget logout [] 63 63 (box :orientation "v" :space-evenly false 64 - (button :onclick "notify-send Logout!" 64 + (button 65 65 :vexpand true 66 66 :class "logout powerbutton" 67 67 :onclick "loginctl kill-session $XDG_SESSION_ID"