aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-02-21 23:04:38 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-02-21 23:04:38 +0900
commitcac7771a124a3a480bc8cf7c91896d560d917e43 (patch)
treefa0c50f99d914eadf58849a7fafa0014829036a4
parent32954ef25b2eb8081587e7ea9e3c6e4c5388cd57 (diff)
adjusted rofi configs to have better compatibility?
-rwxr-xr-xconfig/hypr/UserScripts/Kool_Quick_Settings.sh87
-rw-r--r--config/rofi/config-Animations.rasi6
-rw-r--r--config/rofi/config-clipboard.rasi7
-rw-r--r--config/rofi/config-edit.rasi7
-rw-r--r--config/rofi/config-emoji.rasi5
-rw-r--r--config/rofi/config-keybinds.rasi3
-rw-r--r--config/rofi/config-rofi-Beats-menu.rasi2
-rw-r--r--config/rofi/config-rofi-Beats.rasi5
-rw-r--r--config/rofi/config-rofi-theme.rasi8
-rw-r--r--config/rofi/config-wallpaper-effect.rasi8
-rw-r--r--config/rofi/config-wallpaper.rasi15
-rw-r--r--config/rofi/config-waybar-layout.rasi4
-rw-r--r--config/rofi/config-waybar-style.rasi4
13 files changed, 94 insertions, 67 deletions
diff --git a/config/hypr/UserScripts/Kool_Quick_Settings.sh b/config/hypr/UserScripts/Kool_Quick_Settings.sh
index 663b51ed..a6dc2885 100755
--- a/config/hypr/UserScripts/Kool_Quick_Settings.sh
+++ b/config/hypr/UserScripts/Kool_Quick_Settings.sh
@@ -15,57 +15,58 @@ iDIR="$HOME/.config/swaync/images"
scriptsDir="$HOME/.config/hypr/scripts"
UserScripts="$HOME/.config/hypr/UserScripts"
-# Function to display the menu options
+# Function to display the menu options without numbers
menu() {
cat <<EOF
-1. view/edit ENV variables
-2. view/edit Window Rules
-3. view/edit User Keybinds
-4. view/edit User Settings
-5. view/edit Startup Apps
-6. view/edit Decorations
-7. view/edit Animations
-8. view/edit Laptop Keybinds
-9. view/edit Default Keybinds
-10. Configure Monitors (nwg-displays)
-11. Configure Workspace Rules (nwg-displays)
-12. Choose Hyprland Animations
-13. Choose Monitor Profiles
-14. Choose Rofi Themes
-15. Search for Keybinds
+view/edit ENV variables
+view/edit Window Rules
+view/edit User Keybinds
+view/edit User Settings
+view/edit Startup Apps
+view/edit Decorations
+view/edit Animations
+view/edit Laptop Keybinds
+view/edit Default Keybinds
+Configure Monitors (nwg-displays)
+Configure Workspace Rules (nwg-displays)
+Choose Hyprland Animations
+Choose Monitor Profiles
+Choose Rofi Themes
+Search for Keybinds
EOF
}
# Main function to handle menu selection
main() {
- choice=$(menu | rofi -i -dmenu -config $rofi_theme -mesg "$msg" | cut -d. -f1)
+ choice=$(menu | rofi -i -dmenu -config $rofi_theme -mesg "$msg")
# Map choices to corresponding files
- case $choice in
- 1) file="$UserConfigs/ENVariables.conf" ;;
- 2) file="$UserConfigs/WindowRules.conf" ;;
- 3) file="$UserConfigs/UserKeybinds.conf" ;;
- 4) file="$UserConfigs/UserSettings.conf" ;;
- 5) file="$UserConfigs/Startup_Apps.conf" ;;
- 6) file="$UserConfigs/UserDecorations.conf" ;;
- 7) file="$UserConfigs/UserAnimations.conf" ;;
- 8) file="$UserConfigs/Laptops.conf" ;;
- 9) file="$configs/Keybinds.conf" ;;
- 10) if ! command -v nwg-displays &>/dev/null; then
- notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first"
- exit 1
- fi
- nwg-displays ;;
- 11) if ! command -v nwg-displays &>/dev/null; then
- notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first"
- exit 1
- fi
- nwg-displays ;;
- 12) $scriptsDir/Animations.sh ;;
- 13) $scriptsDir/MonitorProfiles.sh ;;
- 14) $scriptsDir/RofiThemeSelector.sh ;;
- 15) $scriptsDir/KeyBinds.sh ;;
-
+ case "$choice" in
+ "view/edit ENV variables") file="$UserConfigs/ENVariables.conf" ;;
+ "view/edit Window Rules") file="$UserConfigs/WindowRules.conf" ;;
+ "view/edit User Keybinds") file="$UserConfigs/UserKeybinds.conf" ;;
+ "view/edit User Settings") file="$UserConfigs/UserSettings.conf" ;;
+ "view/edit Startup Apps") file="$UserConfigs/Startup_Apps.conf" ;;
+ "view/edit Decorations") file="$UserConfigs/UserDecorations.conf" ;;
+ "view/edit Animations") file="$UserConfigs/UserAnimations.conf" ;;
+ "view/edit Laptop Keybinds") file="$UserConfigs/Laptops.conf" ;;
+ "view/edit Default Keybinds") file="$configs/Keybinds.conf" ;;
+ "Configure Monitors (nwg-displays)")
+ if ! command -v nwg-displays &>/dev/null; then
+ notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first"
+ exit 1
+ fi
+ nwg-displays ;;
+ "Configure Workspace Rules (nwg-displays)")
+ if ! command -v nwg-displays &>/dev/null; then
+ notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first"
+ exit 1
+ fi
+ nwg-displays ;;
+ "Choose Hyprland Animations") $scriptsDir/Animations.sh ;;
+ "Choose Monitor Profiles") $scriptsDir/MonitorProfiles.sh ;;
+ "Choose Rofi Themes") $scriptsDir/RofiThemeSelector.sh ;;
+ "Search for Keybinds") $scriptsDir/KeyBinds.sh ;;
*) return ;; # Do nothing for invalid choices
esac
@@ -80,4 +81,4 @@ if pidof rofi > /dev/null; then
pkill rofi
fi
-main \ No newline at end of file
+main
diff --git a/config/rofi/config-Animations.rasi b/config/rofi/config-Animations.rasi
index c7a86361..f26eecd6 100644
--- a/config/rofi/config-Animations.rasi
+++ b/config/rofi/config-Animations.rasi
@@ -11,7 +11,7 @@ mainbox {
/* ---- Window ---- */
window {
- width: 45%;
+ width: inherit;
height: inherit;
}
@@ -28,6 +28,7 @@ listview {
fixed-height: false;
margin: 10px;
scrollbar: true;
+ spacing: 6px;
}
/* ---- Elements ---- */
@@ -37,5 +38,6 @@ element-icon {
element-text {
horizontal-align: 0.0;
vertical-align: 0.0;
- margin: 5px 30px 5px 30px;
+ margin: 0px;
+ padding: 0px;
}
diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi
index 4006e646..d0d3d3ae 100644
--- a/config/rofi/config-clipboard.rasi
+++ b/config/rofi/config-clipboard.rasi
@@ -5,7 +5,7 @@
/* ---- Window ---- */
window {
- width: 50%;
+ width: inherit;
height: inherit;
}
@@ -17,7 +17,7 @@ mainbox {
/* ---- Entry ---- */
entry {
- width: 47%;
+ width: inherit;
placeholder: " 📋 Search Clipboard ";
}
@@ -26,6 +26,7 @@ listview {
columns: 1;
lines: 8;
fixed-height: true;
+ spacing: 6px;
}
/* ---- Elements ---- */
@@ -40,4 +41,6 @@ element-icon {
element-text {
horizontal-align: 0.0;
vertical-align: 0.5;
+ margin: 0px;
+ padding: 0px;
}
diff --git a/config/rofi/config-edit.rasi b/config/rofi/config-edit.rasi
index b8a90345..4f5215ef 100644
--- a/config/rofi/config-edit.rasi
+++ b/config/rofi/config-edit.rasi
@@ -17,7 +17,7 @@ configuration {
/* ---- Window ---- */
window {
- width: 50%;
+ width: inherit;
height: inherit;
}
@@ -28,6 +28,7 @@ listview {
lines: 6;
fixed-height: false;
scrollbar: true;
+ spacing: 6px;
}
/* ---- Entry input ---- */
@@ -47,6 +48,6 @@ element-icon {
}
element-text {
horizontal-align: 0.0;
- padding-left: 0px;
- margin: 5px 30px 5px 30px;
+ margin: 0px;
+ padding: 0px;
} \ No newline at end of file
diff --git a/config/rofi/config-emoji.rasi b/config/rofi/config-emoji.rasi
index 79135a10..3ab498e3 100644
--- a/config/rofi/config-emoji.rasi
+++ b/config/rofi/config-emoji.rasi
@@ -11,7 +11,7 @@ mainbox {
/* ---- Window ---- */
window {
- width: 45%;
+ width: inherit;
height: inherit;
}
@@ -28,6 +28,7 @@ listview {
lines: 7;
fixed-height: false;
scrollbar: true;
+ spacing: 6px;
}
/* ---- Elements ---- */
@@ -42,4 +43,6 @@ element-icon {
element-text {
horizontal-align: 0.0;
vertical-align: 0.5;
+ padding: 0px;
+ margin: 0px;
} \ No newline at end of file
diff --git a/config/rofi/config-keybinds.rasi b/config/rofi/config-keybinds.rasi
index 1deeccca..256c2e87 100644
--- a/config/rofi/config-keybinds.rasi
+++ b/config/rofi/config-keybinds.rasi
@@ -22,6 +22,7 @@ listview {
lines: 8;
fixed-height: false;
scrollbar: true;
+ spacing: 6px;
}
window {
@@ -41,4 +42,6 @@ element-icon {
element-text {
horizontal-align: 0.0;
vertical-align: 0.5;
+ margin: 0px;
+ padding: 0px;
} \ 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 e2728ff5..ea20a09c 100644
--- a/config/rofi/config-rofi-Beats-menu.rasi
+++ b/config/rofi/config-rofi-Beats-menu.rasi
@@ -31,6 +31,7 @@ listview {
scrollbar: false;
colums: 1;
lines: 3;
+ spacing: 6px;
}
/* ---- Element ---- */
@@ -39,4 +40,5 @@ element-icon {
}
element-text {
horizontal-align: 0.5;
+
} \ No newline at end of file
diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi
index 9be65e09..9c67f4e4 100644
--- a/config/rofi/config-rofi-Beats.rasi
+++ b/config/rofi/config-rofi-Beats.rasi
@@ -5,7 +5,7 @@
/* ---- Window ---- */
window {
- width: 45%;
+ width: inherit;
height: inherit;
}
@@ -27,6 +27,7 @@ listview {
fixed-height: false;
margin: 10px;
scrollbar: true;
+ spacing: 6px;
}
/* ---- Elements ---- */
@@ -41,4 +42,6 @@ element-icon {
element-text {
horizontal-align: 0.0;
vertical-align: 0.5;
+ margin: 0px;
+ padding: 0px;
} \ No newline at end of file
diff --git a/config/rofi/config-rofi-theme.rasi b/config/rofi/config-rofi-theme.rasi
index 81b20ded..83975f64 100644
--- a/config/rofi/config-rofi-theme.rasi
+++ b/config/rofi/config-rofi-theme.rasi
@@ -5,7 +5,7 @@
/* ---- Window ---- */
window {
- width: 45%;
+ width: inherit;
height: inherit;
}
@@ -26,8 +26,9 @@ listview {
columns: 2;
lines: 7;
fixed-height: false;
- margin: 0px;
+ margin: 10px;
scrollbar: true;
+ spacing: 6px;
}
/* ---- Elements ---- */
@@ -36,6 +37,7 @@ element-icon {
}
element-text {
horizontal-align: 0.0;
- vertical-align: 0.0;
+ vertical-align: 0.5;
margin: 0px;
+ padding: 0px;
}
diff --git a/config/rofi/config-wallpaper-effect.rasi b/config/rofi/config-wallpaper-effect.rasi
index 0909bae4..61d68a76 100644
--- a/config/rofi/config-wallpaper-effect.rasi
+++ b/config/rofi/config-wallpaper-effect.rasi
@@ -12,13 +12,13 @@ mainbox {
/* ---- Entry ---- */
entry {
+ width: 32%;
placeholder: " 🏙️ Search / Choose desired wallpaper effect";
- padding: 12px;
}
/* ---- Window ---- */
window {
- width: 35%;
+ width: inherit;
height: inherit;
}
@@ -28,6 +28,7 @@ listview {
lines: 7;
fixed-height: false;
scrollbar: true;
+ spacing: 6px;
}
/* ---- Inputbar ---- */
@@ -43,5 +44,6 @@ element-icon {
element-text {
horizontal-align: 0.0;
vertical-align: 0.0;
- margin: 5px 30px 5px 30px;
+ margin: 0px;
+ padding: 0px;
} \ No newline at end of file
diff --git a/config/rofi/config-wallpaper.rasi b/config/rofi/config-wallpaper.rasi
index aa96932f..99f68098 100644
--- a/config/rofi/config-wallpaper.rasi
+++ b/config/rofi/config-wallpaper.rasi
@@ -31,6 +31,7 @@ listview {
columns: 6;
lines: 2;
spacing: 20px;
+ padding: 10px;
columns: 6;
lines: 2;
flow: horizontal;
@@ -41,6 +42,8 @@ listview {
/* ---- Element ---- */
element {
orientation: vertical;
+ padding: 0px;
+ spacing: 0px;
border-radius: 10px;
padding: 0px;
margin: 0px;
@@ -48,20 +51,18 @@ element {
element selected.normal {
background-color: transparent;
-
}
element-icon {
- text-color: inherit;
- size: 1%;
- margin: -30px;
- cursor: inherit;
-
+ text-color: inherit;
+ size: 10%;
+ margin: -30px;
+ cursor: inherit;
}
element-text {
vertical-align: 0.5;
horizontal-align: 0.5;
- padding: 20px;
+ padding: 10px;
margin: 0px;
}
diff --git a/config/rofi/config-waybar-layout.rasi b/config/rofi/config-waybar-layout.rasi
index 0d98a1ad..97ebe96f 100644
--- a/config/rofi/config-waybar-layout.rasi
+++ b/config/rofi/config-waybar-layout.rasi
@@ -33,6 +33,7 @@ listview {
fixed-height: false;
margin: 10px;
scrollbar: true;
+ spacing: 6px;
}
/* ---- Elements ---- */
@@ -41,5 +42,6 @@ element-icon {
}
element-text {
horizontal-align: 0.0;
- margin: 5px 30px 5px 30px;
+ margin: 0px;
+ padding: 0px;
} \ No newline at end of file
diff --git a/config/rofi/config-waybar-style.rasi b/config/rofi/config-waybar-style.rasi
index fd91e94f..bf9b11f2 100644
--- a/config/rofi/config-waybar-style.rasi
+++ b/config/rofi/config-waybar-style.rasi
@@ -32,6 +32,7 @@ listview {
fixed-height: false;
margin: 10px;
scrollbar: true;
+ spacing: 6px;
}
/* ---- Elements ---- */
@@ -40,5 +41,6 @@ element-icon {
}
element-text {
horizontal-align: 0.0;
- margin: 5px 30px 5px 30px;
+ margin: 0px;
+ padding: 0px;
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage