From 9e3cbee8e30704e85ec283d437f1ccc5f6906b67 Mon Sep 17 00:00:00 2001 From: AngeD Date: Fri, 31 Mar 2023 14:21:22 +0200 Subject: [PATCH 1/2] fix: no vol indicator at boot --- bin/sbar | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/sbar b/bin/sbar index 8aab519..9b06676 100755 --- a/bin/sbar +++ b/bin/sbar @@ -53,6 +53,9 @@ update_time() { #} # modules that don't update on their own need to be run at the start for getting their initial value +while [ -z "$(wpctl get-volume '@DEFAULT_AUDIO_SINK@')" ]; do + sleep 1 +done update_vol update_backlight From febe5cacfc08af0702e9f89f2e2bcc01b6886e68 Mon Sep 17 00:00:00 2001 From: AngeD Date: Fri, 31 Mar 2023 14:21:59 +0200 Subject: [PATCH 2/2] feat: gui.log history --- .config/nvim/pack/plugins/opt/lspconfig | 2 +- .config/nvim/pack/plugins/opt/treesitter | 2 +- .config/zsh/.zprofile | 7 ++++++- .config/zsh/ohmyzsh | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.config/nvim/pack/plugins/opt/lspconfig b/.config/nvim/pack/plugins/opt/lspconfig index c5505c7..94291c9 160000 --- a/.config/nvim/pack/plugins/opt/lspconfig +++ b/.config/nvim/pack/plugins/opt/lspconfig @@ -1 +1 @@ -Subproject commit c5505c70571b094663745167d40388edd40f6450 +Subproject commit 94291c924f0efdbc16ac625cf77ae7d3a7fa5821 diff --git a/.config/nvim/pack/plugins/opt/treesitter b/.config/nvim/pack/plugins/opt/treesitter index 9850baa..d546bcd 160000 --- a/.config/nvim/pack/plugins/opt/treesitter +++ b/.config/nvim/pack/plugins/opt/treesitter @@ -1 +1 @@ -Subproject commit 9850baa958d6a1edd6586d77e354d89249f97a88 +Subproject commit d546bcd1f1393e144396fc049ae4bf7d4fffccab diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 223eb1a..5bb7bcd 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -1,4 +1,9 @@ #!/bin/sh -[ "$XDG_VTNR" = 1 ] && exec startx > "$HOME/.gui.log" 2>&1 +GUILOG="$HOME/.local/share/xorg/gui.log" + +touch "$GUILOG" +mv "$GUILOG" "$GUILOG.old" + +[ "$XDG_VTNR" = 1 ] && exec startx > "$GUILOG" 2>&1 #[ "$XDG_VTNR" = 1 ] && export XDG_CURRENT_DESKTOP=sway && exec sway > "$HOME/.gui.log" 2>&1 diff --git a/.config/zsh/ohmyzsh b/.config/zsh/ohmyzsh index fcbdc33..cc99132 160000 --- a/.config/zsh/ohmyzsh +++ b/.config/zsh/ohmyzsh @@ -1 +1 @@ -Subproject commit fcbdc330ff50617c8b84d39ce069cc75df41108f +Subproject commit cc9913210498e2d527486310f1e8a53b93f55ca8