improvements
This commit is contained in:
parent
48c56b7d5d
commit
84581cfd9e
9 changed files with 4 additions and 32 deletions
0
.local/bin/ctpvclear
Normal file → Executable file
0
.local/bin/ctpvclear
Normal file → Executable file
0
.local/bin/ctpvquit
Normal file → Executable file
0
.local/bin/ctpvquit
Normal file → Executable file
0
.local/bin/dwl
Normal file → Executable file
0
.local/bin/dwl
Normal file → Executable file
4
.local/bin/dwllaunch
Executable file
4
.local/bin/dwllaunch
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/zsh -l
|
||||||
|
/usr/libexec/pipewire-launcher >/dev/null 2>&1
|
||||||
|
slstatus | dbus-run-session dwl >/dev/null 2>&1
|
||||||
|
touch /tmp/swaylock-sleep && inotifyd swaylock /tmp/swaylock-sleep
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
zsh -lc "/usr/libexec/pipewire-launcher & slstatus | dbus-run-session dwl"
|
|
0
.local/bin/hellwal
Normal file → Executable file
0
.local/bin/hellwal
Normal file → Executable file
|
@ -1,30 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# generates colorscheme, recompiles dwl and asks to logout, if not it sets the wallpaper to remind you.
|
|
||||||
wallpaper="$1"
|
|
||||||
dwlsrc_dir="$HOME/.local/src/dwl/"
|
|
||||||
|
|
||||||
setwp() {
|
|
||||||
pkill wbg; setsid wbg "$wallpaper" >/dev/null 2>&1 &
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ -f "$wallpaper" ]; then
|
|
||||||
hellwal -q -i "$1"
|
|
||||||
else
|
|
||||||
echo "error: invalid path"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "$dwlsrc_dir" ]; then
|
|
||||||
cd "$dwlsrc_dir"
|
|
||||||
bwroot make clean install >/dev/null 2>&1
|
|
||||||
notify-send "setbg" "successfully compiled dwl!"
|
|
||||||
|
|
||||||
case $(printf "%s\n" "Yes" "No" | fuzzel -d -p "Log out now?") in
|
|
||||||
"Yes") kill "$(pidof dwl)" ;;
|
|
||||||
"No") setwp ;;
|
|
||||||
*) notify-send "setbg" "don't forget to log out!"; exit ;;
|
|
||||||
esac
|
|
||||||
else
|
|
||||||
notify-send "setbg" "dwl directory not found"
|
|
||||||
exit
|
|
||||||
fi
|
|
0
.local/bin/slstatus
Normal file → Executable file
0
.local/bin/slstatus
Normal file → Executable file
Binary file not shown.
Loading…
Add table
Reference in a new issue