From a31a52d123987e3cdda74328401481bc90c19201 Mon Sep 17 00:00:00 2001 From: Christian Schendel Date: Mon, 24 Jul 2023 00:56:22 +0200 Subject: [PATCH 1/2] Add Papirus-Light for light theme Papirus has a light theme so that it displays dark icons on light interfaces --- HyprV/waybar/scripts/baraction | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/HyprV/waybar/scripts/baraction b/HyprV/waybar/scripts/baraction index 63e9a3d3..846a6188 100755 --- a/HyprV/waybar/scripts/baraction +++ b/HyprV/waybar/scripts/baraction @@ -36,8 +36,13 @@ fi #set the xfce and GTK theme if [ $VER == "v4" ]; then - xfconf-query -c xsettings -p /Net/IconThemeName -s "Papirus-Dark" - gsettings set org.gnome.desktop.interface icon-theme "Papirus-Dark" + if [[ $THEMEIS == "dark.css" ]]; then + xfconf-query -c xsettings -p /Net/IconThemeName -s "Papirus-Light" + gsettings set org.gnome.desktop.interface icon-theme "Papirus-Light" + else + xfconf-query -c xsettings -p /Net/IconThemeName -s "Papirus-Dark" + gsettings set org.gnome.desktop.interface icon-theme "Papirus-Dark" + fi else xfconf-query -c xsettings -p /Net/IconThemeName -s "Adwaita$SWITCHTO" gsettings set org.gnome.desktop.interface icon-theme "Adwaita$SWITCHTO" @@ -69,4 +74,4 @@ waybar & if [[ $VER == "v4" ]]; then waybar --config ~/.config/HyprV/waybar/conf/v4-config-bottom.jsonc -fi \ No newline at end of file +fi From 181a4c73d0ea740cf67e34d646737f82267ae15c Mon Sep 17 00:00:00 2001 From: Christian Schendel Date: Mon, 24 Jul 2023 01:20:21 +0200 Subject: [PATCH 2/2] we need light icons in the traybar Papirus-Light will darken the tray-icons. That is not what we want --- HyprV/waybar/scripts/baraction | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HyprV/waybar/scripts/baraction b/HyprV/waybar/scripts/baraction index 846a6188..1877cf89 100755 --- a/HyprV/waybar/scripts/baraction +++ b/HyprV/waybar/scripts/baraction @@ -37,8 +37,8 @@ fi #set the xfce and GTK theme if [ $VER == "v4" ]; then if [[ $THEMEIS == "dark.css" ]]; then - xfconf-query -c xsettings -p /Net/IconThemeName -s "Papirus-Light" - gsettings set org.gnome.desktop.interface icon-theme "Papirus-Light" + xfconf-query -c xsettings -p /Net/IconThemeName -s "Papirus" + gsettings set org.gnome.desktop.interface icon-theme "Papirus" else xfconf-query -c xsettings -p /Net/IconThemeName -s "Papirus-Dark" gsettings set org.gnome.desktop.interface icon-theme "Papirus-Dark"