Vendor the command set the menu and shell depend on
This commit is contained in:
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