diff options
| author | 2026-05-13 13:43:32 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:32 +0100 | |
| commit | 0c15212f4f2389f743b17cb6ceff50f1f9267a1b (patch) | |
| tree | 9db73d86cfebc23b3032b32a1cc3be7b1e8bef38 /dot_config/waybar/executable_clip-picker.sh | |
| parent | 2970b9dddc6b89705a6836fa0864fb841925ff6f (diff) | |
| download | dotfiles-0c15212f4f2389f743b17cb6ceff50f1f9267a1b.tar.gz dotfiles-0c15212f4f2389f743b17cb6ceff50f1f9267a1b.tar.bz2 dotfiles-0c15212f4f2389f743b17cb6ceff50f1f9267a1b.zip | |
style: apply formatter drift across repo
Pre-existing whitespace/style drift caught by `just check`. Touch
nothing semantic — pure formatter output (shfmt -i 2 -ci -s, ruff,
prettier, taplo). Excludes dot_config/clangd/config.yaml whose manual
indentation is intentionally preserved.
Diffstat (limited to 'dot_config/waybar/executable_clip-picker.sh')
| -rw-r--r-- | dot_config/waybar/executable_clip-picker.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dot_config/waybar/executable_clip-picker.sh b/dot_config/waybar/executable_clip-picker.sh index 11ebf4c..d7f5b61 100644 --- a/dot_config/waybar/executable_clip-picker.sh +++ b/dot_config/waybar/executable_clip-picker.sh @@ -15,10 +15,10 @@ style=$HOME/.config/wofi/style.css set +e selection=$( - cliphist list \ - | wofi --dmenu --hide-search --prompt Clip \ - --define key_custom_0=Alt-d \ - ${style:+--style "$style"} + cliphist list | + wofi --dmenu --hide-search --prompt Clip \ + --define key_custom_0=Alt-d \ + ${style:+--style "$style"} ) rc=$? set -e @@ -26,7 +26,7 @@ set -e [ -z "$selection" ] && exit 0 case "$mode:$rc" in - pick:0) printf '%s' "$selection" | cliphist decode | wl-copy ;; - pick:10) printf '%s' "$selection" | cliphist delete ;; - delete:0|delete:10) printf '%s' "$selection" | cliphist delete ;; + pick:0) printf '%s' "$selection" | cliphist decode | wl-copy ;; + pick:10) printf '%s' "$selection" | cliphist delete ;; + delete:0 | delete:10) printf '%s' "$selection" | cliphist delete ;; esac |
