From 731630cf31b9452137df56236153906b203541c4 Mon Sep 17 00:00:00 2001
From: ITmail-dk <48917593+ITmail-dk@users.noreply.github.com>
Date: Wed, 16 Oct 2024 14:43:19 +0200
Subject: [PATCH] Update install.sh
---
install.sh | 35 +++++++++++++----------------------
1 file changed, 13 insertions(+), 22 deletions(-)
diff --git a/install.sh b/install.sh
index b0a3626..86bad83 100644
--- a/install.sh
+++ b/install.sh
@@ -526,9 +526,10 @@ cat << "WAYBARCONFIG" > ~/.config/waybar/config.jsonc
{
// "layer": "top", // Waybar at top layer
"position": "bottom", // Waybar position (top|bottom|left|right)
- "height": 30, // Waybar height (to be removed for auto height)
- // "width": 1280, // Waybar width
+ "height": 28, // Waybar height (to be removed for auto height)
+ "width": 980, // Waybar width
"spacing": 4, // Gaps between modules (4px)
+ "margin-top": 10,
// Choose the order of the modules
"modules-left": [
"hyprland/workspaces",
@@ -619,13 +620,13 @@ cat << "WAYBARCONFIG" > ~/.config/waybar/config.jsonc
}
},
"tray": {
- // "icon-size": 21,
+ // "icon-size": 18,
"spacing": 10
},
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "{:%Y %B}\n{calendar}",
- "format-alt": "{:%Y-%m-%d}"
+ "format-alt": "{:%d-%m-%Y}"
},
"cpu": {
"format": "{usage}% ",
@@ -686,24 +687,14 @@ cat << "WAYBARCONFIG" > ~/.config/waybar/config.jsonc
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
- // "scroll-step": 1, // %, can be a float
- "format": "{volume}% {icon} {format_source}",
- "format-bluetooth": "{volume}% {icon} {format_source}",
- "format-bluetooth-muted": " {icon} {format_source}",
- "format-muted": " {format_source}",
- "format-source": "{volume}% ",
- "format-source-muted": "",
- "format-icons": {
- "headphone": "",
- "hands-free": "",
- "headset": "",
- "phone": "",
- "portable": "",
- "car": "",
- "default": ["", "", ""]
- },
- "on-click": "pavucontrol"
- },
+ "scroll-step": 5,
+ "format": "{icon} {volume}%",
+ "format-icons": {
+ "default": ["", "", ""]
+ },
+ "on-click": "pavucontrol",
+ "tooltip": false
+ },
"custom/media": {
"format": "{icon} {text}",
"return-type": "json",