From 21fca16f6dc872efef8680d0f1f08ccde77adbe3 Mon Sep 17 00:00:00 2001 From: hesam-init Date: Mon, 19 Feb 2024 17:34:11 +0330 Subject: [PATCH] chore: rofi wallpaper style --- hyprland/.config/hypr-theme/rofi/global.rasi | 2 +- hyprland/.config/hypr/scripts/env.sh | 2 +- .../.config/rofi/wallpaper/type-1/style-8.rasi | 15 +++++++-------- .../.config/rofi/wallpaper/type-1/wallpaper.sh | 4 ++-- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/hyprland/.config/hypr-theme/rofi/global.rasi b/hyprland/.config/hypr-theme/rofi/global.rasi index 48fe596..602c893 100644 --- a/hyprland/.config/hypr-theme/rofi/global.rasi +++ b/hyprland/.config/hypr-theme/rofi/global.rasi @@ -1 +1 @@ -@import "~/.config/hypr-theme/rofi/colors/black.rasi" +@import "~/.config/hypr-theme/rofi/colors/navy.rasi" diff --git a/hyprland/.config/hypr/scripts/env.sh b/hyprland/.config/hypr/scripts/env.sh index 5ad9ece..db1326d 100755 --- a/hyprland/.config/hypr/scripts/env.sh +++ b/hyprland/.config/hypr/scripts/env.sh @@ -8,5 +8,5 @@ export inotify_events="-e close_write,move,create" # swww env : export wallpapers_dir="$HOME/Wallpapers" -export swww_fps=75 +export swww_fps=120 export swww_duration=2 diff --git a/hyprland/.config/rofi/wallpaper/type-1/style-8.rasi b/hyprland/.config/rofi/wallpaper/type-1/style-8.rasi index 1fc923a..ceda63d 100644 --- a/hyprland/.config/rofi/wallpaper/type-1/style-8.rasi +++ b/hyprland/.config/rofi/wallpaper/type-1/style-8.rasi @@ -167,15 +167,13 @@ case-indicator { /*****----- Listview -----*****/ listview { enabled: true; - columns: 3; - lines: 4; + columns: 4; + lines: 3; cycle: true; dynamic: true; - scrollbar: false; + scrollbar: true; layout: vertical; reverse: false; - fixed-height: true; - fixed-columns: true; spacing: 5px; margin: 0px; padding: 0px; @@ -187,7 +185,7 @@ listview { cursor: "default"; } scrollbar { - handle-width: 5px ; + handle-width: 5px; handle-color: @handle-colour; border-radius: 10px; background-color: @alternate-background; @@ -196,9 +194,10 @@ scrollbar { /*****----- Elements -----*****/ element { enabled: true; + orientation: vertical; spacing: 10px; margin: 0px; - padding: 10px; + padding: 5px; border: 0px solid; border-radius: 8px; border-color: @border-colour; @@ -245,7 +244,7 @@ element alternate.active { element-icon { background-color: transparent; text-color: inherit; - size: 64px; + size: 7em; cursor: inherit; } element-text { diff --git a/hyprland/.config/rofi/wallpaper/type-1/wallpaper.sh b/hyprland/.config/rofi/wallpaper/type-1/wallpaper.sh index 76e8d56..69c76d4 100755 --- a/hyprland/.config/rofi/wallpaper/type-1/wallpaper.sh +++ b/hyprland/.config/rofi/wallpaper/type-1/wallpaper.sh @@ -5,7 +5,7 @@ dir="$HOME/.config/rofi/wallpaper/type-1" theme='style-8' rofi_cmd() { - rofi -dmenu -theme ${dir}/${theme}.rasi + rofi -dmenu -theme ${dir}/${theme}.rasi -p "Chad" } show_image_preview() { @@ -19,6 +19,6 @@ choice=$( wallpaper="$wallpapers_dir/$choice" -swww img -t any --transition-bezier 0.0,0.0,1.0,1.0 --transition-duration 1 --transition-step 255 --transition-fps 60 "$wallpaper" +swww img -t any --transition-bezier 0.0,0.0,1.0,1.0 --transition-duration 1 --transition-step 255 --transition-fps 120 "$wallpaper" exit 1