From d404c8b6b94d973334a1136223fbf5c412083bdb Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 10 Feb 2025 01:16:17 +0900 Subject: Initial upload of various rofi themes --- config/rofi/config-keybinds.rasi | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) (limited to 'config/rofi/config-keybinds.rasi') diff --git a/config/rofi/config-keybinds.rasi b/config/rofi/config-keybinds.rasi index 206928cb..6c8e2d5a 100644 --- a/config/rofi/config-keybinds.rasi +++ b/config/rofi/config-keybinds.rasi @@ -1,11 +1,18 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ /* Main Config - For Keybinds generation */ -@import "~/.config/rofi/master-config.rasi" +@import "~/.config/rofi/config.rasi" + + +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "listview"]; +} /* ---- Entry ---- */ entry { - width: 85%; + expand: true; placeholder: " 🧮 Search Keybinds ☣️ NOTE ☣️: Clicking with Mouse or Pressing ENTER will have NO function"; } @@ -13,8 +20,23 @@ entry { listview { columns: 2; lines: 12; + fixed-height: false; } window { - width: 95%; + width: 90%; +} + +/* ---- Elements ---- */ +element { + orientation: horizontal; +} + +element-icon { + size: 0%; +} + +element-text { + horizontal-align: 0.0; + vertical-align: 0.5; } \ No newline at end of file -- cgit v1.2.3 From a4c48b0ea0b2b1d474d503fb8d924d190762e999 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 13 Feb 2025 12:56:57 +0900 Subject: Improvements on the rofi. Utilized message function for additional informations when script is used in conjunction with rofi --- assets/rofi/themes/KooL_LonerOrZ.rasi | 12 ++++ assets/rofi/themes/KooL_style-1.rasi | 7 +- assets/rofi/themes/KooL_style-10-Fancy.rasi | 12 +++- .../rofi/themes/KooL_style-11-Win11-list-dark.rasi | 18 ++++-- .../themes/KooL_style-11-Win11-list-light.rasi | 17 +++-- assets/rofi/themes/KooL_style-2-Dark.rasi | 9 +-- assets/rofi/themes/KooL_style-2-Light.rasi | 10 ++- assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi | 5 +- assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi | 11 ++-- assets/rofi/themes/KooL_style-4.rasi | 2 +- assets/rofi/themes/KooL_style-5.rasi | 6 +- assets/rofi/themes/KooL_style-6.rasi | 5 +- assets/rofi/themes/KooL_style-7.rasi | 6 +- assets/rofi/themes/KooL_style-8.rasi | 8 +-- assets/rofi/themes/KooL_style-9.rasi | 4 +- config/hypr/scripts/ClipManager.sh | 5 +- config/hypr/scripts/KeyBinds.sh | 9 +-- config/hypr/scripts/KeyHints.sh | 74 +++++++++++----------- config/hypr/scripts/RofiSearch.sh | 4 +- config/rofi/config-calc.rasi | 5 -- config/rofi/config-clipboard.rasi | 4 +- config/rofi/config-keybinds.rasi | 4 +- config/rofi/config-search.rasi | 5 +- 23 files changed, 137 insertions(+), 105 deletions(-) (limited to 'config/rofi/config-keybinds.rasi') diff --git a/assets/rofi/themes/KooL_LonerOrZ.rasi b/assets/rofi/themes/KooL_LonerOrZ.rasi index d6a947ba..2803b693 100644 --- a/assets/rofi/themes/KooL_LonerOrZ.rasi +++ b/assets/rofi/themes/KooL_LonerOrZ.rasi @@ -166,3 +166,15 @@ element selected.active { background-color: @BGA; color: @FG; } + +/*****----- Message -----*****/ +error-message { + padding: 20px; +} +textbox { + padding: 10px; + background-color: @BG; + text-color: @FG; + vertical-align: 0.5; + horizontal-align: 0.5; +} diff --git a/assets/rofi/themes/KooL_style-1.rasi b/assets/rofi/themes/KooL_style-1.rasi index b8f58fff..9ac62fd7 100644 --- a/assets/rofi/themes/KooL_style-1.rasi +++ b/assets/rofi/themes/KooL_style-1.rasi @@ -84,7 +84,7 @@ entry { width: 20%; padding: 10px; border-radius: 12px; - background-color: @color11; + background-color: @active; text-color: @text-selected; cursor: text; placeholder: " 🖥️ Search "; @@ -230,12 +230,13 @@ message { border: 0px; } textbox { + margin: 10px; padding: 12px; border-radius: 10px; - background-color: @background; + background-color: @active; text-color: @foreground; vertical-align: 0.5; - horizontal-align: 0.0; + horizontal-align: 0.5; } error-message { padding: 12px; diff --git a/assets/rofi/themes/KooL_style-10-Fancy.rasi b/assets/rofi/themes/KooL_style-10-Fancy.rasi index 376cd3da..f5dc79e4 100644 --- a/assets/rofi/themes/KooL_style-10-Fancy.rasi +++ b/assets/rofi/themes/KooL_style-10-Fancy.rasi @@ -282,12 +282,18 @@ entry { } +/*****----- Message -----*****/ error-message { - background-color: darkred/10%; - border-color: darkred; + background-color: darkred/20%; border-radius: 10px; border: 2px; - padding: 0.5em; } +textbox { + padding: 5px; + background-color: darkred/10%; + vertical-align: 0.5; + horizontal-align: 0.5; +} + 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 d8958455..9dede9f8 100644 --- a/assets/rofi/themes/KooL_style-11-Win11-list-dark.rasi +++ b/assets/rofi/themes/KooL_style-11-Win11-list-dark.rasi @@ -81,11 +81,6 @@ entry { text-color : @fg1; } -textbox { - padding : 4px 8px; - background-color : @bg2; -} - listview { columns : 2; spacing : 8px; @@ -130,3 +125,16 @@ element-icon { element-text { text-color: inherit; } + +/*****----- Message -----*****/ +error-message { + padding: 20px; +} + +textbox { + padding : 10px; + background-color : @bg0; + text-color : @fg0; + vertical-align : 0.5; + horizontal-align : 0.5; +} 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 8e2584b5..0e2600f1 100644 --- a/assets/rofi/themes/KooL_style-11-Win11-list-light.rasi +++ b/assets/rofi/themes/KooL_style-11-Win11-list-light.rasi @@ -81,10 +81,6 @@ entry { placeholder-color : @fg1; } -textbox { - padding : 4px 8px; - background-color : @bg2; -} listview { columns : 2; @@ -130,3 +126,16 @@ element-icon { element-text { text-color: inherit; } + +/*****----- Message -----*****/ +error-message { + padding: 20px; +} + +textbox { + padding : 10px; + background-color : @bg0; + text-color : @fg0; + vertical-align : 0.5; + horizontal-align : 0.5; +} diff --git a/assets/rofi/themes/KooL_style-2-Dark.rasi b/assets/rofi/themes/KooL_style-2-Dark.rasi index 036b7fae..cbacce1c 100644 --- a/assets/rofi/themes/KooL_style-2-Dark.rasi +++ b/assets/rofi/themes/KooL_style-2-Dark.rasi @@ -163,14 +163,11 @@ button selected { /*****----- Message -----*****/ error-message { padding: 20px; - background-color: transparent; - text-color: white; } textbox { - padding: 20px; - border-radius: 12px; - background-color: black/30%; + padding: 10px; + background-color: black/75%; text-color: white; vertical-align: 0.5; - horizontal-align: 0.0; + horizontal-align: 0.5; } diff --git a/assets/rofi/themes/KooL_style-2-Light.rasi b/assets/rofi/themes/KooL_style-2-Light.rasi index 9a8677ab..c2fc812f 100644 --- a/assets/rofi/themes/KooL_style-2-Light.rasi +++ b/assets/rofi/themes/KooL_style-2-Light.rasi @@ -164,14 +164,12 @@ button selected { /*****----- Message -----*****/ error-message { padding: 20px; - background-color: transparent; - text-color: black; } textbox { - padding: 20px; - border-radius: 12px; - background-color: white/30%; + padding: 10px; + background-color: gray/25%; text-color: black; vertical-align: 0.5; - horizontal-align: 0.0; + horizontal-align: 0.5; } + diff --git a/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi b/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi index 61a65ae8..a98a6fa8 100644 --- a/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi +++ b/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi @@ -240,12 +240,13 @@ message { border: 0px; } textbox { + margin: 10px; padding: 12px; border-radius: 10px; - background-color: @background-alt; + background-color: @selected; text-color: @background; vertical-align: 0.5; - horizontal-align: 0.0; + horizontal-align: 0.5; } error-message { padding: 12px; diff --git a/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi b/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi index 428c54a7..55277f61 100644 --- a/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi +++ b/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi @@ -197,17 +197,16 @@ element-text { /*****----- Message -----*****/ error-message { - padding: 100px; - border: 0px solid; - border-radius: 0px; + padding: 0px; border-color: @selected; - background-color: black / 10%; + background-color: transparent; text-color: @foreground; } textbox { - background-color: transparent; + padding: 20px; + background-color: black/10%; text-color: @foreground; vertical-align: 0.5; - horizontal-align: 0.0; + horizontal-align: 0.5; highlight: none; } diff --git a/assets/rofi/themes/KooL_style-4.rasi b/assets/rofi/themes/KooL_style-4.rasi index 519f10f7..7eb03c45 100644 --- a/assets/rofi/themes/KooL_style-4.rasi +++ b/assets/rofi/themes/KooL_style-4.rasi @@ -312,7 +312,7 @@ textbox { background-color: @alternate-background; text-color: @foreground-color; vertical-align: 0.5; - horizontal-align: 0.0; + horizontal-align: 0.5; highlight: none; placeholder-color: @foreground-color; blink: true; diff --git a/assets/rofi/themes/KooL_style-5.rasi b/assets/rofi/themes/KooL_style-5.rasi index cd9a5ce2..3d1f9220 100644 --- a/assets/rofi/themes/KooL_style-5.rasi +++ b/assets/rofi/themes/KooL_style-5.rasi @@ -165,7 +165,7 @@ listview { reverse: false; fixed-height: true; fixed-columns: false; - background-color: transparent; + background-color: @background; border-radius: 12px; border: 0px; } @@ -250,9 +250,9 @@ textbox { padding: 12px; border-radius: 10px; background-color: @background-alt; - text-color: @background; + text-color: @foreground; vertical-align: 0.5; - horizontal-align: 0.0; + horizontal-align: 0.5; } error-message { padding: 12px; diff --git a/assets/rofi/themes/KooL_style-6.rasi b/assets/rofi/themes/KooL_style-6.rasi index f5e7de43..bdc1b12d 100644 --- a/assets/rofi/themes/KooL_style-6.rasi +++ b/assets/rofi/themes/KooL_style-6.rasi @@ -216,12 +216,13 @@ message { border: 0px; } textbox { + margin: 10px; padding: 12px; border-radius: 10px; - background-color: @background; + background-color: @active; text-color: @foreground; vertical-align: 0.5; - horizontal-align: 0.0; + horizontal-align: 0.5; } error-message { padding: 12px; diff --git a/assets/rofi/themes/KooL_style-7.rasi b/assets/rofi/themes/KooL_style-7.rasi index 6d8c0201..c5bec637 100644 --- a/assets/rofi/themes/KooL_style-7.rasi +++ b/assets/rofi/themes/KooL_style-7.rasi @@ -186,9 +186,11 @@ error-message { text-color: @foreground; } textbox { - background-color: @background; + padding: 10px; + border-radius: 20px; + background-color: @color11; text-color: @foreground; vertical-align: 0.5; - horizontal-align: 0.0; + horizontal-align: 0.5; highlight: none; } diff --git a/assets/rofi/themes/KooL_style-8.rasi b/assets/rofi/themes/KooL_style-8.rasi index ce262ad4..7a54dff5 100644 --- a/assets/rofi/themes/KooL_style-8.rasi +++ b/assets/rofi/themes/KooL_style-8.rasi @@ -228,15 +228,15 @@ message { } textbox { padding: 12px; - border-radius: 10px; - background-color: @background; + border-radius: 0px; + background-color: @color11; text-color: @foreground; vertical-align: 0.5; - horizontal-align: 0.0; + horizontal-align: 0.5; } error-message { padding: 12px; - border-radius: 20px; + border-radius: 0px; background-color: @background; text-color: @foreground; } diff --git a/assets/rofi/themes/KooL_style-9.rasi b/assets/rofi/themes/KooL_style-9.rasi index 5ac5c0f9..a03f877f 100644 --- a/assets/rofi/themes/KooL_style-9.rasi +++ b/assets/rofi/themes/KooL_style-9.rasi @@ -199,10 +199,10 @@ message { textbox { padding: 12px; border-radius: 10px; - background-color: @background; + background-color: @BDR; text-color: @foreground; vertical-align: 0.5; - horizontal-align: 0.0; + horizontal-align: 0.5; } error-message { padding: 12px; diff --git a/config/hypr/scripts/ClipManager.sh b/config/hypr/scripts/ClipManager.sh index 642adb82..1f82c616 100755 --- a/config/hypr/scripts/ClipManager.sh +++ b/config/hypr/scripts/ClipManager.sh @@ -4,7 +4,7 @@ # Variables rofi_theme="~/.config/rofi/config-clipboard.rasi" - +msg='👀 **note** CTRL DEL = cliphist del (entry) or ALT DEL - cliphist wipe (all)' # Actions: # CTRL Del to delete an entry # ALT Del to wipe clipboard contents @@ -19,7 +19,8 @@ while true; do rofi -i -dmenu \ -kb-custom-1 "Control-Delete" \ -kb-custom-2 "Alt-Delete" \ - -config $rofi_theme < <(cliphist list) + -config $rofi_theme < <(cliphist list) \ + -mesg "$msg" ) case "$?" in diff --git a/config/hypr/scripts/KeyBinds.sh b/config/hypr/scripts/KeyBinds.sh index f80211f5..ffa53281 100755 --- a/config/hypr/scripts/KeyBinds.sh +++ b/config/hypr/scripts/KeyBinds.sh @@ -14,7 +14,8 @@ fi KEYBINDS_CONF="$HOME/.config/hypr/configs/Keybinds.conf" USER_KEYBINDS_CONF="$HOME/.config/hypr/UserConfigs/UserKeybinds.conf" LAPTOP_CONF="$HOME/.config/hypr/UserConfigs/Laptop.conf" -rofi_theme="~/.config/rofi/config-keybinds.rasi" +rofi_theme="$HOME/.config/rofi/config-keybinds.rasi" +msg='☣️ NOTE ☣️: Clicking with Mouse or Pressing ENTER will have NO function' # Combine the contents of the keybinds files and filter for keybinds KEYBINDS=$(cat "$KEYBINDS_CONF" "$USER_KEYBINDS_CONF" | grep -E '^(bind|bindl|binde|bindm)') @@ -25,11 +26,11 @@ if [[ -f "$LAPTOP_CONF" ]]; then KEYBINDS+=$'\n'"$LAPTOP_BINDS" fi -# check for any keybinds to display +# Check for any keybinds to display if [[ -z "$KEYBINDS" ]]; then echo "No keybinds found." exit 1 fi -# Use rofi to display the keybinds -echo "$KEYBINDS" | rofi -dmenu -i -config $rofi_theme \ No newline at end of file +# Ensure the message is being passed correctly +echo "$KEYBINDS" | rofi -dmenu -i -config "$rofi_theme" -mesg "$msg" diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh index d7c6a00d..d69f5de8 100755 --- a/config/hypr/scripts/KeyHints.sh +++ b/config/hypr/scripts/KeyHints.sh @@ -23,48 +23,48 @@ GDK_BACKEND=$BACKEND yad \ --column=Description: \ --column=Command: \ --timeout-indicator=bottom \ -"ESC" "close this app" "" " = " "SUPER KEY (Windows Key Button)" "(SUPER KEY)" \ -" SHIFT K" "Searchable Keybinds" "(Search all Keybinds via rofi)" \ +"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" "" \ "" "" "" \ -" SHIFT E" "View or EDIT Keybinds, Settings, Monitor" "" \ -" enter" "Terminal" "(kitty)" \ -" 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)" \ -" Q" "close active window" "(not kill)" \ -" Shift Q " "kills an active window" "(kill)" \ -" Z" "Desktop Zoom" "(Not available in Debian and Ubuntu)" \ -" Alt V" "Clipboard Manager" "(cliphist)" \ -" W" "Choose wallpaper" "(Wallpaper Menu)" \ -" Shift W" "Choose wallpaper effects" "(imagemagick + swww)" \ +" enter" "Terminal" "(kitty)" \ +" 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)" \ +" Q" "close active window" "(not kill)" \ +" Shift Q " "kills an active window" "(kill)" \ +" Z" "Desktop Zoom" "(Not available in Debian and Ubuntu)" \ +" Alt V" "Clipboard Manager" "(cliphist)" \ +" W" "Choose wallpaper" "(Wallpaper Menu)" \ +" Shift W" "Choose wallpaper effects" "(imagemagick + swww)" \ "CTRL ALT W" "Random wallpaper" "(via swww)" \ -" CTRL ALT B" "Hide/UnHide Waybar" "waybar" \ -" CTRL B" "Choose waybar styles" "(waybar styles)" \ -" ALT B" "Choose waybar layout" "(waybar layout)" \ -" ALT R" "Reload Waybar swaync Rofi" "CHECK NOTIFICATION FIRST!!!" \ -" SHIFT N" "Launch Notification Panel" "swaync Notification Center" \ -" Print" "screenshot" "(grim)" \ -" Shift Print" "screenshot region" "(grim + slurp)" \ -" Shift S" "screenshot region" "(swappy)" \ -" CTRL Print" "screenshot timer 5 secs " "(grim)" \ -" CTRL SHIFT Print" "screenshot timer 10 secs " "(grim)" \ +" CTRL ALT B" "Hide/UnHide Waybar" "waybar" \ +" CTRL B" "Choose waybar styles" "(waybar styles)" \ +" ALT B" "Choose waybar layout" "(waybar layout)" \ +" ALT R" "Reload Waybar swaync Rofi" "CHECK NOTIFICATION FIRST!!!" \ +" SHIFT N" "Launch Notification Panel" "swaync Notification Center" \ +" Print" "screenshot" "(grim)" \ +" Shift Print" "screenshot region" "(grim + slurp)" \ +" Shift S" "screenshot region" "(swappy)" \ +" CTRL Print" "screenshot timer 5 secs " "(grim)" \ +" CTRL SHIFT Print" "screenshot timer 10 secs " "(grim)" \ "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" "(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" \ -" SPACEBAR" "Toggle float" "single window" \ -" ALT SPACEBAR" "Toggle all windows to float" "all windows" \ -" ALT O" "Toggle Blur" "normal or less blur" \ -" Shift A" "Animations Menu" "Choose Animations via rofi" \ -" SHIFT G" "Gamemode! All animations OFF or ON" "toggle" \ -" ALT E" "Rofi Emoticons" "Emoticon" \ -" ALT V" "Clipboard Manager" "cliphist" \ -" H" "Launch this QUICK CHEAT" "" \ +" SHIFT F" "Fullscreen" "Toggles to full screen" \ +" CTL F" "Fake Fullscreen" "Toggles to fake full screen" \ +" ALT L" "Toggle Dwindle | Master Layout" "Hyprland Layout" \ +" SPACEBAR" "Toggle float" "single window" \ +" ALT SPACEBAR" "Toggle all windows to float" "all windows" \ +" ALT O" "Toggle Blur" "normal or less blur" \ +" Shift A" "Animations Menu" "Choose Animations via rofi" \ +" SHIFT G" "Gamemode! All animations OFF or ON" "toggle" \ +" ALT E" "Rofi Emoticons" "Emoticon" \ +" ALT V" "Clipboard Manager" "cliphist" \ +" H" "Launch this QUICK CHEAT" "" \ "" "" "" \ "More tips:" "https://github.com/JaKooLit/Hyprland-Dots/wiki" ""\ \ No newline at end of file diff --git a/config/hypr/scripts/RofiSearch.sh b/config/hypr/scripts/RofiSearch.sh index d9576a1a..e256253a 100755 --- a/config/hypr/scripts/RofiSearch.sh +++ b/config/hypr/scripts/RofiSearch.sh @@ -5,7 +5,7 @@ # Opens rofi in dmenu mod and waits for input. Then pushes the input to the query of the URL. rofi_theme="$HOME/.config/rofi/config-search.rasi" - +msg='‼️ **note** ‼️ search via default web browser' # Kill Rofi if already running before execution if pgrep -x "rofi" >/dev/null; then pkill rofi @@ -15,4 +15,4 @@ fi # Open rofi with a dmenu and pass the selected item to xdg-open for Google search #echo "" | rofi -dmenu -config "$rofi_config" | xargs -I{} xdg-open "https://www.google.com/search?q={}" -echo "" | rofi -dmenu -config $rofi_theme | xargs -I{} xdg-open "https://www.google.com/search?q={}" +echo "" | rofi -dmenu -config $rofi_theme -mesg "$msg" | xargs -I{} xdg-open "https://www.google.com/search?q={}" diff --git a/config/rofi/config-calc.rasi b/config/rofi/config-calc.rasi index 60169c31..1dfd1887 100644 --- a/config/rofi/config-calc.rasi +++ b/config/rofi/config-calc.rasi @@ -17,9 +17,4 @@ entry { placeholder: " 🧮 Calculate"; } -textbox { - padding: 12px; - border-radius: 10px; -} - listview {enable: false;} \ No newline at end of file diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi index 648a96af..01596ee0 100644 --- a/config/rofi/config-clipboard.rasi +++ b/config/rofi/config-clipboard.rasi @@ -11,13 +11,13 @@ window { /* ---- Mainbox ---- */ mainbox { children: - [ "inputbar", "listview"]; + [ "inputbar", "message", "listview"]; } /* ---- Entry ---- */ entry { width: 42%; - placeholder: " 📋 Search Clipboard **note** 👀 CTRL Del - Cliphist del or Alt Del - cliphist wipe"; + placeholder: " 📋 Search Clipboard "; } /* ---- Listview ---- */ diff --git a/config/rofi/config-keybinds.rasi b/config/rofi/config-keybinds.rasi index 6c8e2d5a..ccc8b4d7 100644 --- a/config/rofi/config-keybinds.rasi +++ b/config/rofi/config-keybinds.rasi @@ -7,13 +7,13 @@ /* ---- Mainbox ---- */ mainbox { children: - [ "inputbar", "listview"]; + [ "inputbar", "message", "listview"]; } /* ---- Entry ---- */ entry { expand: true; - placeholder: " 🧮 Search Keybinds ☣️ NOTE ☣️: Clicking with Mouse or Pressing ENTER will have NO function"; + placeholder: " 🧮 Search Keybinds"; } /* ---- Listview ---- */ diff --git a/config/rofi/config-search.rasi b/config/rofi/config-search.rasi index a2ff66ee..733d9b9a 100644 --- a/config/rofi/config-search.rasi +++ b/config/rofi/config-search.rasi @@ -9,14 +9,15 @@ window { height: inherit; y-offset: 10px; location: north; - children: [ "entry" ]; + children: [ "entry", "message" ]; border: 2px; border-color: white/25%; } /* ---- Entry ---- */ entry { - placeholder: " 🔎 Google Search via web browser"; + placeholder: " 🔎 Google Search"; + horizontal-align: 0.5; padding: 15px; border: 0px; border-radius: 12px; -- cgit v1.2.3 From 0b00425dc338e739404bd200a1e2078237df71a9 Mon Sep 17 00:00:00 2001 From: installer Date: Sat, 15 Feb 2025 17:41:55 +0900 Subject: Updated rofi stuff --- config/hypr/UserConfigs/ENVariables.conf | 33 ++++++++++++++++------- config/hypr/scripts/Animations.sh | 4 +-- config/hypr/scripts/RofiThemeSelector-modified.sh | 2 +- config/hypr/scripts/RofiThemeSelector.sh | 2 +- config/rofi/config-Animations.rasi | 19 +++++++------ config/rofi/config-edit.rasi | 14 +++++----- config/rofi/config-keybinds.rasi | 1 + config/rofi/config-rofi-Beats.rasi | 10 +++---- config/rofi/config-rofi-theme.rasi | 15 +++++------ config/rofi/config-wallpaper-effect.rasi | 1 + config/rofi/config-waybar-layout.rasi | 17 ++++++------ config/rofi/config-waybar-style.rasi | 15 ++++++----- config/rofi/config-zsh-theme.rasi | 3 +-- config/rofi/config.rasi | 13 +++++---- 14 files changed, 80 insertions(+), 69 deletions(-) (limited to 'config/rofi/config-keybinds.rasi') diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index e5e5ab42..7dde28c4 100644 --- a/config/hypr/UserConfigs/ENVariables.conf +++ b/config/hypr/UserConfigs/ENVariables.conf @@ -4,30 +4,39 @@ # Set your defaults here #env = EDITOR,vim #default editor -#environment-variables -env = CLUTTER_BACKEND,wayland +# environment-variables +# Toolkit Backend Variables env = GDK_BACKEND,wayland,x11 -env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_QPA_PLATFORM,wayland;xcb -env = QT_QPA_PLATFORMTHEME,qt5ct -env = QT_QPA_PLATFORMTHEME,qt6ct -env = QT_SCALE_FACTOR,1 -env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 +env = CLUTTER_BACKEND,wayland + +#Run SDL2 applications on Wayland. +#Remove or set to x11 if games that provide older versions of SDL cause compatibility issues +#env = SDL_VIDEODRIVER,wayland + +# xdg Specifications env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland +# QT Variables +env = QT_AUTO_SCREEN_SCALE_FACTOR,1 +env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 +env = QT_QPA_PLATFORMTHEME,qt5ct +env = QT_QPA_PLATFORMTHEME,qt6ct + # hyprland-qt-support env = QT_QUICK_CONTROLS_STYLE,org.hyprland.style -# xwayland apps scale fix (useful if you are use monitor scaling) +# xwayland apps scale fix (useful if you are use monitor scaling). +# Set same value if you use scaling in Monitors.conf +# 1 is 100% 1.5 is 150% # see https://wiki.hyprland.org/Configuring/XWayland/ -# toolkit-specific scale env = GDK_SCALE,1 +env = QT_SCALE_FACTOR,1 # Bibata-Modern-Ice-Cursor # NOTE! You must have the hyprcursor version to activate this. -# If you installed from 26-Dec-2024 and choose GTK theme, then you have it. # https://wiki.hyprland.org/Hypr-Ecosystem/hyprcursor/ #env = HYPRCURSOR_THEME,Bibata-Modern-Ice #env = HYPRCURSOR_SIZE,24 @@ -41,6 +50,7 @@ env = ELECTRON_OZONE_PLATFORM_HINT,auto # NVIDIA # This is from Hyprland Wiki. Below will be activated nvidia gpu detected # See hyprland wiki https://wiki.hyprland.org/Nvidia/#environment-variables + #env = LIBVA_DRIVER_NAME,nvidia #env = __GLX_VENDOR_LIBRARY_NAME,nvidia #env = NVD_BACKEND,direct @@ -49,9 +59,12 @@ env = ELECTRON_OZONE_PLATFORM_HINT,auto #env = AQ_DRM_DEVICES,/dev/dri/card1 (nvidia) #env = AQ_DRM_DEVICES,/dev/dri/card0 +#env = AQ_NO_ATOMIC,1 #use legacy DRM interface + # additional ENV's for nvidia. Caution, activate with care #env = GBM_BACKEND,nvidia-drm +#env = __GL_GSYNC_ALLOWED,1 #adaptive Vsync #env = __NV_PRIME_RENDER_OFFLOAD,1 #env = __VK_LAYER_NV_optimus,NVIDIA_only #env = WLR_DRM_NO_ATOMIC,1 diff --git a/config/hypr/scripts/Animations.sh b/config/hypr/scripts/Animations.sh index 62c32257..4f49d47a 100755 --- a/config/hypr/scripts/Animations.sh +++ b/config/hypr/scripts/Animations.sh @@ -13,12 +13,12 @@ SCRIPTSDIR="$HOME/.config/hypr/scripts" animations_dir="$HOME/.config/hypr/animations" UserConfigs="$HOME/.config/hypr/UserConfigs" rofi_theme="~/.config/rofi/config-Animations.rasi" - +msg='❗NOTE:❗ This will copy animations into UserAnimations.conf' # list of animation files, sorted alphabetically with numbers first animations_list=$(find -L "$animations_dir" -maxdepth 1 -type f | sed 's/.*\///' | sed 's/\.conf$//' | sort -V) # Rofi Menu -chosen_file=$(echo "$animations_list" | rofi -i -dmenu -config $rofi_theme) +chosen_file=$(echo "$animations_list" | rofi -i -dmenu -config $rofi_theme -mesg "$msg") # Check if a file was selected if [[ -n "$chosen_file" ]]; then diff --git a/config/hypr/scripts/RofiThemeSelector-modified.sh b/config/hypr/scripts/RofiThemeSelector-modified.sh index 2af75a73..2cfc2d24 100755 --- a/config/hypr/scripts/RofiThemeSelector-modified.sh +++ b/config/hypr/scripts/RofiThemeSelector-modified.sh @@ -219,7 +219,7 @@ then # Send notification with the selected theme name selection="${theme_names[${SELECTED}]}" if [ -n "$NOTIFY_SEND" ]; then - notify-send -u low -i "$iDIR/ja.png" "Rofi Theme" "applied: $selection" + notify-send -u low -i "$iDIR/ja.png" "Rofi Theme applied:" "$selection" fi fi diff --git a/config/hypr/scripts/RofiThemeSelector.sh b/config/hypr/scripts/RofiThemeSelector.sh index 968d1f30..2e840ea1 100755 --- a/config/hypr/scripts/RofiThemeSelector.sh +++ b/config/hypr/scripts/RofiThemeSelector.sh @@ -65,7 +65,7 @@ main() { exit 0 fi add_theme_to_config "$choice" - notify-send -i "$iDIR/ja.png" -u low 'Rofi Theme' "$choice applied." + notify-send -i "$iDIR/ja.png" -u low 'Rofi Theme applied:' "$choice" } if pgrep -x "rofi" >/dev/null; then diff --git a/config/rofi/config-Animations.rasi b/config/rofi/config-Animations.rasi index 8aa22abf..7c458b09 100644 --- a/config/rofi/config-Animations.rasi +++ b/config/rofi/config-Animations.rasi @@ -6,10 +6,9 @@ /* ---- Mainbox ---- */ mainbox { children: - [ "inputbar", "listview"]; + [ "inputbar", "message", "listview"]; } - /* ---- Window ---- */ window { width: 30%; @@ -23,18 +22,18 @@ entry { /* ---- Listview ---- */ listview { - columns: 2; - lines: 9; - fixed-height: false; - margin: 10px; + columns: 2; + lines: 9; + fixed-height: false; + margin: 10px; } /* ---- Elements ---- */ element-icon { - size: 0%; + size: 0%; } element-text { - horizontal-align: 0.0; - vertical-align: 0.0; - margin: 5px 30px 5px 30px; + horizontal-align: 0.0; + vertical-align: 0.0; + margin: 5px 30px 5px 30px; } diff --git a/config/rofi/config-edit.rasi b/config/rofi/config-edit.rasi index 568de812..60d18e34 100644 --- a/config/rofi/config-edit.rasi +++ b/config/rofi/config-edit.rasi @@ -17,15 +17,15 @@ configuration { /* ---- Window ---- */ window { - width: 45%; + width: 45%; } /* ---- Listview ---- */ listview { - columns: 2; - lines: 6; - fixed-height: false; + columns: 2; + lines: 6; + fixed-height: false; } /* ---- Entry input ---- */ @@ -41,9 +41,9 @@ element { } element-icon { - size: 0%; + size: 0%; } element-text { - horizontal-align: 0.0; - margin: 5px 30px 5px 30px; + horizontal-align: 0.0; + margin: 5px 30px 5px 30px; } \ No newline at end of file diff --git a/config/rofi/config-keybinds.rasi b/config/rofi/config-keybinds.rasi index ccc8b4d7..2b19c271 100644 --- a/config/rofi/config-keybinds.rasi +++ b/config/rofi/config-keybinds.rasi @@ -21,6 +21,7 @@ listview { columns: 2; lines: 12; fixed-height: false; + scrollbar: true; } window { diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index b84b4260..b8121286 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -5,7 +5,7 @@ /* ---- Window ---- */ window { - width: 45%; + width: 45%; } /* ---- Mainbox ---- */ @@ -21,10 +21,10 @@ entry { /* ---- Listview ---- */ listview { - columns: 2; - lines: 8; - fixed-height: false; - margin: 10px; + columns: 2; + lines: 8; + fixed-height: false; + margin: 10px; } /* ---- Elements ---- */ diff --git a/config/rofi/config-rofi-theme.rasi b/config/rofi/config-rofi-theme.rasi index 14f1f971..d660f1f9 100644 --- a/config/rofi/config-rofi-theme.rasi +++ b/config/rofi/config-rofi-theme.rasi @@ -3,10 +3,9 @@ @import "~/.config/rofi/config.rasi" - /* ---- Window ---- */ window { - width: 45%; + width: 45%; } /* ---- Mainbox ---- */ @@ -17,10 +16,10 @@ mainbox { /* ---- Listview ---- */ listview { - columns: 2; - lines: 8; - fixed-height: false; - scrollbar: true; + columns: 2; + lines: 8; + fixed-height: false; + scrollbar: true; } /* ---- Entry input ---- */ @@ -39,7 +38,7 @@ element-icon { size: 0%; } element-text { - horizontal-align: 0.0; - margin: 5px 30px 5px 30px; + horizontal-align: 0.0; + margin: 5px 30px 5px 30px; } diff --git a/config/rofi/config-wallpaper-effect.rasi b/config/rofi/config-wallpaper-effect.rasi index 0fb534e3..de74747a 100644 --- a/config/rofi/config-wallpaper-effect.rasi +++ b/config/rofi/config-wallpaper-effect.rasi @@ -26,6 +26,7 @@ listview { columns: 2; lines: 8; fixed-height: false; + scrollbar: true; } /* ---- Inputbar ---- */ diff --git a/config/rofi/config-waybar-layout.rasi b/config/rofi/config-waybar-layout.rasi index cc24a170..c179a362 100644 --- a/config/rofi/config-waybar-layout.rasi +++ b/config/rofi/config-waybar-layout.rasi @@ -3,8 +3,6 @@ @import "~/.config/rofi/config.rasi" - - /* ---- Configuration ---- */ configuration { modi: "drun"; @@ -24,17 +22,18 @@ entry { /* ---- Listview ---- */ listview { - columns: 2; - lines: 9; - fixed-height: false; - margin: 10px; + columns: 2; + lines: 9; + fixed-height: false; + margin: 10px; + scrollbar: true; } /* ---- Elements ---- */ element-icon { - size: 0%; + size: 0%; } element-text { - horizontal-align: 0.0; - margin: 5px 30px 5px 30px; + horizontal-align: 0.0; + margin: 5px 30px 5px 30px; } diff --git a/config/rofi/config-waybar-style.rasi b/config/rofi/config-waybar-style.rasi index bfb3829a..12c5a757 100644 --- a/config/rofi/config-waybar-style.rasi +++ b/config/rofi/config-waybar-style.rasi @@ -23,17 +23,18 @@ entry { /* ---- Listview ---- */ listview { - columns: 2; - lines: 9; - fixed-height: false; - margin: 10px; + columns: 2; + lines: 9; + fixed-height: false; + margin: 10px; + scrollbar: true; } /* ---- Elements ---- */ element-icon { - size: 0%; + size: 0%; } element-text { - horizontal-align: 0.0; - margin: 5px 30px 5px 30px; + horizontal-align: 0.0; + margin: 5px 30px 5px 30px; } diff --git a/config/rofi/config-zsh-theme.rasi b/config/rofi/config-zsh-theme.rasi index c2293b4e..1b0b58f7 100644 --- a/config/rofi/config-zsh-theme.rasi +++ b/config/rofi/config-zsh-theme.rasi @@ -15,10 +15,9 @@ window { } mainbox { - children: [ "inputbar" , "listview" ]; + children: [ "inputbar" , "listview" ]; } - /* ---- Listbox ---- */ listbox { border-radius: 12px; diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 586de76e..cda85e8a 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -1,25 +1,24 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ /* Ja KooLit - Default -* All main themes or configs are located in ~/.local/share/rofi/themes +* All main themes or configs are located in ~/.config/rofi/themes/ * If you want to edit the config, that is where you should edit NOT here -* To load a new theme, manually edit the file path below or choose desired theme via rofi theme selector +* To load a new theme, manually edit the file path below or choose desired theme via rofi theme selector (choose via app menu) * Alternative way to Load (preferred) own cooked by Ja -* SUPER CTRL R - Choose style +* SUPER CTRL R - Choose style & SUPER CTRL SHIFT R * TIPS * If you have edited a config, rename it with a unique name. During update, the contents of -* ~/.local/share/rofi/themes will be replaced. However, it wont overwrite your own config if you -* renamed with your own unique file name */ +* ~/.config/rofi/themes/ will be replaced. /* ---- Configuration Fonts ---- */ configuration { font: "JetBrainsMono Nerd Font SemiBold 13"; } -/* note: Element-text font and size, edit configs in ~/.local/share/rofi/themes */ +/* note: Element-text font and size, edit configs in ~/.config/rofi/themes/ */ -@theme "~/.local/share/rofi/themes/KooL_style-2-Dark.rasi" +@theme "~/.config/rofi/themes/KooL_style-2-Dark.rasi" -- cgit v1.2.3