diff options
| author | Karel Kočí <cynerd@email.cz> | 2025-12-10 12:19:17 +0100 |
|---|---|---|
| committer | Karel Kočí <cynerd@email.cz> | 2025-12-10 12:19:17 +0100 |
| commit | 71170ba96ad788726af419edd64d58bdfe5b52b5 (patch) | |
| tree | 1773ebe943c4885a2b419fb1dfd7da3afb8421ab /config/i3/scripts | |
| parent | 60fc87b4003f5d047aafa970d62416a93801a5c9 (diff) | |
| download | myconfigs-master.tar.gz myconfigs-master.tar.bz2 myconfigs-master.zip | |
Diffstat (limited to 'config/i3/scripts')
| -rwxr-xr-x | config/i3/scripts/keyboard_switch | 14 | ||||
| -rwxr-xr-x | config/i3/scripts/pass | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/config/i3/scripts/keyboard_switch b/config/i3/scripts/keyboard_switch index 7ba27f8..168d577 100755 --- a/config/i3/scripts/keyboard_switch +++ b/config/i3/scripts/keyboard_switch @@ -1,13 +1,13 @@ #!/bin/bash -active=`~/.config/i3/scripts/keyboard_layout` +active=$(~/.config/i3/scripts/keyboard_layout) case "$active" in - us) - setxkbmap cz_qwerty - ;; - cz_qwerty) - setxkbmap us - ;; +us) + setxkbmap cz_qwerty + ;; +cz_qwerty) + setxkbmap us + ;; esac # Send update to i3blocks diff --git a/config/i3/scripts/pass b/config/i3/scripts/pass index aa2ad96..4777c1c 100755 --- a/config/i3/scripts/pass +++ b/config/i3/scripts/pass @@ -1,6 +1,6 @@ #!/bin/sh -find ~/.password-store -type f -printf '%P\n' | \ - sed 's/\.gpg$//' | dmenu -p 'Pass:' | \ +find ~/.password-store -type f -printf '%P\n' | + sed 's/\.gpg$//' | dmenu -p 'Pass:' | while read -r psw; do pass -c "$psw" -done + done |
