use hyprlock, because it looks okay at least
This commit is contained in:
parent
e0c6a80533
commit
1c7f744aaf
9 changed files with 17 additions and 10 deletions
8
common/graphix.nix
Normal file
8
common/graphix.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
security.pam.services.hyprlock = { };
|
||||
}
|
||||
|
|
@ -458,6 +458,9 @@ in
|
|||
};
|
||||
# Let Home Manager install and manage itself.
|
||||
home-manager.enable = true;
|
||||
hyprlock = {
|
||||
enable = enableGraphical;
|
||||
};
|
||||
# add `play funny video` as alias because why not
|
||||
zsh.shellAliases.bzzt = lib.mkIf enableGraphical ''nix-shell -p mpv --command "mpv ~/Videos/BZZZM.mp4"'';
|
||||
# lsd makes files look better
|
||||
|
|
@ -504,10 +507,6 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
zoxide = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
|
|
@ -561,7 +560,6 @@ in
|
|||
targets = {
|
||||
neovim.enable = false;
|
||||
waybar.enable = false;
|
||||
swaylock.enable = true;
|
||||
fuzzel.enable = false;
|
||||
firefox.profileNames = [ "profile_0" ];
|
||||
qt = {
|
||||
|
|
|
|||
|
|
@ -126,7 +126,6 @@
|
|||
targets = {
|
||||
neovim.enable = false;
|
||||
waybar.enable = false;
|
||||
swaylock.enable = true;
|
||||
firefox.profileNames = [ "profile_0" ];
|
||||
qt = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@
|
|||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
|
||||
../../common/graphix.nix
|
||||
|
||||
../../common
|
||||
../../common/configuration.nix
|
||||
|
||||
|
|
|
|||
|
|
@ -126,7 +126,6 @@
|
|||
targets = {
|
||||
neovim.enable = false;
|
||||
waybar.enable = false;
|
||||
swaylock.enable = true;
|
||||
firefox.profileNames = [ "profile_0" ];
|
||||
qt = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ in
|
|||
isDefault = true;
|
||||
search = {
|
||||
default = "ddg";
|
||||
force = true;
|
||||
order = [
|
||||
"ddg"
|
||||
"google"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ in
|
|||
settings.mainBar."${name}" = {
|
||||
format = "";
|
||||
on-click = "${inputs.self.packages.${pkgs.system}.fuzzel-power}/bin/fuzzel-power";
|
||||
on-click-right = "${pkgs.swaylock}/bin/swaylock"; # TODO: change to whatever lock screen i want
|
||||
on-click-right = "${pkgs.hyprlock}/bin/hyprlock";
|
||||
};
|
||||
style = ''
|
||||
#custom-poweroff {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ pkgs.writeShellScriptBin "fuzzel-power" ''
|
|||
if [ "$selected_option" == "$lock" ]
|
||||
then
|
||||
echo "lock"
|
||||
${pkgs.swaylock}/bin/swaylock
|
||||
${pkgs.hyprlock}/bin/hyprlock
|
||||
elif [ "$selected_option" == "$poweroff" ]
|
||||
then
|
||||
echo "poweroff"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ let
|
|||
terminal = "${pkgs.kitty}/bin/kitty";
|
||||
launcher = "${self-pkgs.fuzzel-launch}/bin/fuzzel-launch";
|
||||
power-menu = "${self-pkgs.fuzzel-power}/bin/fuzzel-power";
|
||||
lockscreen = "${pkgs.swaylock}/bin/swaylock";
|
||||
lockscreen = "${pkgs.hyprlock}/bin/hyprlock";
|
||||
autostart-string =
|
||||
"spawn-at-startup \""
|
||||
+ pkgs.lib.strings.concatStringsSep "\nspawn-at-startup \"" [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue