aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-02-12 18:57:11 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-02-12 18:57:11 +0900
commit279f620e7fe48bb351b9f2b8616951ce68303ec2 (patch)
tree653d89bdd75de7a883dacd1cd8faa863aefcabc2
parent772411cd39370bca3a89b5ee92bda3c5ea8e1b7e (diff)
rofi updates
Keyhints updated in preparation for the new changes
-rw-r--r--assets/rofi/themes/KooL_style-1.rasi9
-rw-r--r--assets/rofi/themes/KooL_style-10-Fancy.rasi9
-rw-r--r--assets/rofi/themes/KooL_style-11-Win11-list-dark.rasi10
-rw-r--r--assets/rofi/themes/KooL_style-11-Win11-list-light.rasi20
-rw-r--r--assets/rofi/themes/KooL_style-2-Dark.rasi9
-rw-r--r--assets/rofi/themes/KooL_style-2-Light.rasi8
-rw-r--r--assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi8
-rw-r--r--assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi6
-rw-r--r--assets/rofi/themes/KooL_style-4.rasi6
-rw-r--r--assets/rofi/themes/KooL_style-5.rasi9
-rw-r--r--assets/rofi/themes/KooL_style-6.rasi6
-rw-r--r--assets/rofi/themes/KooL_style-7.rasi8
-rw-r--r--assets/rofi/themes/KooL_style-8.rasi8
-rw-r--r--assets/rofi/themes/KooL_style-9.rasi12
-rw-r--r--config/hypr/UserConfigs/WindowRules.conf2
-rwxr-xr-xconfig/hypr/scripts/KeyHints.sh14
-rwxr-xr-xconfig/hypr/scripts/Refresh.sh2
-rw-r--r--config/rofi/config-Animations.rasi2
-rw-r--r--config/rofi/config-rofi-Beats-menu.rasi3
-rw-r--r--config/rofi/config-rofi-Beats.rasi5
-rw-r--r--config/rofi/config.rasi7
-rwxr-xr-xcopy.sh28
22 files changed, 132 insertions, 59 deletions
diff --git a/assets/rofi/themes/KooL_style-1.rasi b/assets/rofi/themes/KooL_style-1.rasi
index 556c86a1..b8f58fff 100644
--- a/assets/rofi/themes/KooL_style-1.rasi
+++ b/assets/rofi/themes/KooL_style-1.rasi
@@ -1,5 +1,5 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
-/* KooL Hyprland Style 1*/
+/* KooL Hyprland Rofi Style 1 */
/* ---- Configuration ---- */
@@ -23,7 +23,6 @@ configuration {
/* ---- Global Properties ---- */
* {
- font: "JetBrainsMono Nerd Font SemiBold 13";
background-alt: @color1;
selected: @color12;
active: @color11;
@@ -34,6 +33,10 @@ configuration {
border-color: @selected;
}
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
+}
/* ---- Window ---- */
window {
// Default
@@ -213,7 +216,7 @@ element-icon {
cursor: inherit;
}
element-text {
- font: "JetBrainsMono Nerd Font SemiBold 12";
+ size: 1%;
background-color: transparent;
text-color: inherit;
cursor: inherit;
diff --git a/assets/rofi/themes/KooL_style-10-Fancy.rasi b/assets/rofi/themes/KooL_style-10-Fancy.rasi
index 8da2e0e7..376cd3da 100644
--- a/assets/rofi/themes/KooL_style-10-Fancy.rasi
+++ b/assets/rofi/themes/KooL_style-10-Fancy.rasi
@@ -1,5 +1,5 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
-/* KooL Hyprland Style 10 - Fancy */
+/* KooL Hyprland Rofi Style 10 - Fancy */
/* Credit to DaveDavenport. I have only some few things changed */
/*******************************************************************************
@@ -12,7 +12,6 @@
/* ---- Configuration ---- */
configuration {
- font: "JetBrainsMono Nerd Font SemiBold 13";
modi: "drun,run,filebrowser";
show-icons: true;
drun-display-format: "{name}";
@@ -49,6 +48,12 @@ configuration {
active-background: rgba ( 39, 40, 34, 0 % );
selected-active-background: rgba ( 20, 20, 17, 100 % );
}
+
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
+}
+
window {
border-color: darkgray/30%;
background-color: black/50%;
diff --git a/assets/rofi/themes/KooL_style-11-Win11-list-dark.rasi b/assets/rofi/themes/KooL_style-11-Win11-list-dark.rasi
index f0a7d9e6..d8958455 100644
--- a/assets/rofi/themes/KooL_style-11-Win11-list-dark.rasi
+++ b/assets/rofi/themes/KooL_style-11-Win11-list-dark.rasi
@@ -1,5 +1,5 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
-/* KooL Style 10 - Windows 11 List Dark */
+/* KooL Hyprland Rofi Style 11 - Windows 11 List Dark */
/* source: https://github.com/newmanls */
/* Integrating Wallust and More tweaks */
@@ -15,8 +15,6 @@ configuration {
/*****----- Global Properties -----*****/
* {
- font: "JetBrainsMono Nerd Font SemiBold 13";
-
bg0 : black/50%;
bg1 : black/40%;
bg2 : black/10%;
@@ -34,6 +32,11 @@ configuration {
spacing : 0;
}
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
+}
+
element-icon, element-text, scrollbar {
cursor: pointer;
}
@@ -91,7 +94,6 @@ listview {
}
element {
- font: "JetBrainsMono Nerd Font SemiBold 11";
spacing : 1em;
padding : 8px;
border-radius : 2px;
diff --git a/assets/rofi/themes/KooL_style-11-Win11-list-light.rasi b/assets/rofi/themes/KooL_style-11-Win11-list-light.rasi
index 75da3b6e..8e2584b5 100644
--- a/assets/rofi/themes/KooL_style-11-Win11-list-light.rasi
+++ b/assets/rofi/themes/KooL_style-11-Win11-list-light.rasi
@@ -1,22 +1,20 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
-/* KooL Style 10 - Windows 11 List Light */
+/* KooL Hyprland Rofi Style 11 - Windows 11 List Light */
/* source: https://github.com/newmanls */
/* Integrating Wallust and More tweaks */
/* ---- Configuration ---- */
configuration {
- dpi: 1;
- show-icons: true;
- hover-select: true;
- me-select-entry: "MouseSecondary";
- me-accept-entry: "MousePrimary";
+ dpi: 1;
+ show-icons: true;
+ hover-select: true;
+ me-select-entry: "MouseSecondary";
+ me-accept-entry: "MousePrimary";
}
/*****----- Global Properties -----*****/
* {
- font: "JetBrainsMono Nerd Font SemiBold 13";
-
bg0 : #ffffff80;
bg1 : #f9f9f9bf;
bg2 : #f7f7f7;
@@ -34,6 +32,11 @@ configuration {
spacing : 0;
}
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
+}
+
element-icon, element-text, scrollbar {
cursor: pointer;
}
@@ -91,7 +94,6 @@ listview {
}
element {
- font: "JetBrainsMono Nerd Font SemiBold 11";
spacing : 1em;
padding : 8px;
border-radius : 2px;
diff --git a/assets/rofi/themes/KooL_style-2-Dark.rasi b/assets/rofi/themes/KooL_style-2-Dark.rasi
index de16d833..036b7fae 100644
--- a/assets/rofi/themes/KooL_style-2-Dark.rasi
+++ b/assets/rofi/themes/KooL_style-2-Dark.rasi
@@ -1,5 +1,5 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
-/* KooL Style 2 Dark */
+/* KooL Hyprland Rofi Style 2 Dark */
/* Source: https://github.com/adi1090x/rofi */
@@ -19,9 +19,9 @@ configuration {
me-accept-entry: "MousePrimary";
}
-/*****----- Global Properties -----*****/
-* {
- font: "JetBrainsMono Nerd Font SemiBold 13";
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
}
/*****----- Main Window -----*****/
@@ -148,7 +148,6 @@ mode-switcher{
text-color: white;
}
button {
- font: "JetBrainsMono Nerd Font SemiBold 12";
padding: 6px;
border: 0px solid;
border-radius: 100%;
diff --git a/assets/rofi/themes/KooL_style-2-Light.rasi b/assets/rofi/themes/KooL_style-2-Light.rasi
index 74eb8e32..9a8677ab 100644
--- a/assets/rofi/themes/KooL_style-2-Light.rasi
+++ b/assets/rofi/themes/KooL_style-2-Light.rasi
@@ -1,5 +1,5 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
-/* KooL Style 2 Light */
+/* KooL Hyprland Rofi Style 2 Light */
/* credit: https://github.com/adi1090x/rofi */
@@ -19,9 +19,9 @@ configuration {
me-accept-entry: "MousePrimary";
}
-/*****----- Global Properties -----*****/
-* {
- font: "JetBrainsMono Nerd Font SemiBold 13";
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
}
/*****----- Main Window -----*****/
diff --git a/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi b/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi
index d9b31251..61a65ae8 100644
--- a/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi
+++ b/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi
@@ -1,10 +1,9 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
-/* KooL Hyprland Full Screen Style 3 v1 */
+/* KooL Hyprland Rofi Style 3 - Full screen v1 */
/* ---- Configuration ---- */
configuration {
- font: "JetBrainsMono Nerd Font SemiBold 13";
modi: "drun,run,filebrowser";
show-icons: true;
display-drun: "Apps";
@@ -35,6 +34,11 @@ configuration {
border-color: @selected;
}
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
+}
+
/* ---- Global Properties ---- */
* {
main-bg: @background;
diff --git a/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi b/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi
index 7584b542..428c54a7 100644
--- a/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi
+++ b/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi
@@ -4,7 +4,6 @@
/*****----- Configuration -----*****/
configuration {
- font: "JetBrainsMono Nerd Font SemiBold 13";
modi: "drun,run,filebrowser";
show-icons: true;
display-drun: " Apps";
@@ -57,6 +56,11 @@ configuration {
}
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
+}
+
/*****----- Main Window -----*****/
window {
transparency: "real";
diff --git a/assets/rofi/themes/KooL_style-4.rasi b/assets/rofi/themes/KooL_style-4.rasi
index 7f4f0d4e..519f10f7 100644
--- a/assets/rofi/themes/KooL_style-4.rasi
+++ b/assets/rofi/themes/KooL_style-4.rasi
@@ -4,7 +4,6 @@
/*****----- Configuration -----*****/
configuration {
- font: "JetBrainsMono Nerd Font SemiBold 13";
modi: "drun,run,filebrowser";
show-icons: true;
display-drun: " Apps";
@@ -57,6 +56,11 @@ configuration {
}
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
+}
+
/*****----- Main Window -----*****/
window {
/* properties for window widget */
diff --git a/assets/rofi/themes/KooL_style-5.rasi b/assets/rofi/themes/KooL_style-5.rasi
index bb70d0f8..cd9a5ce2 100644
--- a/assets/rofi/themes/KooL_style-5.rasi
+++ b/assets/rofi/themes/KooL_style-5.rasi
@@ -1,9 +1,8 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
-/* KooL Hyprland v2.1.13 (old) - Default Config */
+/* KooL Hyprland Rofi Style 5 */
/* ---- Configuration ---- */
configuration {
- font: "JetBrainsMono Nerd Font SemiBold 13";
modi: "drun,run,filebrowser";
show-icons: true;
display-drun: "Apps";
@@ -35,6 +34,11 @@ configuration {
border-color: @selected;
}
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
+}
+
/* ---- Window ---- */
window {
width: 800px;
@@ -230,7 +234,6 @@ element-icon {
}
element-text {
- font: "JetBrainsMono Nerd Font SemiBold 12";
background-color: transparent;
text-color: @foreground;
cursor: inherit;
diff --git a/assets/rofi/themes/KooL_style-6.rasi b/assets/rofi/themes/KooL_style-6.rasi
index 30028218..f5e7de43 100644
--- a/assets/rofi/themes/KooL_style-6.rasi
+++ b/assets/rofi/themes/KooL_style-6.rasi
@@ -5,7 +5,6 @@
configuration {
modi: "drun,run,filebrowser";
- font: "Fira Code SemiBold 13";
show-icons: true;
display-drun: "Apps";
display-run: "Run";
@@ -35,6 +34,11 @@ configuration {
border-color: @selected;
}
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
+}
+
/* ---- Window ---- */
window {
// Default
diff --git a/assets/rofi/themes/KooL_style-7.rasi b/assets/rofi/themes/KooL_style-7.rasi
index 4032390a..6d8c0201 100644
--- a/assets/rofi/themes/KooL_style-7.rasi
+++ b/assets/rofi/themes/KooL_style-7.rasi
@@ -1,11 +1,10 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
-/* KooL Style 7 */
+/* KooL Hyprland Rofi Style 7 */
/* original design from: https://github.com/adi1090x/rofi */
/*****----- Configuration -----*****/
configuration {
- font: "JetBrains Mono Nerd Font 13";
modi: "drun,run,filebrowser,window";
show-icons: true;
display-drun: " ";
@@ -30,6 +29,11 @@ configuration {
active: @color11;
urgent: #8E3596;
}
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
+}
+
/*****----- Main Window -----*****/
window {
transparency: "real";
diff --git a/assets/rofi/themes/KooL_style-8.rasi b/assets/rofi/themes/KooL_style-8.rasi
index b74f801f..ce262ad4 100644
--- a/assets/rofi/themes/KooL_style-8.rasi
+++ b/assets/rofi/themes/KooL_style-8.rasi
@@ -1,11 +1,10 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
-/* KooL Hyprland - Style 13 */
+/* KooL Hyprland Rofi Style 8 */
/* ---- Configuration ---- */
configuration {
modi: "drun,filebrowser,window,run";
- font: "JetBrainsMono Nerd Font SemiBold 13";
show-icons: true;
display-drun: "  apps";
display-run: "  term";
@@ -29,6 +28,11 @@ configuration {
border-radius: 12px;
}
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
+}
+
/* ---- Window ---- */
window {
width: 50%;
diff --git a/assets/rofi/themes/KooL_style-9.rasi b/assets/rofi/themes/KooL_style-9.rasi
index a74e64eb..5ac5c0f9 100644
--- a/assets/rofi/themes/KooL_style-9.rasi
+++ b/assets/rofi/themes/KooL_style-9.rasi
@@ -1,5 +1,5 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
-/* KooL Style 9 */
+/* KooL Hyprland Rofi Style 9 */
/* Modified version of Rofi Config which was submitted by https://github.com/lonerOrz via Discord */
/* Integrating Wallust and More tweaks */
@@ -22,9 +22,7 @@ configuration {
@theme "~/.config/rofi/wallust/colors-rofi.rasi"
/*****----- Global Properties -----*****/
-* {
- font: "JetBrainsMono Nerd Font SemiBold 13";
-
+* {
BG: @background;
BGA: @color11;
FG: @foreground;
@@ -37,6 +35,11 @@ configuration {
ON: #ABE9B3ff;
}
+/*****-- Elements Font Size -----*****/
+element-text {
+ font: "JetBrainsMono Nerd Font SemiBold 12";
+}
+
/* ---- Window ---- */
window {
transparency: "real";
@@ -132,7 +135,6 @@ scrollbar {
/* ---- Elements ---- */
element {
- font: "JetBrainsMono Nerd Font SemiBold 12";
background-color: @BG;
text-color: @FG;
orientation: horizontal;
diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf
index 01c5e674..f4729d32 100644
--- a/config/hypr/UserConfigs/WindowRules.conf
+++ b/config/hypr/UserConfigs/WindowRules.conf
@@ -149,7 +149,7 @@ windowrulev2 = opacity 0.95 0.75, title:^(Picture-in-Picture)$
# SIZE
-windowrulev2 = size 70% 90%, title:^(KooL Quick Cheat Sheet)$
+windowrulev2 = size 65% 90%, title:^(KooL Quick Cheat Sheet)$
windowrulev2 = size 70% 70%, tag:wallpaper*
windowrulev2 = size 70% 70%, tag:settings*
windowrulev2 = size 60% 70%, class:^([Ww]hatsapp-for-linux)$
diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh
index 52e3ce41..d7c6a00d 100755
--- a/config/hypr/scripts/KeyHints.sh
+++ b/config/hypr/scripts/KeyHints.sh
@@ -23,13 +23,14 @@ GDK_BACKEND=$BACKEND yad \
--column=Description: \
--column=Command: \
--timeout-indicator=bottom \
-"ESC" "close this app" "" "=" "SUPER KEY (Windows Key)" "(SUPER KEY)" \
+"ESC" "close this app" "" " = " "SUPER KEY (Windows Key Button)" "(SUPER KEY)" \
" SHIFT K" "Searchable Keybinds" "(Search all Keybinds via rofi)" \
"" "" "" \
+" SHIFT E" "View or EDIT Keybinds, Settings, Monitor" "" \
" enter" "Terminal" "(kitty)" \
-" SHIFT enter" "DropDown Terminal" "(kitty-pyprland)" \
-" SHIFT K" "Searchable Keybinds" "(Keybinds)" \
-" A" "Desktop Overview" "(AGS Overview)" \
+" SHIFT enter" "DropDown Terminal" "(Not available in Debian and Ubuntu)" \
+" B" "Launch Browser" "(Default browser)" \
+" A" "Desktop Overview" "(AGS - if opted to install)" \
" D" "Application Launcher" "(rofi-wayland)" \
" E" "Open File Manager" "(Thunar)" \
" S" "Google Search using rofi" "(rofi)" \
@@ -53,7 +54,7 @@ GDK_BACKEND=$BACKEND yad \
"ALT Print" "Screenshot active window" "active window only" \
"CTRL ALT P" "power-menu" "(wlogout)" \
"CTRL ALT L" "screen lock" "(hyprlock)" \
-"CTRL ALT Del" "Hyprland Exit" "(SAVE YOUR WORK!!!)" \
+"CTRL ALT Del" "Hyprland Exit" "(NOTE: Hyprland Will exit immediately)" \
" SHIFT F" "Fullscreen" "Toggles to full screen" \
" CTL F" "Fake Fullscreen" "Toggles to fake full screen" \
" ALT L" "Toggle Dwindle | Master Layout" "Hyprland Layout" \
@@ -65,6 +66,5 @@ GDK_BACKEND=$BACKEND yad \
" ALT E" "Rofi Emoticons" "Emoticon" \
" ALT V" "Clipboard Manager" "cliphist" \
" H" "Launch this QUICK CHEAT" "" \
-" SHIFT E" "View or EDIT Keybinds, Settings, Monitor" "" \
"" "" "" \
-"More tips:" "https://github.com/JaKooLit/Hyprland-Dots/wiki" ""\
+"More tips:" "https://github.com/JaKooLit/Hyprland-Dots/wiki" ""\ \ No newline at end of file
diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh
index b041b19b..3bd22463 100755
--- a/config/hypr/scripts/Refresh.sh
+++ b/config/hypr/scripts/Refresh.sh
@@ -27,7 +27,7 @@ killall -SIGUSR2 waybar
killall -SIGUSR2 swaync
# quit ags & relaunch ags
-ags -q && ags &
+#ags -q && ags &
# some process to kill
for pid in $(pidof waybar rofi swaync ags swaybg); do
diff --git a/config/rofi/config-Animations.rasi b/config/rofi/config-Animations.rasi
index 7ce1c9f5..8aa22abf 100644
--- a/config/rofi/config-Animations.rasi
+++ b/config/rofi/config-Animations.rasi
@@ -37,4 +37,4 @@ element-text {
horizontal-align: 0.0;
vertical-align: 0.0;
margin: 5px 30px 5px 30px;
-} \ No newline at end of file
+}
diff --git a/config/rofi/config-rofi-Beats-menu.rasi b/config/rofi/config-rofi-Beats-menu.rasi
index bcb45ac2..b6a573f8 100644
--- a/config/rofi/config-rofi-Beats-menu.rasi
+++ b/config/rofi/config-rofi-Beats-menu.rasi
@@ -11,7 +11,8 @@ mainbox {
/* ---- Entry ---- */
entry {
- expand: true;
+ expand: false;
+ width: 17%;
placeholder: " 📻 Choose Music Source";
}
diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi
index a674fa3a..b84b4260 100644
--- a/config/rofi/config-rofi-Beats.rasi
+++ b/config/rofi/config-rofi-Beats.rasi
@@ -3,6 +3,11 @@
@import "~/.config/rofi/config.rasi"
+/* ---- Window ---- */
+window {
+ width: 45%;
+}
+
/* ---- Mainbox ---- */
mainbox {
children:
diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi
index 51a70f2c..586de76e 100644
--- a/config/rofi/config.rasi
+++ b/config/rofi/config.rasi
@@ -14,5 +14,12 @@
* ~/.local/share/rofi/themes will be replaced. However, it wont overwrite your own config if you
* renamed with your own unique file name */
+/* ---- Configuration Fonts ---- */
+configuration {
+ font: "JetBrainsMono Nerd Font SemiBold 13";
+}
+
+/* note: Element-text font and size, edit configs in ~/.local/share/rofi/themes */
+
@theme "~/.local/share/rofi/themes/KooL_style-2-Dark.rasi"
diff --git a/copy.sh b/copy.sh
index 467d7fb1..acfdeb2b 100755
--- a/copy.sh
+++ b/copy.sh
@@ -299,8 +299,29 @@ if [ "$resolution" == "< 1440p" ]; then
mv config/hypr/hyprlock.conf config/hypr/hyprlock-2k.conf &&
mv config/hypr/hyprlock-1080p.conf config/hypr/hyprlock.conf
- #elif [ "$resolution" == "≥ 1440p" ]; then
- #cp -r config/rofi/resolution/1440p/* config/rofi/ 10-Feb-2025
+ # rofi fonts reduction
+ themes_dir="$HOME/.local/share/rofi/themes"
+ config_file="$HOME/.config/rofi/config.rasi"
+
+ changes_made=false
+ # Change rofi font size in ~/.local/share/rofi/themes/
+ find "$themes_dir" -type f | while read -r file; do
+ if grep -Pzoq 'element-text {\n font: "JetBrainsMono Nerd Font SemiBold 12";\n}' "$file"; then
+ sed -i 's/font: "JetBrainsMono Nerd Font SemiBold 12"/font: "JetBrainsMono Nerd Font SemiBold 11"/' "$file"
+ changes_made=true
+ fi
+ done
+
+ # Change rofi font size in ~/.config/rofi/config.rasi
+ if [ -f "$config_file" ]; then
+ if grep -Pzoq 'configuration {\n font: "JetBrainsMono Nerd Font SemiBold 13";\n}' "$config_file"; then
+ sed -i 's/font: "JetBrainsMono Nerd Font SemiBold 13"/font: "JetBrainsMono Nerd Font SemiBold 12"/' "$config_file"
+ changes_made=true
+ fi
+ fi
+ if $changes_made; then
+ echo "$INFO ${MAGENTA}Rofi Font sizes${RESET} updated completed successfully."
+ fi
fi
printf "\n"
@@ -378,8 +399,7 @@ while true; do
fi
break
-
-
+
elif [[ "$answer" == "n" ]]; then
echo "${NOTE} You chose not to change to 12H format." 2>&1 | tee -a "$LOG"
break # Exit the loop if the user chooses "n"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage