This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/programs/desktop/default.nix
Evie Litherland-Smith 98b04a645a Switch swaync for mako
Move waybar to bottom of screen, move workspaces module to the left
and mpris to the centre
2024-05-28 07:47:00 +01:00

33 lines
945 B
Nix

{pkgs, ...}: {
imports = [
./sway/default.nix
./niri/default.nix
./foot/default.nix
./alacritty/default.nix
./avizo/default.nix
./fuzzel/default.nix
./swaylock/default.nix
./swayidle/default.nix
./mako/default.nix
./waybar/default.nix
./wlogout/default.nix
];
home.packages = with pkgs; [
swaybg
(writeShellScriptBin "set-background" ''
${swaybg}/bin/swaybg -m fill -i ${./wallpapers/default.jpg}
'')
(writeShellScriptBin "protonmail-setup-bridge" ''
pkill -9 -f protonmail-bridge
${protonmail-bridge}/bin/protonmail-bridge -c
swaymsg exec "${protonmail-bridge}/bin/protonmail-bridge -n"
'')
(writeShellScriptBin "davmail-setup" ''
systemctl --user restart davmail # Ensure config file is present
systemctl --user stop davmail
${davmail}/bin/davmail -n ~/.davmail.properties
systemctl --user restart davmail
'')
];
}