diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-04 14:02:28 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-04 14:02:28 +0200 |
commit | dc03fb40fe55a7dc88c07509b47299223d4d5815 (patch) | |
tree | 93d33df604005218d287d535b37dfc4ab9de307d /bin/guiscripts/dmlang | |
parent | 1496b8724c39dd6d16a46916ad4ed47a83a44852 (diff) |
cleaned up scripts, use sh (-> dash) where possible
Diffstat (limited to 'bin/guiscripts/dmlang')
-rwxr-xr-x | bin/guiscripts/dmlang | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/bin/guiscripts/dmlang b/bin/guiscripts/dmlang index 0009704..0e9672e 100755 --- a/bin/guiscripts/dmlang +++ b/bin/guiscripts/dmlang @@ -1,7 +1,5 @@ -#!/usr/bin/env bash -choice="$(\ - echo -e "us\ngb\nbe" \ - | dmenu \ - -p "($(setxkbmap -query | awk 'NR==3 {print $2}'))" \ -)" +#!/usr/bin/env sh +choice="$(echo "us\ngb\nbe" | + dmenu -p "($(setxkbmap -query | + awk 'NR==3 {print $2}'))")" setxkbmap "${choice:-us}" |