Compare commits

..

No commits in common. "9e6e34ed7974cb62db072b2aa6c9178832c90798" and "e32305803a4110552a7875a4fa65491b766ce959" have entirely different histories.

3 changed files with 0 additions and 18 deletions

View File

@ -10,11 +10,6 @@ in
config = lib.mkIf cfg.enable {
# Common options for standalone window managers; many of these (or
# alternatives thereof) are pulled in by desktop environments.
programs = {
swaylock = {
enable = true;
};
};
services = {
udiskie = {
enable = mkDefault true;

View File

@ -4,7 +4,6 @@ let
mkd = lib.mkDefault;
hyprland-pkg = config.wayland.windowManager.hyprland.finalPackage;
# commands
terminal = "${pkgs.kitty}/bin/kitty";
files = "${pkgs.dolphin}/bin/dolphin";
rofi = "${pkgs.rofi-wayland}/bin/rofi";
@ -12,13 +11,6 @@ let
brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl";
polkit-agent = "${pkgs.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1";
grimblast = "${inputs.hyprwm-contrib.packages.${pkgs.system}.grimblast}/bin/grimblast";
swayidle = "${pkgs.swayidle}/bin/swayidle";
swaylock = "${pkgs.swaylock}/bin/swaylock";
hyprctl = "${hyprland-pkg}/bin/hyprctl";
pkill = "${pkgs.procps}/bin/pkill";
lock-cmd = "${swaylock}";
idle-cmd = "${swayidle} -w timeout 300 '${hyprctl} dispatch dpms off' timeout 315 '${lock-cmd}' resume '${hyprctl} dispatch dpms on' before-sleep '${lock-cmd}' lock '${lock-cmd}' unlock '${pkill} -USR1 -x swaylock'";
hypr-dispatcher-package = pkgs.callPackage ./dispatcher { hyprland = hyprland-pkg; };
hypr-dispatcher = "${hypr-dispatcher-package}/bin/hypr-dispatcher";
@ -92,7 +84,6 @@ in
notifydaemon
polkit-agent
xdpg-workaround
idle-cmd
];
# Source a file (multi-file configs)
@ -260,9 +251,6 @@ in
"$mod SHIFT, S, exec, ${grimblast} copy area"
"$mod CONTROL SHIFT, S, exec, ${grimblast} copy output"
# lock screen
"$mod SHIFT, x, exec, ${lock-cmd}"
# Scroll through existing workspaces with mod + scroll
"$mod, mouse_down, workspace, e+1"

View File

@ -14,7 +14,6 @@ in
programs = {
nm-applet.enable = mkDefault config.networking.networkmanager.enable;
};
security.pam.services.swaylock = {};
};
options = {
nixfiles.common.wm.enable = mkEnableOption "common window manager configuration";