fix lock
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
...
|
...
|
||||||
}@inputs:
|
}@inputs:
|
||||||
{
|
{
|
||||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt;
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
eliasLaptop = nixpkgs.lib.nixosSystem {
|
eliasLaptop = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|||||||
@@ -2,28 +2,28 @@
|
|||||||
(box
|
(box
|
||||||
:class "powermenu"
|
:class "powermenu"
|
||||||
(button
|
(button
|
||||||
:onclick "close eww power; systemctl poweroff"
|
:onclick "eww close power; systemctl poweroff"
|
||||||
:class "powermenu-button"
|
:class "powermenu-button"
|
||||||
(label
|
(label
|
||||||
:text "⏻ "))
|
:text "⏻ "))
|
||||||
(label
|
(label
|
||||||
:text " ")
|
:text " ")
|
||||||
(button
|
(button
|
||||||
:onclick "close eww power; /home/elias/.config/helperscripts/lock.sh"
|
:onclick "eww close power; /home/elias/.config/helperscripts/lock.sh"
|
||||||
:class "powermenu-button"
|
:class "powermenu-button"
|
||||||
(label
|
(label
|
||||||
:text ""))
|
:text ""))
|
||||||
(label
|
(label
|
||||||
:text " ")
|
:text " ")
|
||||||
(button
|
(button
|
||||||
:onclick "close eww power; systemctl reboot"
|
:onclick "eww close power; systemctl reboot"
|
||||||
:class "powermenu-button"
|
:class "powermenu-button"
|
||||||
(label
|
(label
|
||||||
:text ""))
|
:text ""))
|
||||||
(label
|
(label
|
||||||
:text "")
|
:text "")
|
||||||
(button
|
(button
|
||||||
:onclick "close eww power; /home/elias/.config/helperscripts/logout.sh"
|
:onclick "eww close power; /home/elias/.config/helperscripts/logout.sh"
|
||||||
:class "powermenu-button"
|
:class "powermenu-button"
|
||||||
(label
|
(label
|
||||||
:text ""))))
|
:text ""))))
|
||||||
|
|||||||
@@ -5,17 +5,34 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
general = {
|
general = {
|
||||||
disable_loading_bar = true;
|
# disable_loading_bar = true;
|
||||||
grace = 300;
|
# grace = 300;
|
||||||
hide_cursor = true;
|
hide_cursor = true;
|
||||||
no_fade_in = false;
|
ignore_empty_input = true;
|
||||||
|
# no_fade_in = false;
|
||||||
};
|
};
|
||||||
background = [{
|
|
||||||
|
animations = {
|
||||||
|
enabled = true;
|
||||||
|
fade_in = {
|
||||||
|
duration = 300;
|
||||||
|
bezier = "easeOutQuint";
|
||||||
|
};
|
||||||
|
fade_out = {
|
||||||
|
duration = 300;
|
||||||
|
bezier = "easeOutQuint";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
background = [
|
||||||
|
{
|
||||||
path = "screenshot";
|
path = "screenshot";
|
||||||
blur_passes = 3;
|
blur_passes = 2;
|
||||||
blur_size = 8;
|
blur_size = 3;
|
||||||
}];
|
}
|
||||||
input-field = [{
|
];
|
||||||
|
input-field = [
|
||||||
|
{
|
||||||
size = "200, 50";
|
size = "200, 50";
|
||||||
position = "0, -80";
|
position = "0, -80";
|
||||||
monitor = "";
|
monitor = "";
|
||||||
@@ -24,10 +41,11 @@
|
|||||||
font_color = "rgb(202, 211, 245)";
|
font_color = "rgb(202, 211, 245)";
|
||||||
inner_color = "rgb(91, 96, 120)";
|
inner_color = "rgb(91, 96, 120)";
|
||||||
outer_color = "rgb(24, 25, 38)";
|
outer_color = "rgb(24, 25, 38)";
|
||||||
outline_thickness = 5;
|
outline_thickness = 3;
|
||||||
placeholder_text = ''<span foreground="##cad3f5">Password...</span>'';
|
placeholder_text = ''<span foreground="##cad3f5">Password...</span>'';
|
||||||
shadow_passes = 2;
|
shadow_passes = 2;
|
||||||
}];
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
beamMinimal28Packages.elixir
|
beamMinimal28Packages.elixir
|
||||||
clang-tools
|
clang-tools
|
||||||
prettierd
|
prettierd
|
||||||
nixfmt-rfc-style
|
nixfmt
|
||||||
tex-fmt
|
tex-fmt
|
||||||
hclfmt
|
hclfmt
|
||||||
topiary # TODO: Install https://github.com/blindFS/topiary-nushell somehow, e.g. clone languages.ncl to ~/.config/topiary/languages.ncl & nu.scm to ~/.config/topiary/topiary-queries/queries/nu.scm
|
topiary # TODO: Install https://github.com/blindFS/topiary-nushell somehow, e.g. clone languages.ncl to ~/.config/topiary/languages.ncl & nu.scm to ~/.config/topiary/topiary-queries/queries/nu.scm
|
||||||
@@ -130,4 +130,3 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
betterlockscreen --lock blur
|
hyprlock
|
||||||
|
|||||||
Reference in New Issue
Block a user