From a2d35fa565a5df53fb1c0fa2fbf96a941254bde9 Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Sun, 7 Jan 2024 14:15:16 +0100 Subject: [PATCH] Update volume indicator config --- tree/.config/alacritty/silent.toml | 3 +++ tree/.config/alacritty/silent.yml | 8 -------- tree/.local/bin/volshow | 4 ++-- 3 files changed, 5 insertions(+), 10 deletions(-) create mode 100644 tree/.config/alacritty/silent.toml delete mode 100644 tree/.config/alacritty/silent.yml diff --git a/tree/.config/alacritty/silent.toml b/tree/.config/alacritty/silent.toml new file mode 100644 index 0000000..3a0a983 --- /dev/null +++ b/tree/.config/alacritty/silent.toml @@ -0,0 +1,3 @@ +[colors.primary] +background = "#1d1f21" +foreground = "#1d1f21" diff --git a/tree/.config/alacritty/silent.yml b/tree/.config/alacritty/silent.yml deleted file mode 100644 index 3732044..0000000 --- a/tree/.config/alacritty/silent.yml +++ /dev/null @@ -1,8 +0,0 @@ -# Silent alacritty config - -# Hack to hide the cursor -colors: - primary: - background: "#1d1f21" - foreground: "#1d1f21" - diff --git a/tree/.local/bin/volshow b/tree/.local/bin/volshow index 078af6e..56d16f9 100755 --- a/tree/.local/bin/volshow +++ b/tree/.local/bin/volshow @@ -6,9 +6,9 @@ SOCKET="/tmp/volume_indicator" # If theres an existing volume_indicator running, prod the socket # Otherwise, start a new volume_indicator instance. nc -U "$SOCKET" 2>/dev/null || \ -ba alacritty -t "Volume" \ +ba alacritty -T "Volume" \ --class "volume_indicator" \ - --config-file "$HOME/.config/alacritty/silent.yml" \ + --config-file "$HOME/.config/alacritty/silent.toml" \ --command volume_indicator \ --cols 30 \ --rows 3 \