prism-timezone
A straightforward localization utility that allows users to change the system timezone. It provides a searchable, fuzzy-filtered list of all global timezones via 08 Rofi. This is particularly useful for users on the move or those who prefer managing system settings through the keyboard rather than a complex GUI control panel.
How it works
- Data Fetching: The script uses
timedatectl list-timezonesto retrieve the official IANA timezone database list (e.g.,America/New_York,Europe/London). - Interactive Selection: This list is piped into Rofi, allowing the user to quickly filter by continent or city.
- System Update: Once a selection is made, the script executes
timedatectl set-timezone.- Note on Permissions: Since changing the system clock is a privileged action,
timedatectlwill trigger a standard Polkit (graphical password) prompt to authorize the change.
- Note on Permissions: Since changing the system clock is a privileged action,
- Feedback: Sends a desktop notification confirming the success or failure of the operation.
Dependencies
systemd: Providestimedatectlfor querying and setting the time.rofi: The interactive selection menu.libnotify: Sends status notifications.