This commit is contained in:
Hadi 2024-06-23 17:32:18 +02:00
parent caee38f568
commit f8786dd24f
3 changed files with 19 additions and 13 deletions

View File

@ -51,6 +51,7 @@
git-ignore
nurl
prefetch-npm-deps
figlet
# Utils
fd

View File

@ -142,10 +142,13 @@
misc = {
disable_hyprland_logo = true;
disable_splash_rendering = true;
disable_autoreload = true;
focus_on_activate = true;
new_window_takes_over_fullscreen = 2;
};
opengl = { nvidia_anti_flicker = false; };
input = {
kb_layout = config.var.keyboardLayout;
@ -162,6 +165,8 @@
};
};
windowrule = [ "animation popin,^(wlogout)$" ];
windowrulev2 = [
"float, class:peaclock"
"move 2% 78%, class:peaclock"

View File

@ -3,6 +3,18 @@
programs.wlogout = {
enable = true;
layout = [
{
label = "shutdown";
action = "systemctl poweroff";
text = "Shutdown";
keybind = "s";
}
{
label = "reboot";
action = "systemctl reboot";
text = "Reboot";
keybind = "r";
}
{
label = "lock";
action = "${pkgs.hyprlock}/bin/hyprlock";
@ -21,31 +33,19 @@
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.var.theme.font}";
background-image: none;
transition: 20ms;
transition: 20ms;
}
window {