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 git-ignore
nurl nurl
prefetch-npm-deps prefetch-npm-deps
figlet
# Utils # Utils
fd fd

View File

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

View File

@ -3,6 +3,18 @@
programs.wlogout = { programs.wlogout = {
enable = true; enable = true;
layout = [ layout = [
{
label = "shutdown";
action = "systemctl poweroff";
text = "Shutdown";
keybind = "s";
}
{
label = "reboot";
action = "systemctl reboot";
text = "Reboot";
keybind = "r";
}
{ {
label = "lock"; label = "lock";
action = "${pkgs.hyprlock}/bin/hyprlock"; action = "${pkgs.hyprlock}/bin/hyprlock";
@ -21,31 +33,19 @@
text = "Exit"; text = "Exit";
keybind = "e"; keybind = "e";
} }
{
label = "shutdown";
action = "systemctl poweroff";
text = "Shutdown";
keybind = "s";
}
{ {
label = "suspend"; label = "suspend";
action = "systemctl suspend"; action = "systemctl suspend";
text = "Suspend"; text = "Suspend";
keybind = "u"; keybind = "u";
} }
{
label = "reboot";
action = "systemctl reboot";
text = "Reboot";
keybind = "r";
}
]; ];
style = '' style = ''
* { * {
font-family: "${config.var.theme.font}"; font-family: "${config.var.theme.font}";
background-image: none; background-image: none;
transition: 20ms; transition: 20ms;
} }
window { window {