Added wlogout insted of gtk menu. Hopefully? fixed hyprlock on pc

This commit is contained in:
Aleksandr Lebedev 2024-11-30 14:25:59 +01:00
parent 27790c1590
commit b4f3add8ea
3 changed files with 10 additions and 17 deletions

View file

@ -115,6 +115,7 @@
kitty-themes kitty-themes
btop btop
hyprlock hyprlock
wlogout
hypridle hypridle
solaar solaar
pavucontrol pavucontrol

View file

@ -38,9 +38,6 @@
text = "$USER"; text = "$USER";
font_family = "Fira Code"; font_family = "Fira Code";
font_size = 56; font_size = 56;
font_color = "rgb(255, 255, 255)";
shadow_color = "rgba(0, 0, 0, 0.5)";
shadow_offset = "2, 2";
position = "0, 100"; position = "0, 100";
halign = "center"; halign = "center";
valign = "center"; valign = "center";
@ -49,9 +46,6 @@
text = "$TIME"; text = "$TIME";
font_family = "Roboto"; font_family = "Roboto";
font_size = 72; font_size = 72;
font_color = "rgb(255, 255, 255)";
shadow_color = "rgba(0, 0, 0, 0.7)";
shadow_offset = "3, 3";
position = "-40, -40"; position = "-40, -40";
halign = "right"; halign = "right";
valign = "top"; valign = "top";
@ -60,9 +54,6 @@
text = "$LAYOUT"; text = "$LAYOUT";
font_family = "JetBrains Mono"; font_family = "JetBrains Mono";
font_size = 28; font_size = 28;
font_color = "rgb(200, 200, 200)";
shadow_color = "rgba(0, 0, 0, 0.5)";
shadow_offset = "1, 1";
position = "-20, 20"; position = "-20, 20";
halign = "right"; halign = "right";
valign = "bottom"; valign = "bottom";

View file

@ -117,14 +117,15 @@
"custom/power" = { "custom/power" = {
format = " "; format = " ";
tooltip = false; tooltip = false;
menu = "on-click"; #menu = "on-click";
menu-file = ./power_menu.xml; #menu-file = ./power_menu.xml;
menu-actions = { #menu-actions = {
shutdown = "shutdown -h now"; # shutdown = "shutdown -h now";
reboot = "reboot"; # reboot = "reboot";
suspend = "systemctl suspend"; # suspend = "systemctl suspend";
hibernate = "systemctl hibernate"; # hibernate = "systemctl hibernate";
}; #};
on-click = "wlogout";
}; };
"custom/notification" = { "custom/notification" = {