removing unused modules

This commit is contained in:
serenity-F 2025-12-29 21:43:41 +10:00
parent fd557a4e5c
commit 1b90cdccc0
2 changed files with 2 additions and 122 deletions

View file

@ -16,12 +16,9 @@ in {
./xdg-mime.nix # file associations
./hyprcursor.nix # mouse cursor
./hyprlock.nix # screen locker
#./wlogout.nix # logout prompt
#./waybar.nix # statusbar
./dunst.nix # notifier
./wofi.nix # app menu
#./sway.nix # desktop
./niri # desktop 2?
./wofi.nix # launcher
./niri # desktop shell
];

View file

@ -1,117 +0,0 @@
{ config, pkgs, ... }: {
programs.wlogout = {
enable = true;
layout = [
{
label = "lock";
action = "${pkgs.hyprlock}/bin/hyprlock";
text = "Lock";
keybind = "l";
}
{
label = "hibernate";
action = "systemctl hibernate";
text = "Hibernate";
keybind = "h";
}
{
label = "logout";
action = "killall -9 Hyprland sleep 2";
text = "Exit";
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";
}
];
style = ''
* {
font-family: "${config.theme.font}";
background-image: none;
transition: 20ms;
}
window {
background-color: rgba(12,12,12,0.5);
}
button {
color: #${config.theme.colors.fg};
font-size:20px;
background-repeat: no-repeat;
background-position: center;
background-size: 25%;
border-style: solid;
background-color: #${config.theme.colors.bg};
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
button:focus,
button:active {
color: #${config.theme.colors.primary-fg};
background-color: #${config.theme.colors.primary-bg};
border: 3px solid #${config.theme.colors.primary-bg};
}
/*
-----------------------------------------------------
Buttons
-----------------------------------------------------
*/
#lock,#logout,#suspend,#hibernate,#shutdown,#reboot {
margin: 10px;
border-radius: ${toString config.theme.rounding}px;
}
#lock {
background-image: image(url("lock.png"));
}
#logout {
background-image: image(url("logout.png"));
}
#suspend {
background-image: image(url("suspend.png"));
}
#hibernate {
background-image: image(url("hibernate.png"));
}
#shutdown {
background-image: image(url("shutdown.png"));
}
#reboot {
background-image: image(url("reboot.png"));
}
'';
};
xdg.configFile."icons" = {
recursive = true;
source = ../resources/icons;
};
}