abstracted host definitions in flake.nix

This commit is contained in:
2025-07-29 13:56:25 -04:00
parent bd1851f706
commit 44062a87b4
6 changed files with 150 additions and 391 deletions

View File

@@ -26,8 +26,8 @@ pkgs.writeShellApplication {
cliphist decode "$selection" | wl-copy
}
btop_cmd() {
if [ "$(cat /etc/hostname)" = "oganesson" ]; then
hostname="$(cat /etc/hostname)"
if [ "$hostname" = "oganesson" ] || [ "$hostname" = "phosphorous" ]; then
hyprctl dispatch resizeactive 20% 155% &&
moveonscreen --center &&
btop &&