aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-02-21 00:54:22 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-02-21 00:54:22 +0900
commit5dac0fe1ae5a7b26aa3f66858d7e41c0d1cb2d85 (patch)
tree01ef518a5ea7a25fbb7c1620857dfa23aadb7b31
parent080904cfa60eae95884d9d5a233078929afb03eb (diff)
the usual tweak.. never ending
-rwxr-xr-xconfig/hypr/scripts/Wlogout.sh9
-rw-r--r--config/rofi/config-rofi-theme.rasi4
-rw-r--r--config/rofi/config-wallpaper.rasi15
-rw-r--r--config/rofi/themes/KooL_LonerOrZ.rasi2
-rw-r--r--config/rofi/themes/KooL_style-10-Fancy.rasi2
-rw-r--r--config/rofi/themes/KooL_style-11-Win11-list-dark.rasi4
-rw-r--r--config/rofi/themes/KooL_style-11-Win11-list-light.rasi4
-rw-r--r--config/rofi/themes/KooL_style-12-TOP-Docu.rasi10
-rw-r--r--config/rofi/themes/KooL_style-13-Vertical.rasi2
-rw-r--r--config/rofi/themes/KooL_style-2-Dark.rasi16
-rw-r--r--config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi5
-rw-r--r--config/rofi/themes/KooL_style-5.rasi2
-rw-r--r--config/rofi/themes/KooL_style-6.rasi2
-rw-r--r--config/rofi/themes/KooL_style-7.rasi2
-rw-r--r--config/rofi/themes/KooL_style-8.rasi5
-rw-r--r--config/rofi/themes/KooL_style-9.rasi71
16 files changed, 79 insertions, 76 deletions
diff --git a/config/hypr/scripts/Wlogout.sh b/config/hypr/scripts/Wlogout.sh
index 7659008e..1f720b18 100755
--- a/config/hypr/scripts/Wlogout.sh
+++ b/config/hypr/scripts/Wlogout.sh
@@ -19,13 +19,16 @@ fi
# Detect the current monitor's native resolution and scale
monitor_info=$(hyprctl -j monitors | jq -r '.[] | select(.focused==true)')
-# extract some info
+
resolution=$(echo "$monitor_info" | jq -r '.height')
width=$(echo "$monitor_info" | jq -r '.width')
hypr_scale=$(echo "$monitor_info" | jq -r '.scale')
-# If hypr_scale >= 1.25 or resolution can't be detected, run wlogout with -b 3
-if [[ -z "$resolution" || ! "$resolution" =~ ^[0-9]+$ || -z "$hypr_scale" || $(awk "BEGIN {exit !($hypr_scale >= 1.25)}") -eq 1 ]]; then
+# Round hypr_scale to 2 decimal places for accurate comparison
+rounded_scale=$(echo "scale=2; $hypr_scale/1" | bc)
+
+# If resolution or scale is invalid or hypr_scale >= 1.25, run wlogout with -b 3
+if [[ -z "$resolution" || ! "$resolution" =~ ^[0-9]+$ || -z "$hypr_scale" || $(echo "$rounded_scale >= 1.25" | bc) -eq 1 ]]; then
echo "Hypr_scale is greater than or equal to 1.25 or resolution could not be detected, running wlogout with -b 3"
wlogout --protocol layer-shell -b 3 -T 100 -B 100 &
exit 0
diff --git a/config/rofi/config-rofi-theme.rasi b/config/rofi/config-rofi-theme.rasi
index f968ce62..81b20ded 100644
--- a/config/rofi/config-rofi-theme.rasi
+++ b/config/rofi/config-rofi-theme.rasi
@@ -26,7 +26,7 @@ listview {
columns: 2;
lines: 7;
fixed-height: false;
- margin: 10px;
+ margin: 0px;
scrollbar: true;
}
@@ -37,5 +37,5 @@ element-icon {
element-text {
horizontal-align: 0.0;
vertical-align: 0.0;
- margin: 5px 30px 5px 30px;
+ margin: 0px;
}
diff --git a/config/rofi/config-wallpaper.rasi b/config/rofi/config-wallpaper.rasi
index 99f68098..aa96932f 100644
--- a/config/rofi/config-wallpaper.rasi
+++ b/config/rofi/config-wallpaper.rasi
@@ -31,7 +31,6 @@ listview {
columns: 6;
lines: 2;
spacing: 20px;
- padding: 10px;
columns: 6;
lines: 2;
flow: horizontal;
@@ -42,8 +41,6 @@ listview {
/* ---- Element ---- */
element {
orientation: vertical;
- padding: 0px;
- spacing: 0px;
border-radius: 10px;
padding: 0px;
margin: 0px;
@@ -51,18 +48,20 @@ element {
element selected.normal {
background-color: transparent;
+
}
element-icon {
- text-color: inherit;
- size: 10%;
- margin: -30px;
- cursor: inherit;
+ text-color: inherit;
+ size: 1%;
+ margin: -30px;
+ cursor: inherit;
+
}
element-text {
vertical-align: 0.5;
horizontal-align: 0.5;
- padding: 10px;
+ padding: 20px;
margin: 0px;
}
diff --git a/config/rofi/themes/KooL_LonerOrZ.rasi b/config/rofi/themes/KooL_LonerOrZ.rasi
index b9c7b25a..0c8ce899 100644
--- a/config/rofi/themes/KooL_LonerOrZ.rasi
+++ b/config/rofi/themes/KooL_LonerOrZ.rasi
@@ -126,7 +126,7 @@ element {
text-color: @FG;
orientation: horizontal;
border-radius: 4px;
- padding: 6px 6px 6px 6px;
+ padding: 12px;
}
element-icon {
diff --git a/config/rofi/themes/KooL_style-10-Fancy.rasi b/config/rofi/themes/KooL_style-10-Fancy.rasi
index d4a56220..a4045a73 100644
--- a/config/rofi/themes/KooL_style-10-Fancy.rasi
+++ b/config/rofi/themes/KooL_style-10-Fancy.rasi
@@ -165,7 +165,7 @@ listview {
element {
border: 1;
border-color: transparent;
- padding: 4px ;
+ padding: 12px ;
}
element-text {
background-color: inherit;
diff --git a/config/rofi/themes/KooL_style-11-Win11-list-dark.rasi b/config/rofi/themes/KooL_style-11-Win11-list-dark.rasi
index a00bf33f..a34ba1af 100644
--- a/config/rofi/themes/KooL_style-11-Win11-list-dark.rasi
+++ b/config/rofi/themes/KooL_style-11-Win11-list-dark.rasi
@@ -91,7 +91,7 @@ listview {
element {
spacing : 1em;
- padding : 8px;
+ padding : 20px;
border-radius : 2px;
}
@@ -114,6 +114,8 @@ element selected active {
element-text selected,
element selected {
background-color: @bg3;
+ padding: 20px;
+ border-radius: 12px;
}
element selected urgent {
diff --git a/config/rofi/themes/KooL_style-11-Win11-list-light.rasi b/config/rofi/themes/KooL_style-11-Win11-list-light.rasi
index 07caab06..8ad7504a 100644
--- a/config/rofi/themes/KooL_style-11-Win11-list-light.rasi
+++ b/config/rofi/themes/KooL_style-11-Win11-list-light.rasi
@@ -117,6 +117,8 @@ element-text selected,
element selected normal {
background-color: @bg0;
text-color: @accent;
+ padding: 20px;
+ border-radius: 12px;
}
element selected urgent {
@@ -149,6 +151,6 @@ error-message {
textbox {
padding : 10px;
text-color : @fg0;
- vertical-align : 0.5;
+ vertical-align : 0.5;
horizontal-align : 0.5;
}
diff --git a/config/rofi/themes/KooL_style-12-TOP-Docu.rasi b/config/rofi/themes/KooL_style-12-TOP-Docu.rasi
index b0b827ec..77d0754e 100644
--- a/config/rofi/themes/KooL_style-12-TOP-Docu.rasi
+++ b/config/rofi/themes/KooL_style-12-TOP-Docu.rasi
@@ -32,7 +32,7 @@ entry {
border: 2px 0px;
border-color: darkgrey;
background-color: grey;
- padding: 4px;
+ padding: 12px;
placeholder: "🔎 Search";
placeholder-color: darkgrey;
cursor: text;
@@ -82,6 +82,7 @@ icon-keyboard {
window {
anchor: north;
location: north;
+ y-offset: 10px;
width: 100%;
background-color: black / 50%;
padding: 0.5em;
@@ -109,13 +110,14 @@ element {
border-color: darkgrey;
background-color: grey;
cursor: pointer;
- padding: 2px;
+ padding: 20px;
}
element-text selected,
element selected {
- background-color: white/30%;
- text-color: black;
+ background-color: inherit;
+ text-color: inherit;
+ padding: 20px;
}
diff --git a/config/rofi/themes/KooL_style-13-Vertical.rasi b/config/rofi/themes/KooL_style-13-Vertical.rasi
index 0a7d06f2..d8464177 100644
--- a/config/rofi/themes/KooL_style-13-Vertical.rasi
+++ b/config/rofi/themes/KooL_style-13-Vertical.rasi
@@ -185,7 +185,7 @@ scrollbar {
/* ---- Element ---- */
element {
enabled: true;
- padding: 8px;
+ padding: 15px;
spacing: 10px;
cursor: pointer;
background-color: transparent;
diff --git a/config/rofi/themes/KooL_style-2-Dark.rasi b/config/rofi/themes/KooL_style-2-Dark.rasi
index 970e99be..45afe5b2 100644
--- a/config/rofi/themes/KooL_style-2-Dark.rasi
+++ b/config/rofi/themes/KooL_style-2-Dark.rasi
@@ -106,20 +106,20 @@ listview {
/* ---- Scrollbar ---- */
scrollbar {
- border: 1px;
- border-radius: 10px;
- background-color: inherit;
- handle-color: #719DF9;
- handle-width: 2px ;
- padding: 0;
+ border: 1px;
+ border-radius: 10px;
+ background-color: inherit;
+ handle-color: #719DF9;
+ handle-width: 2px ;
+ padding: 0;
}
/*****----- Elements -----*****/
element {
enabled: true;
spacing: 10px;
- margin: 0px;
- padding: 20px 0px 20px 0px;
+ margin: 10px;
+ padding: 20px;
border: 1px solid;
border-radius: 8px;
border-color: white/30%;
diff --git a/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi b/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi
index d0501a27..5fb434c1 100644
--- a/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi
+++ b/config/rofi/themes/KooL_style-3-Fullscreen-v2.rasi
@@ -187,12 +187,14 @@ element-text selected,
element selected.selected {
background-color: white/50%;
text-color: @foreground;
+ border-radius: 20px;
+ padding: 20px;
}
element-icon {
background-color: transparent;
text-color: inherit;
- size: 72px;
+ size: 7%;
cursor: inherit;
}
element-text {
@@ -202,6 +204,7 @@ element-text {
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.5;
+ padding: 30px;
}
/*****----- Message -----*****/
diff --git a/config/rofi/themes/KooL_style-5.rasi b/config/rofi/themes/KooL_style-5.rasi
index 8cfa1873..d2b8161f 100644
--- a/config/rofi/themes/KooL_style-5.rasi
+++ b/config/rofi/themes/KooL_style-5.rasi
@@ -183,7 +183,7 @@ scrollbar {
/* ---- Element ---- */
element {
enabled: true;
- padding: 5px;
+ padding: 12px;
margin: 2px;
cursor: pointer;
background-color: transparent;
diff --git a/config/rofi/themes/KooL_style-6.rasi b/config/rofi/themes/KooL_style-6.rasi
index 179ea884..4b8b3dd6 100644
--- a/config/rofi/themes/KooL_style-6.rasi
+++ b/config/rofi/themes/KooL_style-6.rasi
@@ -160,7 +160,7 @@ button selected {
element {
enabled: true;
spacing: 10px;
- padding: 4px;
+ padding: 15px;
border-radius: 10px;
background-color: transparent;
cursor: pointer;
diff --git a/config/rofi/themes/KooL_style-7.rasi b/config/rofi/themes/KooL_style-7.rasi
index 54123de2..cc8731d1 100644
--- a/config/rofi/themes/KooL_style-7.rasi
+++ b/config/rofi/themes/KooL_style-7.rasi
@@ -141,7 +141,7 @@ element {
enabled: true;
spacing: 10px;
margin: 0px;
- padding: 0px;
+ padding: 20px;
border: 0px solid;
border-radius: 0px;
border-color: @selected;
diff --git a/config/rofi/themes/KooL_style-8.rasi b/config/rofi/themes/KooL_style-8.rasi
index e983f470..516d4d22 100644
--- a/config/rofi/themes/KooL_style-8.rasi
+++ b/config/rofi/themes/KooL_style-8.rasi
@@ -123,7 +123,7 @@ mode-switcher {
orientation: horizontal;
width: 2em;
enabled: true;
- padding: 1em;
+ padding: 0.7em;
spacing: 1em;
background-color: transparent;
}
@@ -133,6 +133,7 @@ button {
border-radius: 2em;
background-color: @background;
text-color: @foreground;
+ padding: 0.4em;
}
button selected {
@@ -153,7 +154,7 @@ scrollbar {
element {
enabled: true;
spacing: 0em;
- padding: 0.5em;
+ padding: 0.8em;
cursor: pointer;
background-color: transparent;
text-color: @foreground;
diff --git a/config/rofi/themes/KooL_style-9.rasi b/config/rofi/themes/KooL_style-9.rasi
index 0a5b578c..db7f8b50 100644
--- a/config/rofi/themes/KooL_style-9.rasi
+++ b/config/rofi/themes/KooL_style-9.rasi
@@ -48,19 +48,12 @@ window {
border: 2px;
border-color: @BDR;
border-radius: 10px;
- width: 30%;
+ width: 25%;
anchor: center;
x-offset: 0;
y-offset: 0;
}
-mainbox {
- background-color: @BG;
- children: [ inputbar, message, listview ];
- spacing: 15px;
- padding: 15px;
-}
-
prompt {
enabled: true;
padding: 8px;
@@ -77,14 +70,13 @@ textbox-prompt-colon {
padding: 8px 12px 8px 12px;
}
-/* ---- Entry input ---- */
entry {
background-color: @BG;
text-color: @FG;
placeholder-color: @FG;
expand: true;
horizontal-align: 0;
- placeholder: " Search 👀 NOTE: CTRL TAB to change MODE";
+ placeholder: "Search 👀 NOTE: CTRL TAB to change MODE";
blink: true;
border: 0px 0px 2px 0px;
border-color: @BDR;
@@ -111,39 +103,40 @@ case-indicator {
spacing: 0;
}
-/* ---- Listview ---- */
+
listview {
background-color: @BG;
columns: 1;
lines: 7;
spacing: 4px;
- cycle: true;
+ cycle: false;
dynamic: true;
layout: vertical;
- scrollbar: true;
- padding: 10px;
- padding: 10px;
}
/* ---- Scrollbar ---- */
scrollbar {
- border: 0px;
- border: 0px;
- border-radius: 10px;
- border-color: @color12;
- handle-color: @color11;
- handle-width: 2px ;
- handle-width: 2px ;
- padding: 0;
+ border: 0px;
+ border-radius: 10px;
+ background-color: transparent;
+ handle-color: @BDR;
+ handle-width: 2px ;
+ padding: 0;
+}
+
+mainbox {
+ background-color: @BG;
+ children: [ inputbar, message, listview ];
+ spacing: 15px;
+ padding: 15px;
}
-/* ---- Elements ---- */
element {
background-color: @BG;
text-color: @FG;
orientation: horizontal;
border-radius: 4px;
- padding: 6px 6px 6px 6px;
+ padding: 12px;
}
element-icon {
@@ -164,6 +157,7 @@ element-text {
margin: 2px 0px 2px 2px;
}
+
element normal.urgent,
element alternate.urgent {
background-color: @UGT;
@@ -196,22 +190,19 @@ element selected.active {
color: @FG;
}
-/* ---- Message ---- */
+/*****----- Message -----*****/
message {
- background-color: transparent;
- border: 0px;
-}
-textbox {
- padding: 12px;
- border-radius: 10px;
- background-color: @BDR;
- text-color: @foreground;
- vertical-align: 0.5;
- horizontal-align: 0.5;
+ background-color: transparent;
+ border: 0px;
}
error-message {
- padding: 12px;
- border-radius: 20px;
- background-color: @background;
- text-color: @foreground;
+ padding: 20px;
+}
+textbox {
+ padding: 10px;
+ border-radius: 10px;
+ background-color: @BDR;
+ text-color: @SEL;
+ vertical-align: 0.5;
+ horizontal-align: 0.5;
} \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage