diff options
-rw-r--r-- | config/hikari/hikari.conf | 2 | ||||
-rwxr-xr-x | hooks/pre-up/3-void | 11 |
2 files changed, 10 insertions, 3 deletions
diff --git a/config/hikari/hikari.conf b/config/hikari/hikari.conf index eb97a3e..cee9ffb 100644 --- a/config/hikari/hikari.conf +++ b/config/hikari/hikari.conf @@ -163,7 +163,7 @@ bindings { "LS+Backspace" = lock "L+r" = reload - "L+q" = view-quit + "L+q" = view-quit "L+Return" = action-terminal "L+e" = action-emacs diff --git a/hooks/pre-up/3-void b/hooks/pre-up/3-void index e0824c2..ab494c3 100755 --- a/hooks/pre-up/3-void +++ b/hooks/pre-up/3-void @@ -2,7 +2,14 @@ # We'll use xpkg from xtools to find installable packages if ! [ -x "$(command -v xpkg)" ]; then - sudo xbps-install xtools + sudo xbps-install -y xtools +fi + +if ! [ -x "$(command -v nmtui)" ]; then + sudo xbps-install -y NetworkManager + sudo ln -s /etc/sv/NetworkManager /var/service + sudo sv stop wpa_supplicant + sudo sv start NetworkManager fi # Set up file sync @@ -11,5 +18,5 @@ if [ ! -f ~/repository.list ]; then fi if [ ! "$(cat ~/repository.list | grep 'void-repo-nonfree')" ]; then - sudo xbps-install -Sy void-repo-nonfree + sudo xbps-install -y void-repo-nonfree fi |