File tree 4 files changed +6
-11
lines changed
4 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 77
77
src : " /etc/X11/xinit/xinitrc"
78
78
dest : " {{ home_dir }}/.xinitrc"
79
79
when : use_wayland != "Y"
80
-
81
- - name : Set X11 Wallpaper
82
- command :
83
- cmd : " nitrogen --set-auto {{ dotfiles_dir }}/images/background.jpg || nitrogen --set-auto {{ dotfiles_dir }}/images/background.png"
84
- when : use_wayland != "Y"
Original file line number Diff line number Diff line change 2
2
3
3
selection=$( echo $HOME /projects/dotfiles/images/backgrounds/* | tr " " " \n" | xargs -I {} basename {} | fzf)
4
4
5
- cp $HOME /projects/dotfiles/images/backgrounds/$selection $HOME /.config/background.jpg
5
+ cp $HOME /projects/dotfiles/images/backgrounds/$selection $HOME /.config/background
6
6
wal -c
7
7
$HOME /projects/dotfiles/custom/wm-style
Original file line number Diff line number Diff line change 3
3
if [[ -z $WAYLAND_DISPLAY ]]; then
4
4
betterlockscreen -l --display 1
5
5
else
6
- swaylock -i ~ /projects/dotfiles/images/ background. * \
6
+ swaylock -i $HOME /.config/ background \
7
7
--clock \
8
8
--font " JetBrains Mono" \
9
9
--indicator-radius 150 \
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
if [[ -z $WAYLAND_DISPLAY ]]; then
4
- nitrogen --set-scaled ~ /.config/background.jpg && \
5
- wal -n -i ~ /.config/background.jpg && \
4
+ nitrogen --set-scaled ~ /.config/background && \
5
+ wal -n -i ~ /.config/background && \
6
6
killall polybar; ~ /projects/dotfiles/custom/start-polybar.sh
7
7
else
8
8
9
9
killall swaybg; \
10
- (swaybg -i ~ /.config/background.jpg -m fill & ) && \
11
- wal -n -i ~ /.config/background.jpg && \
10
+ (swaybg -i ~ /.config/background -m fill & ) && \
11
+ wal -n -i ~ /.config/background && \
12
12
~ /projects/dotfiles/custom/gen-waybar-config && \
13
13
killall waybar; waybar -c ~ /.config/waybar-theme/config &
14
14
fi
You can’t perform that action at this time.
0 commit comments