From 6bfd3330510b9778e54644941521d3a53acfbc40 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 15 Nov 2018 16:06:31 -0600 Subject: [PATCH] DSK: Put shebangs on the top of all of our scripts That way syntax highlighting works --- .config/dsk/run/compton | 1 + .config/dsk/run/conky | 1 + .config/dsk/run/dropbox | 1 + .config/dsk/run/dunst | 1 + .config/dsk/run/i3wm | 1 + .config/dsk/run/kded5 | 1 + .config/dsk/run/kdeinit5 | 1 + .config/dsk/run/nitrogen | 1 + .config/dsk/run/polkit-kde | 1 + .config/dsk/run/polybar | 1 + .config/dsk/run/pulseaudio | 1 + .config/dsk/run/redshift | 1 + .config/dsk/run/syncthing | 1 + .config/dsk/run/xrdbupdate | 1 + .config/dsk/run/xset | 1 + 15 files changed, 15 insertions(+) diff --git a/.config/dsk/run/compton b/.config/dsk/run/compton index a7e856f7..b9970134 100755 --- a/.config/dsk/run/compton +++ b/.config/dsk/run/compton @@ -1,2 +1,3 @@ +#! /usr/bin/env bash [[ "$HOST" == "vm-*" ]] && exit 0 compton diff --git a/.config/dsk/run/conky b/.config/dsk/run/conky index 66456f77..f1cc9df3 100755 --- a/.config/dsk/run/conky +++ b/.config/dsk/run/conky @@ -1 +1,2 @@ +#! /usr/bin/env bash conky diff --git a/.config/dsk/run/dropbox b/.config/dsk/run/dropbox index 8dd1bd05..4a8b63d5 100755 --- a/.config/dsk/run/dropbox +++ b/.config/dsk/run/dropbox @@ -1 +1,2 @@ +#! /usr/bin/env bash dropbox start diff --git a/.config/dsk/run/dunst b/.config/dsk/run/dunst index 053749f9..0c96a38a 100755 --- a/.config/dsk/run/dunst +++ b/.config/dsk/run/dunst @@ -1 +1,2 @@ +#! /usr/bin/env bash dunst diff --git a/.config/dsk/run/i3wm b/.config/dsk/run/i3wm index 04ad29f0..bb91a3e1 100755 --- a/.config/dsk/run/i3wm +++ b/.config/dsk/run/i3wm @@ -1 +1,2 @@ +#! /usr/bin/env bash i3 diff --git a/.config/dsk/run/kded5 b/.config/dsk/run/kded5 index fadb3634..ea5dbe75 100755 --- a/.config/dsk/run/kded5 +++ b/.config/dsk/run/kded5 @@ -1 +1,2 @@ +#! /usr/bin/env bash kded5 diff --git a/.config/dsk/run/kdeinit5 b/.config/dsk/run/kdeinit5 index 5e10071a..c06b8335 100755 --- a/.config/dsk/run/kdeinit5 +++ b/.config/dsk/run/kdeinit5 @@ -1 +1,2 @@ +#! /usr/bin/env bash kdeinit5 diff --git a/.config/dsk/run/nitrogen b/.config/dsk/run/nitrogen index 6ffe291a..4cd7aba1 100755 --- a/.config/dsk/run/nitrogen +++ b/.config/dsk/run/nitrogen @@ -1,2 +1,3 @@ +#! /usr/bin/env bash which nitrogen > /dev/null 2>&1 || exit 0 nitrogen --restore diff --git a/.config/dsk/run/polkit-kde b/.config/dsk/run/polkit-kde index 7341d2d4..75d13ea4 100755 --- a/.config/dsk/run/polkit-kde +++ b/.config/dsk/run/polkit-kde @@ -1 +1,2 @@ +#! /usr/bin/env bash /usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1 diff --git a/.config/dsk/run/polybar b/.config/dsk/run/polybar index 1ee9ff9c..e130e2e7 100755 --- a/.config/dsk/run/polybar +++ b/.config/dsk/run/polybar @@ -1,3 +1,4 @@ +#! /usr/bin/env bash # Make sure we have our xrdb stuff going if $(which xrdbupdate) > /dev/null 2>&1; then xrdbupdate > /dev/null 2>&1 diff --git a/.config/dsk/run/pulseaudio b/.config/dsk/run/pulseaudio index aa621536..c1a590e8 100755 --- a/.config/dsk/run/pulseaudio +++ b/.config/dsk/run/pulseaudio @@ -1 +1,2 @@ +#! /usr/bin/env bash pulseaudio --daemonize=no diff --git a/.config/dsk/run/redshift b/.config/dsk/run/redshift index 8e6b266d..1dbd5e9d 100755 --- a/.config/dsk/run/redshift +++ b/.config/dsk/run/redshift @@ -1 +1,2 @@ +#! /usr/bin/env bash redshift diff --git a/.config/dsk/run/syncthing b/.config/dsk/run/syncthing index 736d7dae..83d10850 100755 --- a/.config/dsk/run/syncthing +++ b/.config/dsk/run/syncthing @@ -1 +1,2 @@ +#! /usr/bin/env bash syncthing --no-browser diff --git a/.config/dsk/run/xrdbupdate b/.config/dsk/run/xrdbupdate index 32ebd9cc..dabdb840 100755 --- a/.config/dsk/run/xrdbupdate +++ b/.config/dsk/run/xrdbupdate @@ -1,3 +1,4 @@ +#! /usr/bin/env bash [ -r ~/.Xresources ] && xrdb ~/.Xresources for file in $XDG_CONFIG_HOME/xrdb/*.xresources; do [ -r "$file" ] && xrdb -merge "$file" diff --git a/.config/dsk/run/xset b/.config/dsk/run/xset index dfd7115f..5bedfb1f 100755 --- a/.config/dsk/run/xset +++ b/.config/dsk/run/xset @@ -1,3 +1,4 @@ +#! /usr/bin/env bash # No bell xset -b # No screen blanking