update

Ryan Gibb dedd767a 7947d1fb

Changed files
+21 -9
home
modules
+19 -1
home/gui/default.nix
···
imports = [
./i3.nix
./sway.nix
+
inputs.timewall.homeManagerModules.default
];
options.custom.gui.enable = lib.mkEnableOption "gui";
···
save_filename_format=screenshot_%Y-%m-%dT%H:%M:%S%z.png
'';
"tridactyl/tridactylrc".source = ./tridactylrc;
-
"timewall/config.toml".source = ./timewall.toml;
};
userDirs = {
enable = true;
···
desktop = "$HOME/";
templates = "$HOME/";
publicShare = "$HOME/";
+
};
+
};
+
+
services.timewall = {
+
enable = true;
+
config = {
+
setter = {
+
command = [
+
"${pkgs.swaybg}/bin/swaybg"
+
"-i"
+
"%f"
+
"-c"
+
"282828"
+
"-m"
+
"fill"
+
];
+
overlap = 1000;
+
};
};
};
};
-7
home/gui/timewall.toml
···
-
[geoclue]
-
enable = true
-
prefer = true
-
-
[setter]
-
command = [ "swaybg", "-i", "%f", "-c", "282828", "-m", "fill" ]
-
overlap = 1000
+1 -1
home/gui/wm/sway/exec
···
exec systemctl --user start gammastep
-
exec timewall set --daemon
+
exec systemctl --user start timewall
# https://github.com/dunst-project/dunst/issues/1396
exec $SCRIPT_DIR/dunst_restart.sh
+1
modules/home-manager.nix
···
useGlobalPkgs = true;
extraSpecialArgs = {
i3-workspace-history = inputs.i3-workspace-history;
+
timewall = inputs.timewall;
};
users.${config.custom.username} = import ../home/default.nix;
};