diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-02 12:16:38 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-02 12:16:38 -0500 |
| commit | b10cba594db836c0747066addad48bda4d30cd02 (patch) | |
| tree | 063119a623fa3f7139feda4ef302896d8f5f934c /dotfiles/common/.local/bin/timezone-change | |
| parent | 49c2ba9c4510bf6e1acd306687473bc8ba9ad8dd (diff) | |
| download | archsetup-b10cba594db836c0747066addad48bda4d30cd02.tar.gz archsetup-b10cba594db836c0747066addad48bda4d30cd02.zip | |
refactor: drop in-repo dotfiles/, move stow tooling to the dotfiles repo
Since the installer clones DOTFILES_REPO into ~/.dotfiles and stows from there, the in-repo dotfiles/ tree was dead weight. Nothing reads it at install time. I removed it (831 files) now that both machines are migrated.
The Makefile's stow / restow / reset / unstow / import targets and the dotfile-script unit suites moved to the dotfiles repo. They sit alongside the scripts they manage and run standalone (cd ~/.dotfiles && make ...). This Makefile keeps the VM-integration targets and the installer-helper suite (safe-rm-rf).
I updated CLAUDE.md and README.md so stow operations run from ~/.dotfiles, and the dotfile-management, theme, and unit-test sections point at the standalone repo. The README was already describing the old in-repo model from before the installer switched to cloning. This brings it in line.
Diffstat (limited to 'dotfiles/common/.local/bin/timezone-change')
| -rwxr-xr-x | dotfiles/common/.local/bin/timezone-change | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/dotfiles/common/.local/bin/timezone-change b/dotfiles/common/.local/bin/timezone-change deleted file mode 100755 index c5a4e5a..0000000 --- a/dotfiles/common/.local/bin/timezone-change +++ /dev/null @@ -1,68 +0,0 @@ -#!/usr/bin/env bash -# Craig Jennings <c@cjennings.net> - -# Convenience script since I can't ever remember the two part TZ identifier to -# change timezones. - -case $1 in - "eastern"|"ny"|"nyc"|"boston"|"dc") - sudo timedatectl set-timezone "US/Eastern" - ;; - "central"|"nola"|"home"|"chicago") - sudo timedatectl set-timezone "US/Central" - ;; - "mountain") - sudo timedatectl set-timezone "US/Mountain" - ;; - "pacific"|"sf"|"oakland"|"berkeley"|"hb"|"california") - sudo timedatectl set-timezone "US/Pacific" - ;; - "london"|"england"|"britain"|"gb") - sudo timedatectl set-timezone "Europe/London" - ;; - "hawaii") - sudo timedatectl set-timezone "US/Hawaii" - ;; - "armenia"|"yerevan") - sudo timedatectl set-timezone "Asia/Yerevan" - ;; - "greece"|"athens") - sudo timedatectl set-timezone "Europe/Athens" - ;; - "germany"|"berlin") - sudo timedatectl set-timezone "Europe/Berlin" - ;; - "turkey"|"istanbul") - sudo timedatectl set-timezone "Europe/Istanbul" - ;; - "portugal"|"lisbon") - sudo timedatectl set-timezone "Europe/Portugal" - ;; - "spain"|"madrid") - sudo timedatectl set-timezone "Europe/Madrid" - ;; - "france"|"paris") - sudo timedatectl set-timezone "Europe/Paris" - ;; - "italy"|"rome"|"naples"|"ischia") - sudo timedatectl set-timezone "Europe/Rome" - ;; - "austria"|"vienna") - sudo timedatectl set-timezone "Europe/Vienna" - ;; - "japan"|"tokyo") - sudo timedatectl set-timezone "Asia/Tokyo" - ;; - "jamaica") - sudo timedatectl set-timezone "America/Jamaica" - ;; - "st_lucia"|"grenadines"|"st_vincent"|"nevis"|"st_kitts"|"puerto_rico") - sudo timedatectl set-timezone "America/Puerto_Rico" - ;; - *) - echo - "Invalid option chosen." - echo - "Some valid options are: eastern, central, pacific, rome, london, st_lucia, italy, france, spain ." - ;; -esac |
