aboutsummaryrefslogtreecommitdiff
path: root/home/dot_local/share/mode/switch.d
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2026-08-22 21:36:56 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2026-08-22 21:36:56 +0200
commit57281d4490e257c1f6ed89940c751fd90d39cfd2 (patch)
treef8af01ff60e04b78ca3f22a5edb1b2f631c9674b /home/dot_local/share/mode/switch.d
parent21f32ce419993818444736f9e6780278acee375e (diff)
the great shebang rectification
Diffstat (limited to 'home/dot_local/share/mode/switch.d')
-rw-r--r--home/dot_local/share/mode/switch.d/executable_anki2
-rw-r--r--home/dot_local/share/mode/switch.d/executable_chromium2
-rw-r--r--home/dot_local/share/mode/switch.d/executable_discord2
-rw-r--r--home/dot_local/share/mode/switch.d/executable_dunst2
-rw-r--r--home/dot_local/share/mode/switch.d/executable_fcitx52
-rw-r--r--home/dot_local/share/mode/switch.d/executable_gtk2
-rw-r--r--home/dot_local/share/mode/switch.d/executable_i32
-rw-r--r--home/dot_local/share/mode/switch.d/executable_kitty2
-rw-r--r--home/dot_local/share/mode/switch.d/executable_mode2
-rw-r--r--home/dot_local/share/mode/switch.d/executable_polybar2
-rw-r--r--home/dot_local/share/mode/switch.d/executable_vim2
-rw-r--r--home/dot_local/share/mode/switch.d/executable_wall2
-rw-r--r--home/dot_local/share/mode/switch.d/executable_xrdb2
-rw-r--r--home/dot_local/share/mode/switch.d/executable_zathura2
14 files changed, 14 insertions, 14 deletions
diff --git a/home/dot_local/share/mode/switch.d/executable_anki b/home/dot_local/share/mode/switch.d/executable_anki
index 7572b00..7544673 100644
--- a/home/dot_local/share/mode/switch.d/executable_anki
+++ b/home/dot_local/share/mode/switch.d/executable_anki
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
[ $no_cfg -eq 1 ] && return
# this generates theme files compatible with Anki-redesign:
diff --git a/home/dot_local/share/mode/switch.d/executable_chromium b/home/dot_local/share/mode/switch.d/executable_chromium
index 0ea2caa..5a6fdfc 100644
--- a/home/dot_local/share/mode/switch.d/executable_chromium
+++ b/home/dot_local/share/mode/switch.d/executable_chromium
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
[ $no_cfg -eq 1 ] && return
mkcd "$XDG_CACHE_HOME/mode/chromium"
diff --git a/home/dot_local/share/mode/switch.d/executable_discord b/home/dot_local/share/mode/switch.d/executable_discord
index dd7e5e3..018a869 100644
--- a/home/dot_local/share/mode/switch.d/executable_discord
+++ b/home/dot_local/share/mode/switch.d/executable_discord
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
[ $no_cfg -eq 1 ] && return
mkcd "$XDG_CONFIG_HOME/BetterDiscord/themes"
diff --git a/home/dot_local/share/mode/switch.d/executable_dunst b/home/dot_local/share/mode/switch.d/executable_dunst
index d7d9a2b..dfd87fb 100644
--- a/home/dot_local/share/mode/switch.d/executable_dunst
+++ b/home/dot_local/share/mode/switch.d/executable_dunst
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
[ $no_cfg -eq 1 ] && return
mkcd "$XDG_CONFIG_HOME/dunst"
diff --git a/home/dot_local/share/mode/switch.d/executable_fcitx5 b/home/dot_local/share/mode/switch.d/executable_fcitx5
index 2cc6ccb..c046737 100644
--- a/home/dot_local/share/mode/switch.d/executable_fcitx5
+++ b/home/dot_local/share/mode/switch.d/executable_fcitx5
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
[ $no_cfg -eq 1 ] && return
mkcd "$XDG_DATA_HOME/fcitx5/themes/mode"
diff --git a/home/dot_local/share/mode/switch.d/executable_gtk b/home/dot_local/share/mode/switch.d/executable_gtk
index 95d3e53..13a2d9e 100644
--- a/home/dot_local/share/mode/switch.d/executable_gtk
+++ b/home/dot_local/share/mode/switch.d/executable_gtk
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
GTK_3_SETTINGS_INI="$XDG_CONFIG_HOME/gtk-3.0/settings.ini"
if [ "$mode" = "light" ]; then
sed -e 's/-Dark/-Light/' -e 's/-dark/-light/' -i "$GTK_3_SETTINGS_INI"
diff --git a/home/dot_local/share/mode/switch.d/executable_i3 b/home/dot_local/share/mode/switch.d/executable_i3
index 713869e..09d6c7e 100644
--- a/home/dot_local/share/mode/switch.d/executable_i3
+++ b/home/dot_local/share/mode/switch.d/executable_i3
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
[ $no_cfg -eq 1 ] && return
indicator="$color0"
diff --git a/home/dot_local/share/mode/switch.d/executable_kitty b/home/dot_local/share/mode/switch.d/executable_kitty
index eeb81d0..2d7b115 100644
--- a/home/dot_local/share/mode/switch.d/executable_kitty
+++ b/home/dot_local/share/mode/switch.d/executable_kitty
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
[ $no_cfg -eq 1 ] && return
mkcd "$XDG_CONFIG_HOME/kitty"
diff --git a/home/dot_local/share/mode/switch.d/executable_mode b/home/dot_local/share/mode/switch.d/executable_mode
index 8866486..46f7052 100644
--- a/home/dot_local/share/mode/switch.d/executable_mode
+++ b/home/dot_local/share/mode/switch.d/executable_mode
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
[ $no_cfg -eq 1 ] && return
mkcd "$XDG_CACHE_HOME/mode/state"
diff --git a/home/dot_local/share/mode/switch.d/executable_polybar b/home/dot_local/share/mode/switch.d/executable_polybar
index 7087735..48e2dac 100644
--- a/home/dot_local/share/mode/switch.d/executable_polybar
+++ b/home/dot_local/share/mode/switch.d/executable_polybar
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
[ $no_cfg -eq 1 ] && return
mkcd "$XDG_CONFIG_HOME/polybar"
diff --git a/home/dot_local/share/mode/switch.d/executable_vim b/home/dot_local/share/mode/switch.d/executable_vim
index 2220b1a..18841b9 100644
--- a/home/dot_local/share/mode/switch.d/executable_vim
+++ b/home/dot_local/share/mode/switch.d/executable_vim
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
[ $no_cfg -eq 1 ] && return
mkcd "$XDG_CONFIG_HOME/nvim/mode"
diff --git a/home/dot_local/share/mode/switch.d/executable_wall b/home/dot_local/share/mode/switch.d/executable_wall
index c5ced92..4d0037f 100644
--- a/home/dot_local/share/mode/switch.d/executable_wall
+++ b/home/dot_local/share/mode/switch.d/executable_wall
@@ -1,2 +1,2 @@
-#!/bin/sh
+#!/usr/bin/env sh
bgcol "$bg"
diff --git a/home/dot_local/share/mode/switch.d/executable_xrdb b/home/dot_local/share/mode/switch.d/executable_xrdb
index 591a530..e1c439b 100644
--- a/home/dot_local/share/mode/switch.d/executable_xrdb
+++ b/home/dot_local/share/mode/switch.d/executable_xrdb
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
cat << EOF | xrdb -override
*.color0: $color0
*.color1: $color1
diff --git a/home/dot_local/share/mode/switch.d/executable_zathura b/home/dot_local/share/mode/switch.d/executable_zathura
index 8d7e311..ed7ae32 100644
--- a/home/dot_local/share/mode/switch.d/executable_zathura
+++ b/home/dot_local/share/mode/switch.d/executable_zathura
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
[ $no_cfg -eq 1 ] && return
mkcd "$XDG_CONFIG_HOME/zathura"