mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-02-18 01:20:47 +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-center = [ "hyprland/workspaces" ] ;
|
||||||
modules-left = [ "custom/startmenu" "hyprland/window" "pulseaudio" "cpu" "memory"];
|
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" = {
|
"hyprland/workspaces" = {
|
||||||
format = if bar-number == true then "{name}" else "{icon}";
|
format = if bar-number == true then "{name}" else "{icon}";
|
||||||
|
@ -56,7 +56,7 @@ cd zaneyos
|
|||||||
echo "-----"
|
echo "-----"
|
||||||
|
|
||||||
installusername=$(echo $USER)
|
installusername=$(echo $USER)
|
||||||
read -p "Enter Your Username [ $installusername ]: " userName
|
read -p "Enter Your Username: [ $installusername ] " userName
|
||||||
if [ -z "$userName" ]; then
|
if [ -z "$userName" ]; then
|
||||||
userName=$(echo $USER)
|
userName=$(echo $USER)
|
||||||
else
|
else
|
||||||
@ -72,7 +72,7 @@ sed -i "/^\s*username[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$userName\"/" ./
|
|||||||
|
|
||||||
echo "-----"
|
echo "-----"
|
||||||
|
|
||||||
read -p "Enter Your New Hostname: [ hyprnix ]" hostName
|
read -p "Enter Your New Hostname: [ hyprnix ] " hostName
|
||||||
if [ -z "$hostName" ]; then
|
if [ -z "$hostName" ]; then
|
||||||
hostName="hyprnix"
|
hostName="hyprnix"
|
||||||
fi
|
fi
|
||||||
@ -80,7 +80,7 @@ sed -i "/^\s*hostname[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$hostName\"/" ./
|
|||||||
|
|
||||||
echo "-----"
|
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
|
sed -i "/^\s*gitUsername[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$gitUserName\"/" ./options.nix
|
||||||
|
|
||||||
echo "-----"
|
echo "-----"
|
||||||
|
Loading…
Reference in New Issue
Block a user