move pywal to hyprland

This commit is contained in:
Benjamin Palko 2024-08-29 09:05:04 -04:00
parent 55f2ca393b
commit 0f73c59ec7
2 changed files with 12 additions and 12 deletions

View file

@ -15,6 +15,18 @@
swaynotificationcenter
volantes-cursors
pywal
(pkgs.writeShellScriptBin "pywal" ''
# -n tells `wal` to skip setting the wallpaper.
wal -i ~/Wallpapers/ -n
# Using feh to tile the wallpaper now.
# We grab the wallpaper location from wal's cache so
# that this works even when a directory is passed.
swww img "$(<"${config.home.homeDirectory}/.cache/wal/wal")" --transition-type wipe --transition-angle 45 --transition-fps 90
# Copy cava and update config
cp ~/.cache/wal/cava-config ~/.config/cava/config && pkill -USR2 cava
'')
];
programs.waybar = {

View file

@ -65,17 +65,5 @@
home.packages = with pkgs; [
neofetch
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
(pkgs.writeShellScriptBin "pywal" ''
# -n tells `wal` to skip setting the wallpaper.
wal -i ~/Wallpapers/ -n
# Using feh to tile the wallpaper now.
# We grab the wallpaper location from wal's cache so
# that this works even when a directory is passed.
swww img "$(<"${config.home.homeDirectory}/.cache/wal/wal")" --transition-type wipe --transition-angle 45 --transition-fps 90
# Copy cava and update config
cp ~/.cache/wal/cava-config ~/.config/cava/config && pkill -USR2 cava
'')
];
}