{ ... }: { xdg.configFile."wlogout/layout" = { enable = true; target = "./wlogout/layout"; text = '' { "label" : "lock", "action" : "swaylock", "text" : "Lock", "keybind" : "l" } { "label" : "hibernate", "action" : "systemctl hibernate", "text" : "Hibernate", "keybind" : "h" } { "label" : "logout", "action" : "loginctl terminate-user $USER", "text" : "Logout", "keybind" : "e" } { "label" : "shutdown", "action" : "systemctl poweroff", "text" : "Shutdown", "keybind" : "s" } { "label" : "suspend", "action" : "systemctl suspend", "text" : "Suspend", "keybind" : "u" } { "label" : "reboot", "action" : "systemctl reboot", "text" : "Reboot", "keybind" : "r" } ''; }; xdg.configFile."wlogout/style.css" = { enable = true; target = "./wlogout/style.css"; text = '' * { background-image: none; } window { background-color: rgba(50, 48, 47, 0.8); } button { color: #d5c4a1; font-size: 0px; border-radius: 5000px; margin: 25px; background-color: #1E1E1E; border-style: solid; border-width: 3px; background-repeat: no-repeat; background-position: center; background-size: 25%; } button:active, button:hover { background-color: #504945; outline-style: none; } #lock { background-image: url("/etc/nixos/git/home-manager/common/desktops/hyprland/default/wlogout/lock.png"); } #logout { background-image: url("/etc/nixos/git/home-manager/common/desktops/hyprland/default/wlogout/logout.png"); } #suspend { background-image: url("/etc/nixos/git/home-manager/common/desktops/hyprland/default/wlogout/suspend.png"); } #hibernate { background-image: url("/etc/nixos/git/home-manager/common/desktops/hyprland/default/wlogout/hibernate.png"); } #shutdown { background-image: url("/etc/nixos/git/home-manager/common/desktops/hyprland/default/wlogout/shutdown.png"); } #reboot { background-image: url("/etc/nixos/git/home-manager/common/desktops/hyprland/default/wlogout/reboot.png"); } ''; }; }