Vendor the command set the menu and shell depend on
This commit is contained in:
1 parent
9501f2bb4d
commit
c5434026a8
179 files changed
+12414
-54
No files matched your search
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# blob:summary=Select and set the system timezone
|
||||
# blob:group=menu
|
||||
# blob:name=timezone
|
||||
|
||||
set -e
|
||||
|
||||
timezone=$(timedatectl list-timezones | blob-menu-select "Set timezone" -- --width 520 --maxheight 520) || exit 1
|
||||
sudo timedatectl set-timezone "$timezone"
|
||||
blob-shell -q blob.clock refresh
|
||||
blob-notify-send "Timezone is now set to $timezone"
|
||||
Reference in new issue
Block a user