mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-25 16:13:09 +01:00
Fix battery module in waybar and fix formatting of install script
This commit is contained in:
parent
a56b9ce8d5
commit
c70965ce81
@ -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}";
|
||||
|
@ -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 "-----"
|
||||
|
Loading…
Reference in New Issue
Block a user