-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathafterwal
More file actions
executable file
·38 lines (29 loc) · 1.12 KB
/
afterwal
File metadata and controls
executable file
·38 lines (29 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/fish
set lock_effect --blur 1
set wal_effect
source $HOME/.cache/wal/colors-fish.sh
[ $wallpaper = 'None' ] && echo $argv[1] > $HOME/.cache/wal/wal
multilockscreen -u (cat $HOME/.cache/wal/wal) $wal_effect $lock_effect --fx (echo $wal_effect | sed 's/ .*/,/; s/--//')(echo $lock_effect | sed 's/ .*//; s/--//')
switch (echo $wal_effect | sed 's/ .*//;')
case ''
feh --bg-fill "$HOME/.cache/multilock/current/wall_resize.png"
case --dim
feh --bg-fill "$HOME/.cache/multilock/current/wall_dim.png"
case --blur
feh --bg-fill "$HOME/.cache/multilock/current/wall_blur.png"
case --dimblur
feh --bg-fill "$HOME/.cache/multilock/current/wall_dimblur.png"
case --pixel
feh --bg-fill "$HOME/.cache/multilock/current/wall_pixel.png"
case --dimpixel
feh --bg-fill "$HOME/.cache/multilock/current/wall_dimpixel.png"
end
pywalfox update &
#sudo make -C /home/kyle/packages/dwm clean install
#killall dwm
bspc wm -r
killall dusnt
startdunst & disown
echo "#!/bin/fish"\n"multilockscreen -l (echo $lock_effect | sed 's/ .*//; s/--//') --off 10s" > $HOME/scripts/lock.sh
# cava
cp $HOME/.cache/wal/cava $HOME/.config/cava/config