feat: wallpaper menu, blue colors on waybar with blur

This commit is contained in:
João Dias
2024-08-18 17:38:57 -03:00
parent 5fc6add9c3
commit 6b77a0ab0e
13 changed files with 98 additions and 74 deletions
+3 -3
View File
@@ -6,7 +6,7 @@
$terminal = kitty
$fileManager = nautilus
$menu = wofi
$menu = anyrun
$mainMod = SUPER
$lockscreen = hyprlock
$screenshotDir = "$HOME/Screenshots"
@@ -40,7 +40,7 @@ bind = $mainMod, K, exec, $terminal
bind = $mainMod, Q, killactive
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, F, togglefloating
bind = $mainMod, SPACE, exec, $menu -S drun
bind = $mainMod, SPACE, exec, $menu
bind = $mainMod, P, pseudo,
bind = $mainMod, J, togglesplit
bind = $mainMod, F11, fullscreen
@@ -62,7 +62,7 @@ bind = , Print, exec, $screenshotSelect
bind = $mainMod, Print, exec, $screenshotFull
# Open wofi clipboard
bind = $mainMod, V, exec, cliphist list | $menu -S dmenu | cliphist decode | wl-copy
bind = $mainMod, V, exec, cliphist list | wofi -S dmenu | cliphist decode | wl-copy
# Reloading Components
# Waybar
+2
View File
@@ -9,3 +9,5 @@ env = QT_QPA_PLATFORM, wayland
env = QT_QPA_PLATFORMTHEME, qt6ct
env = XDG_CURRENT_DESKTOP, Hyprland
env = ADW_DISABLE_PORTAL, 1
env = AQ_DRM_DEVICES, /dev/dri/card0:/dev/dri/card1
+4 -6
View File
@@ -12,13 +12,10 @@ windowrulev2 = float, class:xdg-desktop-portal*
windowrulev2 = float, class:org.pulseaudio.pavucontrol
# Resize
windowrulev2 = size 50% 50%, class:org.pulseaudio.pavucontrol
windowrulev2 = size 70% 65%, class:org.pulseaudio.pavucontrol
# Moving
windowrulev2 = move 49.27% 7.28%, class:org.pulseaudio.pavucontrol
# Maximize
windowrulev2 = tile, title:^(Resources)$
# Center
windowrulev2 = center, class:org.pulseaudio.pavucontrol
# Animations
windowrulev2 = animation slide right, class:org.pulseaudio.pavucontrol
@@ -36,5 +33,6 @@ windowrulev2 = opacity , class:kitty
# Blur
blurls = logout_dialog
blurls = kitty
blurls = waybar
windowrulev2 = suppressevent maximize, class:.*
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
HYPRPAPER_FILE="$HOME/.config/hypr/hyprpaper.conf"
SET_WALLPAPER=$(find $HOME/wallpapers/ | wofi --dmenu --allow-images true)
echo "" > $HYPRPAPER_FILE # Cleans hyprpaper file
echo "\$wallpaper = $SET_WALLPAPER" >> $HYPRPAPER_FILE
echo "" >> $HYPRPAPER_FILE
echo "splash = true" >> $HYPRPAPER_FILE
echo "preload = \$wallpaper" >> $HYPRPAPER_FILE
echo "wallpaper = , \$wallpaper" >> $HYPRPAPER_FILE
if ! [[ $SET_WALLPAPER == "" ]] && ! [[ $SET_WALLPAPER == " " ]]
then
killall -q hyprpaper
exec hyprpaper &
fi
exit 0