From b0e83e2ee3fc328e55119ee7c1f09ad7ed20a635 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 5 Jun 2026 11:06:02 +0100 Subject: Move more host tooling to Nix --- dot_config/sway/executable_brightness-osd.sh | 2 +- dot_config/sway/executable_bt-toggle.sh | 2 +- dot_config/sway/executable_display-toggle.sh | 2 +- dot_config/sway/executable_display-watcher.sh | 2 +- dot_config/sway/executable_emoji-picker.sh | 2 +- dot_config/sway/executable_emoji-wofi.sh | 2 +- dot_config/sway/executable_power-menu.sh | 2 +- dot_config/sway/executable_tb-autostart.sh | 2 +- dot_config/sway/executable_tb-toggle.sh | 2 +- dot_config/sway/executable_type-vpn-otp.sh | 2 +- dot_config/sway/executable_vol-osd.sh | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) (limited to 'dot_config/sway') diff --git a/dot_config/sway/executable_brightness-osd.sh b/dot_config/sway/executable_brightness-osd.sh index cc802ad..614fc6f 100644 --- a/dot_config/sway/executable_brightness-osd.sh +++ b/dot_config/sway/executable_brightness-osd.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env dash # Print brightness percent to wob's fifo to flash a brightness bar. # Usage: brightness-osd.sh up|down set -eu diff --git a/dot_config/sway/executable_bt-toggle.sh b/dot_config/sway/executable_bt-toggle.sh index 02b72f9..29ec6c6 100644 --- a/dot_config/sway/executable_bt-toggle.sh +++ b/dot_config/sway/executable_bt-toggle.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env dash # Toggle Bluetooth power via bluetoothctl. Uses notify-send's synchronous # hint so repeated toggles replace the previous notification instead of # stacking. diff --git a/dot_config/sway/executable_display-toggle.sh b/dot_config/sway/executable_display-toggle.sh index 39e3367..50f84f8 100755 --- a/dot_config/sway/executable_display-toggle.sh +++ b/dot_config/sway/executable_display-toggle.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env dash # Display mode manager: laptop-off ↔ side-by-side. # (no arg) toggle between modes (F7 / Super+x d). # apply re-apply the saved mode (used by display-watcher after diff --git a/dot_config/sway/executable_display-watcher.sh b/dot_config/sway/executable_display-watcher.sh index 94ee943..7e446f5 100755 --- a/dot_config/sway/executable_display-watcher.sh +++ b/dot_config/sway/executable_display-watcher.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env dash # Watch sway output events. When the set of connected external displays # changes (plug/unplug), re-apply the preferred layout via display-toggle.sh. # Manual F7 toggles don't trip this because they don't change external count. diff --git a/dot_config/sway/executable_emoji-picker.sh b/dot_config/sway/executable_emoji-picker.sh index 2a18283..86a379f 100644 --- a/dot_config/sway/executable_emoji-picker.sh +++ b/dot_config/sway/executable_emoji-picker.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env dash # Bemoji wrapper: drop skin-tone variants (U+1F3FB..U+1F3FF) so the # picker isn't cluttered with five copies of every people-emoji. # Bemoji pipes its emoji list to whatever BEMOJI_PICKER_CMD evaluates diff --git a/dot_config/sway/executable_emoji-wofi.sh b/dot_config/sway/executable_emoji-wofi.sh index 8d37240..1c16169 100644 --- a/dot_config/sway/executable_emoji-wofi.sh +++ b/dot_config/sway/executable_emoji-wofi.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env dash # Bemoji picker backend: filter out skin-tone variants # (U+1F3FB..U+1F3FF) before handing the emoji list to wofi. set -eu diff --git a/dot_config/sway/executable_power-menu.sh b/dot_config/sway/executable_power-menu.sh index 999259c..40598a8 100644 --- a/dot_config/sway/executable_power-menu.sh +++ b/dot_config/sway/executable_power-menu.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env dash # Keyboard-driven power menu via wofi --dmenu (j/k navigation). set -eu diff --git a/dot_config/sway/executable_tb-autostart.sh b/dot_config/sway/executable_tb-autostart.sh index 13c8fe8..3a85dc5 100644 --- a/dot_config/sway/executable_tb-autostart.sh +++ b/dot_config/sway/executable_tb-autostart.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env dash # Launch Thunderbird and stash the main window into the scratchpad once sway # marks it. Used at sway startup so TB is running but hidden from the outset. # Invoking Super+t (tb-toggle.sh) while TB isn't running takes a different diff --git a/dot_config/sway/executable_tb-toggle.sh b/dot_config/sway/executable_tb-toggle.sh index 56bb662..13382ed 100644 --- a/dot_config/sway/executable_tb-toggle.sh +++ b/dot_config/sway/executable_tb-toggle.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env dash # Toggle the Thunderbird main window between the sway scratchpad and the # current workspace (tiled). If Thunderbird isn't running yet, launch it — # the for_window rule in sway config will mark it and stash it. diff --git a/dot_config/sway/executable_type-vpn-otp.sh b/dot_config/sway/executable_type-vpn-otp.sh index b3f0924..f62ecbc 100644 --- a/dot_config/sway/executable_type-vpn-otp.sh +++ b/dot_config/sway/executable_type-vpn-otp.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env dash # Fetch the current VPN TOTP from pass-otp and type it into the focused # surface via wtype. If wtype isn't available or fails (focused surface # lacks virtual-keyboard support, e.g. an Xwayland app), copy the code diff --git a/dot_config/sway/executable_vol-osd.sh b/dot_config/sway/executable_vol-osd.sh index 7e324e0..e593710 100644 --- a/dot_config/sway/executable_vol-osd.sh +++ b/dot_config/sway/executable_vol-osd.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env dash # Print 0–100 to wob's fifo to flash a volume bar overlay. # Usage: vol-osd.sh up|down|mute (mute toggles) set -eu -- cgit v1.3.1