Revert wlogout styling and config to default

This commit is contained in:
Julian Mutter 2024-06-15 14:27:57 +02:00
parent 6b305a59d7
commit 5fd792084c
2 changed files with 20 additions and 49 deletions

View File

@ -42,8 +42,6 @@ in
wlogout.enable = true; wlogout.enable = true;
}; };
# services.dunst.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
# wofi # wofi
xfce.thunar xfce.thunar

View File

@ -23,55 +23,28 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
home.packages = with pkgs; [ wlogout ]; home.packages = with pkgs; [ wlogout ];
xdg.configFile."wlogout/style.css".text = '' # xdg.configFile."wlogout/style.css".text = ''
* { # * {
all: unset; # all: unset;
font-family: JetBrains Mono Nerd Font; # font-family: JetBrains Mono Nerd Font;
} # }
window { # window {
background-color: #${palette.base00}; # background-color: #${palette.base00};
} # }
button { # button {
color: #${palette.base01}; # color: #${palette.base01};
font-size: 64px; # font-size: 64px;
background-color: rgba(0,0,0,0); # background-color: rgba(0,0,0,0);
outline-style: none; # outline-style: none;
margin: 5px; # margin: 5px;
} # }
button:focus, button:active, button:hover { # button:focus, button:active, button:hover {
color: #${palette.base0D}; # color: #${palette.base0D};
transition: ease 0.4s; # transition: ease 0.4s;
} # }
''; # '';
xdg.configFile."wlogout/layout".text = ''
{
"label" : "lock",
"action" : "gtklock",
"text" : "󰌾",
"keybind" : ""
}
{
"label" : "logout",
"action" : "loginctl terminate-user $USER",
"text" : "󰗽",
"keybind" : ""
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"text" : "󰐥",
"keybind" : ""
}
{
"label" : "reboot",
"action" : "systemctl reboot",
"text" : "󰑓",
"keybind" : ""
}
'';
}; };
} }