From c70965ce813a6bc77a0f42d7ce40fae022e2406a Mon Sep 17 00:00:00 2001 From: Tyler Kelley Date: Fri, 1 Mar 2024 16:49:21 -0600 Subject: [PATCH] Fix battery module in waybar and fix formatting of install script --- config/home/waybar.nix | 2 +- install-zaneyos.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/home/waybar.nix b/config/home/waybar.nix index fc0a5a4..9a34d09 100644 --- a/config/home/waybar.nix +++ b/config/home/waybar.nix @@ -15,7 +15,7 @@ in with lib; { modules-center = [ "hyprland/workspaces" ] ; modules-left = [ "custom/startmenu" "hyprland/window" "pulseaudio" "cpu" "memory"]; - modules-right = [ "custom/hyprbindings" "custom/exit" "idle_inhibitor" "custom/themeselector" "custom/notification" "clock" "tray" ]; + modules-right = [ "custom/hyprbindings" "custom/exit" "idle_inhibitor" "custom/themeselector" "custom/notification" "battery" "clock" "tray" ]; "hyprland/workspaces" = { format = if bar-number == true then "{name}" else "{icon}"; diff --git a/install-zaneyos.sh b/install-zaneyos.sh index f022a39..3cca79e 100755 --- a/install-zaneyos.sh +++ b/install-zaneyos.sh @@ -56,7 +56,7 @@ cd zaneyos echo "-----" installusername=$(echo $USER) -read -p "Enter Your Username [ $installusername ]: " userName +read -p "Enter Your Username: [ $installusername ] " userName if [ -z "$userName" ]; then userName=$(echo $USER) else @@ -72,7 +72,7 @@ sed -i "/^\s*username[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$userName\"/" ./ echo "-----" -read -p "Enter Your New Hostname: [ hyprnix ]" hostName +read -p "Enter Your New Hostname: [ hyprnix ] " hostName if [ -z "$hostName" ]; then hostName="hyprnix" fi @@ -80,7 +80,7 @@ sed -i "/^\s*hostname[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$hostName\"/" ./ echo "-----" -read -p "Enter Your New Git Username [Can Be Full Name]: " gitUserName +read -p "Enter Your New Git Username: [Can Be Full Name] " gitUserName sed -i "/^\s*gitUsername[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$gitUserName\"/" ./options.nix echo "-----"