From 2c8781be956a8b389fd3558a7948d9dd8a23993c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 22 Dec 2023 18:46:27 +0900 Subject: [PATCH 1/4] added opacity for OBS, brave, audacious --- config/hypr/configs/WindowRules.conf | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/config/hypr/configs/WindowRules.conf b/config/hypr/configs/WindowRules.conf index 99bc50a..a3a77cf 100644 --- a/config/hypr/configs/WindowRules.conf +++ b/config/hypr/configs/WindowRules.conf @@ -30,19 +30,25 @@ windowrulev2 = workspace 5 silent, class:^(lutris)$ windowrulev2 = workspace 6, class:^(virt-manager)$ windowrulev2 = workspace 7 silent, class:^(discord)$ windowrulev2 = workspace 7 silent, class:^(WebCord)$ -windowrulev2 = workspace 9 silent, class:^(audacious)$ +windowrulev2 = workspace 9 silent, class:^([Aa]udacious)$ #opacity (transparent) #enable as desired windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ -windowrulev2 = opacity 0.9 0.6, class:^(firefox)$ -windowrulev2 = opacity 0.9 0.7, class:^([Tt]hunar)$ +windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser)$ +windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser-dev)$ +windowrulev2 = opacity 0.9 0.7, class:^(firefox)$ +windowrulev2 = opacity 0.9 0.7, class:^(Firefox-esr)$ +windowrulev2 = opacity 0.9 0.8, class:^([Tt]hunar)$ windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$ windowrulev2 = opacity 0.9 0.7, class:^(gedit)$ -windowrulev2 = opacity 0.9 0.7, class:^(kitty)$ -windowrulev2 = opacity 0.9 0.6, class:^(mousepad)$ -windowrulev2 = opacity 0.9 0.6, class:^(codium-url-handler)$ -windowrulev2 = opacity 0.9 0.6, class:^(VSCodium)$ -windowrulev2 = opacity 0.9 0.6, class:^(yad)$ +windowrulev2 = opacity 0.9 0.8, class:^(kitty)$ +windowrulev2 = opacity 0.9 0.7, class:^(mousepad)$ +windowrulev2 = opacity 0.9 0.7, class:^(codium-url-handler)$ +windowrulev2 = opacity 0.9 0.7, class:^(VSCodium)$ +windowrulev2 = opacity 0.9 0.7, class:^(yad)$ +windowrulev2 = opacity 0.9 0.7, class:^(com.obsproject.Studio)$ +windowrulev2 = opacity 0.9 0.7, class:^([Aa]udacious)$ + #layerrule = unset,class:^([Rr]ofi)$ #layerrule = blur,class:^([Rr]ofi)$ From a9fd01d5ea9fe63aaae47763ca39e3e6d7ed40a2 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 22 Dec 2023 19:03:33 +0900 Subject: [PATCH 2/4] updated dunst --- config/dunst/dunstrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc index bef9244..2fb4d19 100755 --- a/config/dunst/dunstrc +++ b/config/dunst/dunstrc @@ -54,7 +54,7 @@ frame_width = 2 # Defines color of the frame around the notification window. - frame_color = "#4D0EB5" + frame_color = "#17474D" # Define a color for the separator. # possible values are: @@ -170,7 +170,7 @@ ### Misc/Advanced ### # dmenu path. - dmenu = /usr/bin/rofi -p dunst: + dmenu = /usr/bin/rofi -dmenu -p dunst # Browser for opening urls in context menu. browser = /usr/bin/firefox -new-tab @@ -232,7 +232,7 @@ # Otherwise the "#" and following would be interpreted as a comment. background = "#00000095" foreground = "#fafafa" - frame_color = "#4D0EB5" + frame_color = "#17474D" timeout = 2 # Icon for notifications with low urgency, uncomment to enable icon = $HOME/.config/dunst/images/bell.png @@ -240,7 +240,7 @@ [urgency_normal] background = "#00000095" foreground = "#fafafa" - frame_color = "#4D0EB5" + frame_color = "#17474D" timeout = 5 # Icon for notifications with normal urgency, uncomment to enable icon = $HOME/.config/dunst/images/bell.png @@ -248,7 +248,7 @@ [urgency_critical] background = "#00000095" foreground = "#fafafa" - frame_color = "#4D0EB5" + frame_color = "#17474D" timeout = 0 # Icon for notifications with critical urgency, uncomment to enable icon = $HOME/.config/dunst/images/bell.png From d8c4e879878c8ad59357b06405d3bfe3c8dffaf5 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 22 Dec 2023 21:28:18 +0900 Subject: [PATCH 3/4] updated waybar modules --- config/waybar/modules | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config/waybar/modules b/config/waybar/modules index 5dc0fad..624755c 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -344,7 +344,7 @@ }, "mpris": { - "interval": 1, + "interval": 10, "format": "{player_icon} ", "format-paused": "{status_icon} {dynamic}", "on-click-middle": "playerctl play-pause", @@ -421,6 +421,7 @@ "on-click-right": "pavucontrol -t 3", "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", + "tooltip-format": "{icon} {desc} | {volume}%", "smooth-scrolling-threshold": 1, }, @@ -432,6 +433,7 @@ "on-click-right": "pavucontrol -t 4", "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec", + "tooltip-format": "{source_desc} | {source_volume}%", "scroll-step": 5, }, @@ -655,7 +657,8 @@ "phone": "", "portable": "", "car": "", - "default": ["", "", "󰕾", ""], + "default": ["", "", "󰕾", ""], + "tooltip-format": "{icon} {desc} | {volume}%", "ignored-sinks": ["Easy Effects Sink"], }, "scroll-step": 5.0, @@ -676,7 +679,7 @@ "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec", "max-volume": 100, "tooltip": true, - "tooltip-format": "{icon} {desc} {volume}%", + "tooltip-format": "{source_desc} | {source_volume}%", }, "temperature#vertical": { From f2f5588667b84ca5c2f0ec696bad222e75964ddc Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 22 Dec 2023 21:31:34 +0900 Subject: [PATCH 4/4] wallpaper animation change --- config/hypr/scripts/WallpaperSelect.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/config/hypr/scripts/WallpaperSelect.sh b/config/hypr/scripts/WallpaperSelect.sh index cde4822..691b8fd 100755 --- a/config/hypr/scripts/WallpaperSelect.sh +++ b/config/hypr/scripts/WallpaperSelect.sh @@ -6,11 +6,11 @@ SCRIPTSDIR="$HOME/.config/hypr/scripts" DIR="$HOME/Pictures/wallpapers" # Transition config -FPS=60 -TYPE="any" +FPS=30 +TYPE="wipe" DURATION=1 -BEZIER="0,.53,1,.48" -SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION --transition-bezier $BEZIER" +BEZIER=".43,1.19,1,.4" +SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION" # Check if swaybg is running if pidof swaybg > /dev/null; then @@ -80,6 +80,7 @@ fi main +sleep 0.5 ${SCRIPTSDIR}/PywalSwww.sh -sleep 1 +sleep 0.2 ${SCRIPTSDIR}/Refresh.sh