Skip to content

Commit

Permalink
fix(wallpaper): renew wallpaper
Browse files Browse the repository at this point in the history
  • Loading branch information
misumisumi committed Sep 30, 2024
1 parent 0d35c6a commit ced9464
Show file tree
Hide file tree
Showing 15 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion apps/user/full/wm/qtile/conf/my_modules/wallpaper.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@ def change_wallpaper():
def init_screen_wallpapers():
feh = "feh"
for i, _ in enumerate(qtile.screens):
feh += f" --bg-fill {GlobalConf.wallpapers[i]}"
if i < len(GlobalConf.wallpapers):
feh += f" --bg-fill {GlobalConf.wallpapers[i]}"
else:
feh += f" --bg-fill {GlobalConf.wallpapers[0]}"
subprocess.run(feh, shell=True)
2 changes: 1 addition & 1 deletion apps/user/full/xsession/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

Service = {
Type = "oneshot";
ExecStart = "${config.services.betterlockscreen.package}/bin/betterlockscreen -u ${config.xdg.userDirs.pictures}/Pictures/wallpapers/screen_saver.png";
ExecStart = "${config.services.betterlockscreen.package}/bin/betterlockscreen -u ${config.xdg.userDirs.pictures}/wallpapers/screen_saver.png";
};
};

Expand Down
Binary file added apps/user/full/xsession/wallpapers/05_love.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/user/full/xsession/wallpapers/screen_saver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file removed apps/user/full/xsession/wallpapers/unfixed/5_SNS.png
Binary file not shown.

0 comments on commit ced9464

Please sign in to comment.