My NixOS configuration and dotfiles
0

Configure Feed

Select the types of activity you want to include in your feed.

feat: add wallpaper and swaybg spawn to niri config

+11
+11
gui/niri.nix
··· 23 23 24 24 niri-native-pkgs = pkgs.extend niriNativeOverlay; 25 25 26 + wallpaper = ../wallpapers/linux_fuck_nvidia.jpeg; 27 + 26 28 notif = 27 29 { title, message }: 28 30 "notify-send \"${title}\" \"${message}\" --expire-time=500 -p --replace-id=$(cat '/tmp/niri-${title}') > '/tmp/niri-${title}' || notify-send \"${title}\" \"${message}\" --expire-time=500 -p > '/tmp/niri-${title}'"; ··· 336 338 { argv = [ "${pkgs.wl-gammarelay-rs}/bin/wl-gammarelay-rs" ]; } 337 339 { argv = [ "bash" "-c" "for i in {1..20}; do if ${pkgs.systemd}/bin/busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Brightness d 0.7 && ${pkgs.systemd}/bin/busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 4500; then break; fi; sleep 0.5; done" ]; } 338 340 { argv = [ "kitty" ]; } 341 + { 342 + argv = [ 343 + "${pkgs.swaybg}/bin/swaybg" 344 + "-i" 345 + "${wallpaper}" 346 + "-m" 347 + "fill" 348 + ]; 349 + } 339 350 { 340 351 argv = [ 341 352 "niri"
wallpapers/linux_fuck_nvidia.jpeg

This is a binary file and will not be displayed.