aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/hypr/scripts/WallpaperSelect.sh4
-rw-r--r--config/rofi/config-wallpaper.rasi24
-rw-r--r--config/rofi/resolution/1080p/config-wallpaper.rasi24
-rw-r--r--config/rofi/resolution/1440p/config-wallpaper.rasi50
4 files changed, 51 insertions, 51 deletions
diff --git a/config/hypr/scripts/WallpaperSelect.sh b/config/hypr/scripts/WallpaperSelect.sh
index 691b8fd2..5c3f2b94 100755
--- a/config/hypr/scripts/WallpaperSelect.sh
+++ b/config/hypr/scripts/WallpaperSelect.sh
@@ -23,13 +23,13 @@ RANDOM_PIC="${PICS[$((RANDOM % ${#PICS[@]}))]}"
RANDOM_PIC_NAME="${#PICS[@]}. random"
# Rofi command
-rofi_command="rofi -dmenu -config ~/.config/rofi/config-wallpaper.rasi"
+rofi_command="rofi -show -dmenu -config ~/.config/rofi/config-wallpaper.rasi"
menu() {
for i in "${!PICS[@]}"; do
# Displaying .gif to indicate animated images
if [[ -z $(echo "${PICS[$i]}" | grep .gif$) ]]; then
- printf "$(echo "${PICS[$i]}" | cut -d. -f1)\n"
+ printf "$(echo "${PICS[$i]}" | cut -d. -f1)\x00icon\x1f${DIR}/${PICS[$i]}\n"
else
printf "${PICS[$i]}\n"
fi
diff --git a/config/rofi/config-wallpaper.rasi b/config/rofi/config-wallpaper.rasi
index da47e90d..f999ce00 100644
--- a/config/rofi/config-wallpaper.rasi
+++ b/config/rofi/config-wallpaper.rasi
@@ -24,7 +24,7 @@ configuration {
/* ---- Window ---- */
window {
- width: 800px;
+ width: 700px;
/*height: 450px;*/
x-offset: 0px;
y-offset: 0px;
@@ -48,10 +48,10 @@ mainbox {
enabled: true;
orientation: horizontal;
padding: 8px;
- background-image: url("~/.config/rofi/.current_wallpaper", width);
+ /*background-image: url("~/.config/rofi/.current_wallpaper", width);*/
children: [ "imagebox"];
border-radius: 12px;
- background-color: @background;
+ background-color: @active-background;
}
/* ---- Imagebox ---- */
@@ -111,8 +111,8 @@ entry {
/* ---- Listview ---- */
listview {
enabled: true;
- columns: 2;
- lines: 8;
+ columns: 4;
+ lines: 3;
spacing: 4px;
dynamic: true;
cycle: true;
@@ -182,18 +182,18 @@ element alternate.active {
}
element-icon {
- background-color: transparent;
- text-color: inherit;
- size: 32px;
- cursor: inherit;
+ background-color: transparent;
+ text-color: inherit;
+ size: 150px;
+ cursor: inherit;
+ horizontal-align: 0.5;
}
+
element-text {
background-color: transparent;
- text-color: inherit;
+ text-color: transparent;
cursor: inherit;
- vertical-align: 0.5;
- horizontal-align: 0.0;
}
/*****----- Message -----*****/
diff --git a/config/rofi/resolution/1080p/config-wallpaper.rasi b/config/rofi/resolution/1080p/config-wallpaper.rasi
index da47e90d..f999ce00 100644
--- a/config/rofi/resolution/1080p/config-wallpaper.rasi
+++ b/config/rofi/resolution/1080p/config-wallpaper.rasi
@@ -24,7 +24,7 @@ configuration {
/* ---- Window ---- */
window {
- width: 800px;
+ width: 700px;
/*height: 450px;*/
x-offset: 0px;
y-offset: 0px;
@@ -48,10 +48,10 @@ mainbox {
enabled: true;
orientation: horizontal;
padding: 8px;
- background-image: url("~/.config/rofi/.current_wallpaper", width);
+ /*background-image: url("~/.config/rofi/.current_wallpaper", width);*/
children: [ "imagebox"];
border-radius: 12px;
- background-color: @background;
+ background-color: @active-background;
}
/* ---- Imagebox ---- */
@@ -111,8 +111,8 @@ entry {
/* ---- Listview ---- */
listview {
enabled: true;
- columns: 2;
- lines: 8;
+ columns: 4;
+ lines: 3;
spacing: 4px;
dynamic: true;
cycle: true;
@@ -182,18 +182,18 @@ element alternate.active {
}
element-icon {
- background-color: transparent;
- text-color: inherit;
- size: 32px;
- cursor: inherit;
+ background-color: transparent;
+ text-color: inherit;
+ size: 150px;
+ cursor: inherit;
+ horizontal-align: 0.5;
}
+
element-text {
background-color: transparent;
- text-color: inherit;
+ text-color: transparent;
cursor: inherit;
- vertical-align: 0.5;
- horizontal-align: 0.0;
}
/*****----- Message -----*****/
diff --git a/config/rofi/resolution/1440p/config-wallpaper.rasi b/config/rofi/resolution/1440p/config-wallpaper.rasi
index ef28039c..f2977e4d 100644
--- a/config/rofi/resolution/1440p/config-wallpaper.rasi
+++ b/config/rofi/resolution/1440p/config-wallpaper.rasi
@@ -3,19 +3,19 @@
/* ---- Configuration ---- */
configuration {
- modi: "drun,run";
- font: "Fira Code SemiBold 14";
- show-icons: true;
- display-drun: "";
- display-run: "";
- display-filebrowser: "";
- display-window: "";
- drun-display-format: "{name}";
- hover-select: true;
- me-select-entry: "MouseSecondary";
- me-accept-entry: "MousePrimary";
- window-format: "{w} · {c} · {t}";
- dpi: 1;
+ modi: "drun,run";
+ font: "Fira Code SemiBold 14";
+ show-icons: true;
+ display-drun: "";
+ display-run: "";
+ display-filebrowser: "";
+ display-window: "";
+ drun-display-format: "{name}";
+ hover-select: true;
+ me-select-entry: "MouseSecondary";
+ me-accept-entry: "MousePrimary";
+ window-format: "{w} · {c} · {t}";
+ dpi: 1;
}
@@ -24,7 +24,7 @@ configuration {
/* ---- Window ---- */
window {
- width: 800px;
+ width: 700px;
/*height: 450px;*/
x-offset: 0px;
y-offset: 0px;
@@ -48,10 +48,10 @@ mainbox {
enabled: true;
orientation: horizontal;
padding: 8px;
- background-image: url("~/.config/rofi/.current_wallpaper", width);
+ /*background-image: url("~/.config/rofi/.current_wallpaper", width);*/
children: [ "imagebox"];
border-radius: 12px;
- background-color: @background;
+ background-color: @active-background;
}
/* ---- Imagebox ---- */
@@ -111,8 +111,8 @@ entry {
/* ---- Listview ---- */
listview {
enabled: true;
- columns: 2;
- lines: 8;
+ columns: 4;
+ lines: 5;
spacing: 4px;
dynamic: true;
cycle: true;
@@ -182,18 +182,18 @@ element alternate.active {
}
element-icon {
- background-color: transparent;
- text-color: inherit;
- size: 32px;
- cursor: inherit;
+ background-color: transparent;
+ text-color: inherit;
+ size: 150px;
+ cursor: inherit;
+ horizontal-align: 0.5;
}
+
element-text {
background-color: transparent;
- text-color: inherit;
+ text-color: transparent;
cursor: inherit;
- vertical-align: 0.5;
- horizontal-align: 0.0;
}
/*****----- Message -----*****/
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage