Skip to content

Commit

Permalink
Replace/Update "archbook" with new "iceowl" host
Browse files Browse the repository at this point in the history
There are various snowblock/snowflake configurations that contain the
`archbook` host (1) which doesn't exist anymore and can be replaced in
most cases with the new `iceowl` host. In cases where the
snowblock/snowflake is only targeted for Linux the `archbook` host
should be removed to make it host independently. These can be updated
when a new Linux host is introduced.

References:

  (1) https://github.com/search?l=&q=archbook+repo%3Aarcticicestudio%2Figloo+created%3A%3E2018-09-18&type=Code

Epic: GH-131
Closes GH-143
  • Loading branch information
arcticicestudio committed Sep 19, 2018
1 parent 22635a8 commit c08ca24
Show file tree
Hide file tree
Showing 23 changed files with 16 additions and 145 deletions.
8 changes: 4 additions & 4 deletions snowblocks/git/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@
"link": {
"~/.gitattributes": {
"hosts": {
"archbook": "gitattributes",
"iceowl": "gitattributes",
"igloo": "gitattributes"
}
},
"~/.git-commit-msg": null,
"~/.gitconfig": null,
"~/.gitconfig-auth": {
"hosts": {
"archbook": "gitconfig-auth.igloocrypt",
"iceowl": "gitconfig-auth.igloocrypt",
"igloo": "gitconfig-auth.igloocrypt"
}
},
"~/.gitconfig-auth-svengreb": {
"hosts": {
"archbook": "gitconfig-auth-svengreb.igloocrypt",
"iceowl": "gitconfig-auth-svengreb.igloocrypt",
"igloo": "gitconfig-auth-svengreb.igloocrypt"
}
},
"~/.gitconfig-auth-job": {
"hosts": {
"archbook": "gitconfig-auth-job.igloocrypt",
"iceowl": "gitconfig-auth-job.igloocrypt",
"igloo": "gitconfig-auth-job.igloocrypt"
}
},
Expand Down
2 changes: 1 addition & 1 deletion snowblocks/npm/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"link": {
"~/.npmrc": {
"hosts": {
"archbook": "npmrc",
"iceowl": "npmrc",
"igloo": "npmrc"
}
}
Expand Down
90 changes: 0 additions & 90 deletions snowblocks/pacman/pacman.conf.archbook

This file was deleted.

3 changes: 1 addition & 2 deletions snowblocks/pacman/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"~/.makepkg.conf": null,
"~/.pacman.conf": {
"hosts": {
"igloo": "pacman.conf.igloo",
"archbook": "pacman.conf.archbook"
"igloo": "pacman.conf.igloo"
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions snowblocks/plank/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dconf dump /net/launchpad/plank/ > plank.dconf

# Autostart

The [xdg snowblock][gh-sb-xdg] provides host specific [autostart][gh-sb-xdg-autostart] configurations for the [igloo][gh-sb-xdg-autostart-igloo] and [archbook][gh-sb-xdg-autostart-archbook] Plank launcher profiles.
The [xdg snowblock][gh-sb-xdg] provides host specific [autostart][gh-sb-xdg-autostart] configurations for the [igloo][gh-sb-xdg-autostart-igloo] Plank launcher profile(s).

# References

Expand All @@ -27,6 +27,5 @@ The [xdg snowblock][gh-sb-xdg] provides host specific [autostart][gh-sb-xdg-auto
[dconf]: https://wiki.gnome.org/Projects/dconf
[gh-sb-xdg]: https://github.com/arcticicestudio/igloo/tree/develop/snowblocks/xdg
[gh-sb-xdg-autostart]: https://github.com/arcticicestudio/igloo/tree/develop/snowblocks/xdg/autostart
[gh-sb-xdg-autostart-archbook]: https://github.com/arcticicestudio/igloo/blob/develop/snowblocks/xdg/autostart/plank.desktop.archbook
[gh-sb-xdg-autostart-igloo]: https://github.com/arcticicestudio/igloo/blob/develop/snowblocks/xdg/autostart/plank.desktop.igloo
[plank-gh]: https://github.com/ricotz/plank
2 changes: 0 additions & 2 deletions snowblocks/plank/launchers/archbook/atom.dockitem

This file was deleted.

2 changes: 0 additions & 2 deletions snowblocks/plank/launchers/archbook/google-chrome.dockitem

This file was deleted.

2 changes: 0 additions & 2 deletions snowblocks/plank/launchers/archbook/jetbrains-idea.dockitem

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions snowblocks/plank/launchers/archbook/pycharm.dockitem

This file was deleted.

7 changes: 0 additions & 7 deletions snowblocks/plank/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@
"igloo": "launchers/igloo"
}
},
"~/.config/plank/archbook/launchers": {
"create": true,
"force": true,
"hosts": {
"archbook": "launchers/archbook"
}
},
"~/.local/share/plank/themes/igloo": {
"create": true,
"force": true,
Expand Down
1 change: 0 additions & 1 deletion snowblocks/systemd/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"~/.config/systemd/user/igloosync-dropbox.service": {
"create": true,
"hosts": {
"archbook": "units/user/igloosync-dropbox.service",
"igloo": "units/user/igloosync-dropbox.service"
}
},
Expand Down
6 changes: 3 additions & 3 deletions snowblocks/taskwarrior/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@
"~/.taskrc": {
"force": true,
"hosts": {
"archbook": "taskrc",
"iceowl": "taskrc",
"igloo": "taskrc"
}
},
"~/.taskopenrc": {
"force": true,
"hosts": {
"archbook": "taskopenrc",
"iceowl": "taskopenrc",
"igloo": "taskopenrc"
}
},
"~/.task/nord.theme": {
"create": true,
"force": true,
"hosts": {
"archbook": "nord.theme",
"iceowl": "nord.theme",
"igloo": "nord.theme"
}
},
Expand Down
Binary file removed snowblocks/tilix/bookmarks-archbook.json.igloocrypt
Binary file not shown.
1 change: 0 additions & 1 deletion snowblocks/tilix/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"~/.config/tilix/bookmarks.json": {
"create": true,
"hosts": {
"archbook": "bookmarks-archbook.json.igloocrypt",
"igloo": "bookmarks-igloo.json.igloocrypt"
}
}
Expand Down
2 changes: 0 additions & 2 deletions snowblocks/timewarrior/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@
"create": true,
"force": true,
"hosts": {
"archbook": "timewarrior.cfg.archbook",
"igloo": "timewarrior.cfg.igloo"
}
},
"~/.timewarrior/nord.theme": {
"create": true,
"force": true,
"hosts": {
"archbook": "nord.theme",
"igloo": "nord.theme"
}
}
Expand Down
12 changes: 0 additions & 12 deletions snowblocks/xdg/autostart/plank.desktop.archbook

This file was deleted.

Binary file removed snowblocks/xdg/gtk-3.0/bookmarks-archbook.igloocrypt
Binary file not shown.
2 changes: 0 additions & 2 deletions snowblocks/xdg/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"create": true,
"force": true,
"hosts": {
"archbook": "gtk-3.0/bookmarks-archbook.igloocrypt",
"igloo": "gtk-3.0/bookmarks-igloo.igloocrypt"
}
},
Expand Down Expand Up @@ -75,7 +74,6 @@
"create": true,
"force": true,
"hosts": {
"archbook": "autostart/plank.desktop.archbook",
"igloo": "autostart/plank.desktop.igloo"
}
},
Expand Down
12 changes: 6 additions & 6 deletions snowflakes/systemd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ The changes will be applied after the `systemd-logind` daemon has been restarted

### custom suspend service

Install the [`igloo-mbp-lid-suspend.service.archbook`][gh-unit-suspend] suspend/resume service file, a single hook that does all the work for different phases (sleep/resume) and for different targets (suspend/hibernate/hybrid-sleep).
Install the [`igloo-mbp-lid-suspend.service`][gh-unit-suspend] suspend/resume service file, a single hook that does all the work for different phases (sleep/resume) and for different targets (suspend/hibernate/hybrid-sleep).

```sh
sudo cp snowflakes/systemd/units/system/igloo-mbp-lid-suspend.service.archbook /lib/systemd/system/igloo-mbp-lid-suspend.service
sudo cp snowflakes/systemd/units/system/igloo-mbp-lid-suspend.service /lib/systemd/system/igloo-mbp-lid-suspend.service
sudo systemctl daemon-reload
sudo systemctl enable igloo-mbp-lid-suspend.service
```
Expand All @@ -38,10 +38,10 @@ sudo systemctl enable igloo-mbp-lid-suspend.service
* either `pre` or `post`: Depending on whether the machine is going to *sleep* or *waking* up
* `suspend`, `hibernate` or `hybrid-sleep`: Depending on which is being invoked

Install the [`igloo-mbp-lid-suspend.service.sh.archbook`][gh-hook-system-sleep] *system-sleep* hook:
Install the [`igloo-mbp-lid-suspend.service.sh`][gh-hook-system-sleep] *system-sleep* hook:

```sh
sudo cp snowflakes/systemd/hooks/system-sleep/igloo-mbp-lid-suspend.service.sh.archbook /lib/systemd/system-sleep/igloo-mbp-lid-suspend.service.sh
sudo cp snowflakes/systemd/hooks/system-sleep/igloo-mbp-lid-suspend.service.sh /lib/systemd/system-sleep/igloo-mbp-lid-suspend.service.sh
sudo systemctl daemon-reload
```

Expand All @@ -65,8 +65,8 @@ References:
[archw-pw-mng-inst-wakeup]: https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate#Instantaneous_wakeups_from_suspend
[archw-suspend-service]: https://wiki.archlinux.org/index.php/Power_management#Combined_Suspend.2Fresume_service_file
[archw-system-sleep-hook]: https://wiki.archlinux.org/index.php/Power_management#Hooks_in_.2Fusr.2Flib.2Fsystemd.2Fsystem-sleep
[gh-hook-system-sleep]: https://github.com/arcticicestudio/igloo/blob/develop/snowflakes/systemd/hooks/system-sleep/igloo-mbp-lid-suspend.sh.archbook
[gh-hook-system-sleep]: https://github.com/arcticicestudio/igloo/blob/develop/snowflakes/systemd/hooks/system-sleep/igloo-mbp-lid-suspend.sh
[gh-lk-fix-commit]: https://github.com/torvalds/linux/commit/13cfc732160f7bc7e596128ce34cda361c556966
[gh-unit-suspend]: https://github.com/arcticicestudio/igloo/blob/develop/snowflakes/systemd/units/system/igloo-mbp-lid-suspend.service.archbook
[gh-unit-suspend]: https://github.com/arcticicestudio/igloo/blob/develop/snowflakes/systemd/units/system/igloo-mbp-lid-suspend.service
[man-systemd.sleep]: https://www.freedesktop.org/software/systemd/man/sleep.conf.d.html
[man-systemd.special]: https://www.freedesktop.org/software/systemd/man/systemd.special.html

0 comments on commit c08ca24

Please sign in to comment.