Evie Litherland-Smith
98b04a645a
Move waybar to bottom of screen, move workspaces module to the left and mpris to the centre
33 lines
945 B
Nix
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
|
|
'')
|
|
];
|
|
}
|