mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-06-07 19:23:44 +02:00
chore: rofi wallpaper style
This commit is contained in:
parent
874825e96e
commit
21fca16f6d
4 changed files with 11 additions and 12 deletions
|
@ -1 +1 @@
|
||||||
@import "~/.config/hypr-theme/rofi/colors/black.rasi"
|
@import "~/.config/hypr-theme/rofi/colors/navy.rasi"
|
||||||
|
|
|
@ -8,5 +8,5 @@ export inotify_events="-e close_write,move,create"
|
||||||
|
|
||||||
# swww env :
|
# swww env :
|
||||||
export wallpapers_dir="$HOME/Wallpapers"
|
export wallpapers_dir="$HOME/Wallpapers"
|
||||||
export swww_fps=75
|
export swww_fps=120
|
||||||
export swww_duration=2
|
export swww_duration=2
|
||||||
|
|
|
@ -167,15 +167,13 @@ case-indicator {
|
||||||
/*****----- Listview -----*****/
|
/*****----- Listview -----*****/
|
||||||
listview {
|
listview {
|
||||||
enabled: true;
|
enabled: true;
|
||||||
columns: 3;
|
columns: 4;
|
||||||
lines: 4;
|
lines: 3;
|
||||||
cycle: true;
|
cycle: true;
|
||||||
dynamic: true;
|
dynamic: true;
|
||||||
scrollbar: false;
|
scrollbar: true;
|
||||||
layout: vertical;
|
layout: vertical;
|
||||||
reverse: false;
|
reverse: false;
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
spacing: 5px;
|
spacing: 5px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
@ -187,7 +185,7 @@ listview {
|
||||||
cursor: "default";
|
cursor: "default";
|
||||||
}
|
}
|
||||||
scrollbar {
|
scrollbar {
|
||||||
handle-width: 5px ;
|
handle-width: 5px;
|
||||||
handle-color: @handle-colour;
|
handle-color: @handle-colour;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
background-color: @alternate-background;
|
background-color: @alternate-background;
|
||||||
|
@ -196,9 +194,10 @@ scrollbar {
|
||||||
/*****----- Elements -----*****/
|
/*****----- Elements -----*****/
|
||||||
element {
|
element {
|
||||||
enabled: true;
|
enabled: true;
|
||||||
|
orientation: vertical;
|
||||||
spacing: 10px;
|
spacing: 10px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 10px;
|
padding: 5px;
|
||||||
border: 0px solid;
|
border: 0px solid;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
border-color: @border-colour;
|
border-color: @border-colour;
|
||||||
|
@ -245,7 +244,7 @@ element alternate.active {
|
||||||
element-icon {
|
element-icon {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
size: 64px;
|
size: 7em;
|
||||||
cursor: inherit;
|
cursor: inherit;
|
||||||
}
|
}
|
||||||
element-text {
|
element-text {
|
||||||
|
|
|
@ -5,7 +5,7 @@ dir="$HOME/.config/rofi/wallpaper/type-1"
|
||||||
theme='style-8'
|
theme='style-8'
|
||||||
|
|
||||||
rofi_cmd() {
|
rofi_cmd() {
|
||||||
rofi -dmenu -theme ${dir}/${theme}.rasi
|
rofi -dmenu -theme ${dir}/${theme}.rasi -p "Chad"
|
||||||
}
|
}
|
||||||
|
|
||||||
show_image_preview() {
|
show_image_preview() {
|
||||||
|
@ -19,6 +19,6 @@ choice=$(
|
||||||
|
|
||||||
wallpaper="$wallpapers_dir/$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
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue