diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-10-24 22:09:44 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-10-24 22:09:44 +0200 |
| commit | d02babb482b3189bbafec3e1ed12aa6565b6e377 (patch) | |
| tree | bc9d0a0e2bebe6c118d8d993bf98aa0ca9cb92ff /common/home/scripts | |
| parent | 13ecfb0a3bf119e996487aa15db50d9778d3a22a (diff) | |
scripts: add loadconfig
Diffstat (limited to 'common/home/scripts')
| -rw-r--r-- | common/home/scripts/loadconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/common/home/scripts/loadconfig b/common/home/scripts/loadconfig new file mode 100644 index 0000000..9f3fe57 --- /dev/null +++ b/common/home/scripts/loadconfig @@ -0,0 +1,15 @@ +#!/bin/sh + +cmd=$(printf "test\nswitch" | wofi -d -p 'Loading Type') + +[ -z "$cmd" ] && exit + +echo CMD = $cmd + +alacritty --class Hyprland::WinClass::Floating -e sh -c " +sudo nixos-rebuild $cmd --flake '$HOME/global/system/config/' +echo +echo Press [Return] to continue +echo +read +" |