summaryrefslogtreecommitdiff
path: root/.local/sbin/stz
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-22 15:44:03 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-22 15:44:03 +0200
commit7cc99a367ad76ce6143711aa44958f65969a033d (patch)
tree6542c5ea26ded2402c822befa391a97be0c367d0 /.local/sbin/stz
parent1985d3e768346ea17645c308296f056b0ebe6414 (diff)
stz: Make use of ‘osel’
Diffstat (limited to '.local/sbin/stz')
-rwxr-xr-x.local/sbin/stz4
1 files changed, 1 insertions, 3 deletions
diff --git a/.local/sbin/stz b/.local/sbin/stz
index 9091d29..7a6fdc6 100755
--- a/.local/sbin/stz
+++ b/.local/sbin/stz
@@ -2,9 +2,7 @@
set -e
-choice="`timedatectl list-timezones \
- | grep './.' \
- | wofi -dMfuzzy -Oalphabetical`"
+choice="`timedatectl list-timezones | grep './.' | osel`"
[ -n "$choice" ] \
&& sudo timedatectl set-timezone "$choice" \