From d483224ccbdb0fbf32cda0c397cda36bdbde4590 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 15 Dec 2023 15:42:02 +0900 Subject: [PATCH] tweak refresh.sh and rofi config --- config/hypr/scripts/Refresh.sh | 5 +++-- config/rofi/config.rasi | 2 +- config/rofi/resolution/1080p/config.rasi | 2 +- config/rofi/resolution/1440p/config.rasi | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index e393b95..0d91de8 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -10,15 +10,16 @@ for _prs in "${_ps[@]}"; do fi done -sleep 0.5 +sleep 0.1 # Relaunch waybar waybar & +sleep 0.1 # Relaunch dunst with pywal-borders ${SCRIPTSDIR}/PywalDunst.sh & # Relaunching rainbow borders -sleep 0.5 +sleep 1 ${SCRIPTSDIR}/RainbowBorders.sh & # for cava-pywal (note, need to manually restart cava once wallpaper changes) diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 30e3aa7..9537843 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -47,7 +47,7 @@ mainbox { enabled: true; orientation: vertical; padding: 8px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper", width); children: [ "inputbar", "imagebox" ]; border-radius: 12px; } diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index 30e3aa7..9537843 100644 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -47,7 +47,7 @@ mainbox { enabled: true; orientation: vertical; padding: 8px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper", width); children: [ "inputbar", "imagebox" ]; border-radius: 12px; } diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index fa92f05..d55fdba 100644 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -47,7 +47,7 @@ mainbox { enabled: true; orientation: vertical; padding: 8px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper", width); children: [ "inputbar", "imagebox" ]; border-radius: 12px; }