chore: rofi wallpaper style

This commit is contained in:
hesam-init 2024-02-19 17:34:11 +03:30
parent 874825e96e
commit 21fca16f6d
4 changed files with 11 additions and 12 deletions

View file

@ -1 +1 @@
@import "~/.config/hypr-theme/rofi/colors/black.rasi"
@import "~/.config/hypr-theme/rofi/colors/navy.rasi"

View file

@ -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

View file

@ -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 {

View file

@ -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