Fix battery module in waybar and fix formatting of install script

This commit is contained in:
Tyler Kelley 2024-03-01 16:49:21 -06:00
parent a56b9ce8d5
commit c70965ce81
2 changed files with 4 additions and 4 deletions

View File

@ -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}";

View File

@ -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 "-----"