From b137bdc0ac9cab535df5c9eb9971dafc55ac4e2e Mon Sep 17 00:00:00 2001 From: Hydroxycarbamide Date: Wed, 15 May 2024 18:42:27 +0200 Subject: [PATCH 1/2] Remove useless logfile --- dot_config/waybar/private_nohup.out | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 dot_config/waybar/private_nohup.out diff --git a/dot_config/waybar/private_nohup.out b/dot_config/waybar/private_nohup.out deleted file mode 100644 index e980369..0000000 --- a/dot_config/waybar/private_nohup.out +++ /dev/null @@ -1,29 +0,0 @@ -[2024-05-11 22:49:26.897] [info] Using configuration file /home/eric/.config/waybar/config.jsonc -[2024-05-11 22:49:26.899] [info] Discovered appearance 'dark' -[2024-05-11 22:49:26.899] [info] Using CSS file /home/eric/.config/waybar/style.css -[2024-05-11 22:49:26.905] [info] Hyprland IPC starting -[2024-05-11 22:49:26.906] [info] Loading persistent workspaces from Hyprland workspace rules -[2024-05-11 22:49:27.724] [info] Loading persistent workspaces from Hyprland workspace rules -[2024-05-11 22:49:28.131] [warning] Waybar has been built without rfkill support. -[2024-05-11 22:49:28.191] [warning] Waybar has been built without rfkill support. - -** (waybar:19350): WARNING **: 22:49:28.289: Status Notifier Item with bus name ':1.292' and object path '/org/ayatana/NotificationItem/nm_applet' is already registered -[2024-05-11 22:49:28.582] [info] Bar configured (width: 1920, height: 32) for output: HDMI-A-1 -[2024-05-11 22:49:28.582] [info] Bar configured (width: 1920, height: 32) for output: DP-1 -[2024-05-11 22:52:59.097] [info] Hyprland config reloaded, reinitializing hyprland/workspaces module... -[2024-05-11 22:52:59.101] [info] Loading persistent workspaces from Hyprland workspace rules -[2024-05-11 22:52:59.101] [info] Hyprland config reloaded, reinitializing hyprland/workspaces module... -[2024-05-11 22:52:59.101] [info] Loading persistent workspaces from Hyprland workspace rules -[2024-05-11 22:52:59.724] [info] Hyprland config reloaded, reinitializing hyprland/workspaces module... -[2024-05-11 22:52:59.724] [info] Loading persistent workspaces from Hyprland workspace rules -[2024-05-11 22:52:59.724] [info] Hyprland config reloaded, reinitializing hyprland/workspaces module... -[2024-05-11 22:52:59.725] [info] Loading persistent workspaces from Hyprland workspace rules -[2024-05-11 22:54:00.819] [info] Hyprland config reloaded, reinitializing hyprland/workspaces module... -[2024-05-11 22:54:00.820] [info] Loading persistent workspaces from Hyprland workspace rules -[2024-05-11 22:54:00.820] [info] Hyprland config reloaded, reinitializing hyprland/workspaces module... -[2024-05-11 22:54:00.821] [info] Loading persistent workspaces from Hyprland workspace rules -[2024-05-11 22:54:07.842] [info] Hyprland config reloaded, reinitializing hyprland/workspaces module... -[2024-05-11 22:54:07.842] [info] Loading persistent workspaces from Hyprland workspace rules -[2024-05-11 22:54:07.842] [info] Hyprland config reloaded, reinitializing hyprland/workspaces module... -[2024-05-11 22:54:07.843] [info] Loading persistent workspaces from Hyprland workspace rules -Gdk-Message: 22:54:31.307: Lost connection to Wayland compositor. From aadc4f7df785cfa8a101b1d3dcf8662ddce2c6e3 Mon Sep 17 00:00:00 2001 From: Hydroxycarbamide Date: Wed, 15 May 2024 19:10:13 +0200 Subject: [PATCH 2/2] Fix paru update count --- dot_config/waybar/modules/executable_updates.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dot_config/waybar/modules/executable_updates.sh b/dot_config/waybar/modules/executable_updates.sh index 2d48bf4..ce0f2ba 100644 --- a/dot_config/waybar/modules/executable_updates.sh +++ b/dot_config/waybar/modules/executable_updates.sh @@ -1,9 +1,7 @@ #!/usr/bin/env bash pkg_updates() { - updates=$(pacman -Qu | wc -l) - aurupdates=$(paru -Qua | wc -l) - updates=$((updates + aurupdates)) - if [ $updates -gt 0 ]; then + updates=$(paru -Qu | wc -l) + if [ "$updates" -gt 0 ]; then echo -n " $updates" fi }