mirror of
https://github.com/zoriya/flake.git
synced 2026-06-07 12:25:59 +00:00
Fix wallpaper
This commit is contained in:
@@ -160,7 +160,10 @@
|
||||
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
config.theme = "base16";
|
||||
config = {
|
||||
# theme-light = "GitHub";
|
||||
# theme-dark = "base16";
|
||||
};
|
||||
};
|
||||
|
||||
programs.command-not-found.enable = false;
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
WP=$(find $WALLPAPERS -type f | shuf -n 1)
|
||||
ln -fs "$WP" ~/.cache/current-wallpaper
|
||||
|
||||
${pkgs.wbg}/bin/wbg "$WP" > /dev/null 2> /dev/null & disown
|
||||
echo "$WP"
|
||||
'';
|
||||
in {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
flood,
|
||||
river-src,
|
||||
...
|
||||
...
|
||||
}: self: super: let
|
||||
wrapProgram = drv: bins: wrapProgramFlags:
|
||||
super.symlinkJoin {
|
||||
@@ -65,6 +65,12 @@ in {
|
||||
src = river-src;
|
||||
};
|
||||
|
||||
wbg = super.wbg.overrideAttrs {
|
||||
env.NIX_CFLAGS_COMPILE = toString [
|
||||
"-Wno-error=maybe-uninitialized"
|
||||
];
|
||||
};
|
||||
|
||||
# Gnome-control-center can only be launched if XDG_CURRENT_DESKTOP is GNOME.
|
||||
gnome-control-center = wrapProgram super.gnome-control-center ["gnome-control-center"] "--set XDG_CURRENT_DESKTOP GNOME";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user