diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile | 2 | ||||
| -rwxr-xr-x | scripts/get_weather | 4 | ||||
| -rwxr-xr-x | scripts/mpvopen | 4 | ||||
| -rwxr-xr-x | scripts/set_theme.sh | 4 |
4 files changed, 11 insertions, 3 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index b275cfb..f978670 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -1,6 +1,6 @@ include ../config.mk install: - cp brighter darker vol_down vol_up mute mic_toggle $(PREFIX)/bin + cp brighter darker vol_down vol_up mpvopen get_weather mute mic_toggle $(PREFIX)/bin clean: rm $(PREFIX)/bin/{brighter,darker,vol_down,vol_up,mute,mic_toggle} diff --git a/scripts/get_weather b/scripts/get_weather new file mode 100755 index 0000000..d2c760a --- /dev/null +++ b/scripts/get_weather @@ -0,0 +1,4 @@ +#!/bin/sh + +curl wttr.in > ~/.cache/weather_report +st less -Srf ~/.cache/weather_report diff --git a/scripts/mpvopen b/scripts/mpvopen new file mode 100755 index 0000000..f1a4846 --- /dev/null +++ b/scripts/mpvopen @@ -0,0 +1,4 @@ +#!/bin/sh + +notify-send "Opening $(xclip -o) in MPV" +mpv $(xclip -o) diff --git a/scripts/set_theme.sh b/scripts/set_theme.sh index c25883d..cd4eca8 100755 --- a/scripts/set_theme.sh +++ b/scripts/set_theme.sh @@ -3,7 +3,7 @@ echo "Choose a theme:" && ls ./theme/ read theme -cp ./theme/$theme/$theme.png $HOME/.config/wallpaper.png -cp ./theme/$theme/colors.h ./dwm-6.3 +cp ./theme/$theme/$theme.png $HOME/.config/sarc/wallpaper.png +cp ./theme/$theme/colors.h ./ echo "Done" |