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/hypr/UserConfigs/UserKeybinds.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 3975f60f..ebcd2e6d 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -23,6 +23,8 @@ bind = $mainMod, A, exec, pkill rofi || true && ags -t 'overview' bind = $mainMod, Return, exec, $term #terminal bind = $mainMod, T, exec, $files #file manager +bind = $mainMod CTRL, R, exec, $scriptsDir/RofiThemeSelector.sh # modified Rofi Theme Selector + bind = $mainMod ALT, C, exec, $UserScripts/RofiCalc.sh # calculator (qalculate) # pyprland -- cgit v1.2.3 From 34ec8fe040c036b4c6f5d426a7bad66ebddfc8f2 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 12 Feb 2025 00:54:00 +0900 Subject: Updated New rofi themes --- assets/rofi/themes/KooL_style-1.rasi | 2 +- assets/rofi/themes/KooL_style-10-Fancy.rasi | 12 +++++------ .../themes/KooL_style-11-Win11-list-light.rasi | 2 +- assets/rofi/themes/KooL_style-2-Dark.rasi | 8 ++++---- assets/rofi/themes/KooL_style-2-Light.rasi | 6 +++--- assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi | 2 +- assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi | 2 +- assets/rofi/themes/KooL_style-4.rasi | 6 +++--- assets/rofi/themes/KooL_style-5.rasi | 4 ++-- assets/rofi/themes/KooL_style-6.rasi | 3 +-- assets/rofi/themes/KooL_style-8.rasi | 23 +++++++++++++-------- assets/rofi/themes/KooL_style-9.rasi | 22 +++++++++++++++++++- config/hypr/UserConfigs/UserKeybinds.conf | 12 +++++------ config/hypr/UserScripts/00-Readme | 0 config/hypr/UserScripts/RofiCalc.sh | 2 +- config/hypr/configs/Keybinds.conf | 24 ++++++++++++++-------- config/rofi/config-calc.rasi | 1 + config/rofi/config-search.rasi | 4 +--- 18 files changed, 81 insertions(+), 54 deletions(-) mode change 100755 => 100644 config/hypr/UserScripts/00-Readme (limited to 'config/hypr/UserConfigs') diff --git a/assets/rofi/themes/KooL_style-1.rasi b/assets/rofi/themes/KooL_style-1.rasi index 786e5b2f..556c86a1 100644 --- a/assets/rofi/themes/KooL_style-1.rasi +++ b/assets/rofi/themes/KooL_style-1.rasi @@ -213,7 +213,7 @@ element-icon { cursor: inherit; } element-text { - font: "JetBrainsMono Nerd Font SemiBold 11"; + font: "JetBrainsMono Nerd Font SemiBold 12"; 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 80203b6f..8da2e0e7 100644 --- a/assets/rofi/themes/KooL_style-10-Fancy.rasi +++ b/assets/rofi/themes/KooL_style-10-Fancy.rasi @@ -66,7 +66,6 @@ window { children: [ inputbar, message, wrapper-mode-switcher, listview , pagerbox ]; } - pagerbox { expand: false; orientation: horizontal; @@ -229,6 +228,7 @@ sidebar { inputbar { text-color: @normal-foreground; padding: 0px 0px 0.5em; + children: [ wrapper ]; } case-indicator { text-color: @normal-foreground; @@ -237,9 +237,8 @@ case-indicator { wrapper { orientation: horizontal; text-color: black; - background-color: white / 70%; + background-color: white / 75%; border-color: grey; - border: 2px; border-radius: 5px; padding: 4px; @@ -270,12 +269,13 @@ icon-k { entry { enabled: true; expand: true; + background-color: white / 75%; placeholder: " πŸ–₯️ Search "; vertical-align: 0.5; + border-radius: 5px; + padding: 4px; } -inputbar { - children: [ wrapper ]; -} + error-message { background-color: darkred/10%; 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 65809c4d..75da3b6e 100644 --- a/assets/rofi/themes/KooL_style-11-Win11-list-light.rasi +++ b/assets/rofi/themes/KooL_style-11-Win11-list-light.rasi @@ -12,8 +12,8 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; } - /*****----- Global Properties -----*****/ + * { font: "JetBrainsMono Nerd Font SemiBold 13"; diff --git a/assets/rofi/themes/KooL_style-2-Dark.rasi b/assets/rofi/themes/KooL_style-2-Dark.rasi index 934ea657..de16d833 100644 --- a/assets/rofi/themes/KooL_style-2-Dark.rasi +++ b/assets/rofi/themes/KooL_style-2-Dark.rasi @@ -64,14 +64,14 @@ inputbar { border: 0px 0px 2px 0px; border-radius: 0px; border-color: gray/20%; - background-color: transparent; + background-color: black/50%; children: [ "entry" ]; } entry { enabled: true; - background-color: transparent; - text-color: dimgray; + background-color: black/50%; + text-color: white/75%; cursor: text; placeholder: "Type to search"; placeholder-color: inherit; @@ -148,7 +148,7 @@ mode-switcher{ text-color: white; } button { - font: "JetBrainsMono Nerd Font SemiBold 10"; + 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 3cd9266d..74eb8e32 100644 --- a/assets/rofi/themes/KooL_style-2-Light.rasi +++ b/assets/rofi/themes/KooL_style-2-Light.rasi @@ -41,7 +41,7 @@ window { padding: 0px; border-radius: 12px; cursor: "default"; - background-color: transparent; + background-color: inherit; } /*****----- Main Box -----*****/ @@ -60,7 +60,7 @@ inputbar { enabled: true; spacing: 0px; margin: 0px; - padding: 0px 0px 10px 0px; + padding: 0px 10px 10px 0px; border: 0px 0px 2px 0px; border-radius: 0px; border-color: gray/20%; @@ -70,7 +70,7 @@ inputbar { entry { enabled: true; - background-color: transparent; + background-color: inherit; text-color: black; cursor: text; placeholder: "Type to search"; diff --git a/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi b/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi index 7ca3d4bf..d9b31251 100644 --- a/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi +++ b/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi @@ -1,5 +1,5 @@ /* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ -/* KooL Hyprland v2.3.10 (latest) - Default Config */ +/* KooL Hyprland Full Screen Style 3 v1 */ /* ---- Configuration ---- */ diff --git a/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi b/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi index 6f1a3cef..7584b542 100644 --- a/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi +++ b/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi @@ -1,5 +1,5 @@ /* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ - +/* KooL Hyprland Rofi Style 3 - Full screen v2 */ /* credit: https://github.com/adi1090x/rofi */ /*****----- Configuration -----*****/ diff --git a/assets/rofi/themes/KooL_style-4.rasi b/assets/rofi/themes/KooL_style-4.rasi index fb25db61..7f4f0d4e 100644 --- a/assets/rofi/themes/KooL_style-4.rasi +++ b/assets/rofi/themes/KooL_style-4.rasi @@ -1,5 +1,5 @@ /* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ - +/* KooL Hyprland Rofi Style 4 */ /* credit: https://github.com/adi1090x/rofi */ /*****----- Configuration -----*****/ @@ -89,7 +89,7 @@ mainbox { border: 0px solid; border-radius: 0px 0px 0px 0px; border-color: @border-color; - background-color: transparent; + background-color: inherit; children: [ "inputbar", "message", "custombox" ]; } @@ -132,7 +132,7 @@ textbox-prompt-colon { entry { enabled: true; padding: 5px 0px; - background-color: inherit; + background-color: @alternate-background; text-color: @foreground; cursor: text; placeholder: "Search..."; diff --git a/assets/rofi/themes/KooL_style-5.rasi b/assets/rofi/themes/KooL_style-5.rasi index 234567bc..bb70d0f8 100644 --- a/assets/rofi/themes/KooL_style-5.rasi +++ b/assets/rofi/themes/KooL_style-5.rasi @@ -118,7 +118,7 @@ entry { cursor: text; placeholder: " Search"; placeholder-color: inherit; - background-color: transparent; + background-color: @background; } /* ---- Mode Switcher ---- */ @@ -230,7 +230,7 @@ element-icon { } element-text { - font: "JetBrainsMono Nerd Font SemiBold 10"; + 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 f6b1307b..30028218 100644 --- a/assets/rofi/themes/KooL_style-6.rasi +++ b/assets/rofi/themes/KooL_style-6.rasi @@ -1,5 +1,5 @@ /* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ -/* KooL Hyprland v2.2.10 (old) - Default Config */ +/* KooL Hyprland Rofi Style 6 */ /* ---- Configuration ---- */ @@ -199,7 +199,6 @@ element-icon { } element-text { background-color: transparent; - font: "Fira Code SemiBold 12"; text-color: inherit; cursor: inherit; vertical-align: 0.5; diff --git a/assets/rofi/themes/KooL_style-8.rasi b/assets/rofi/themes/KooL_style-8.rasi index 00e5c9cf..b74f801f 100644 --- a/assets/rofi/themes/KooL_style-8.rasi +++ b/assets/rofi/themes/KooL_style-8.rasi @@ -218,16 +218,21 @@ element-text { } /* ---- Message ---- */ -error-message { - text-color: @foreground; - background-color: @background; - text-transform: capitalize; - children: [ "textbox" ]; +message { + background-color: transparent; + border: 0px; } - textbox { - text-color: inherit; - background-color: inherit; + padding: 12px; + border-radius: 10px; + background-color: @background; + text-color: @foreground; vertical-align: 0.5; - horizontal-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 20px; + 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 d09e58e2..a74e64eb 100644 --- a/assets/rofi/themes/KooL_style-9.rasi +++ b/assets/rofi/themes/KooL_style-9.rasi @@ -132,7 +132,7 @@ scrollbar { /* ---- Elements ---- */ element { - font: "JetBrainsMono Nerd Font SemiBold 11"; + font: "JetBrainsMono Nerd Font SemiBold 12"; background-color: @BG; text-color: @FG; orientation: horizontal; @@ -188,3 +188,23 @@ element selected.active { background-color: @BGA; color: @FG; } + +/* ---- Message ---- */ +message { + background-color: transparent; + border: 0px; +} +textbox { + padding: 12px; + border-radius: 10px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} \ No newline at end of file diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index ebcd2e6d..a615ef68 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -13,21 +13,19 @@ $UserScripts = $HOME/.config/hypr/UserScripts # rofi App launcher #bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window # Super Key to Launch rofi menu -bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window #Main Menu +bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window # Main Menu (APP Launcher) -bind = $mainMod CTRL, F, fullscreen, 1 # fake full screen +bind = $mainMod, B, exec, xdg-open "http:// &" # default browser -# ags overview -bind = $mainMod, A, exec, pkill rofi || true && ags -t 'overview' +bind = $mainMod, A, exec, pkill rofi || true && ags -t 'overview' # ags desktop overview bind = $mainMod, Return, exec, $term #terminal -bind = $mainMod, T, exec, $files #file manager +bind = $mainMod, E, exec, $files #file manager bind = $mainMod CTRL, R, exec, $scriptsDir/RofiThemeSelector.sh # modified Rofi Theme Selector - bind = $mainMod ALT, C, exec, $UserScripts/RofiCalc.sh # calculator (qalculate) -# pyprland +# pyprland (This is not available in Debian and Ubuntu) bind = $mainMod SHIFT, Return, exec, pypr toggle term # Dropdown terminal bind = $mainMod, Z, exec, pypr zoom # Toggle Desktop Zoom diff --git a/config/hypr/UserScripts/00-Readme b/config/hypr/UserScripts/00-Readme old mode 100755 new mode 100644 diff --git a/config/hypr/UserScripts/RofiCalc.sh b/config/hypr/UserScripts/RofiCalc.sh index 7bef4b6c..4b3b8b69 100755 --- a/config/hypr/UserScripts/RofiCalc.sh +++ b/config/hypr/UserScripts/RofiCalc.sh @@ -16,7 +16,7 @@ while true; do result=$( rofi -i -dmenu \ -config $rofi_theme \ - -mesg "$result = $calc_result" + -mesg "$result = $calc_result" ) if [ $? -ne 0 ]; then diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 2ea3bfa3..7cacae40 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -10,12 +10,18 @@ $configs = $HOME/.config/hypr/configs $UserConfigs = $HOME/.config/hypr/UserConfigs $UserScripts = $HOME/.config/hypr/UserScripts + bind = CTRL ALT, Delete, exec, hyprctl dispatch exit 0 -bind = $mainMod, Q, killactive, -bind = $mainMod, F, fullscreen -bind = $mainMod SHIFT, Q, exec, $scriptsDir/KillActiveProcess.sh -bind = $mainMod SHIFT, F, togglefloating, -bind = $mainMod ALT, F, exec, hyprctl dispatch workspaceopt allfloat +bind = $mainMod, Q, killactive, #kill +bind = $mainMod SHIFT, Q, exec, $scriptsDir/KillActiveProcess.sh # Kill active process +bind = $mainMod SHIFT, F, fullscreen # whole full screen +bind = $mainMod CTRL, F, fullscreen, 1 # fake full screen +bind = $mainMod, SPACE, togglefloating, #Float Mode +bind = $mainMod ALT, SPACE, exec, hyprctl dispatch workspaceopt allfloat #All Float Mode + +#bind = $mainMod, SPACE, exec, $scriptsDir/Float.sh # float mode +#bind = $mainMod ALT, SPACE, exec, $scriptsDir/Float.sh --allfloat # all float mode + bind = CTRL ALT, L, exec, $scriptsDir/LockScreen.sh # screen lock bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh # power menu @@ -24,24 +30,24 @@ bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh # help file bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh # emoji menu bind = $mainMod, S, exec, $scriptsDir/RofiSearch.sh # Google search using rofi -bind = $mainMod SHIFT, B, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings +bind = $mainMod ALT, O, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # Toggle animations ON/OFF bind = $mainMod ALT, L, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout bind = $mainMod ALT, V, exec, $scriptsDir/ClipManager.sh # Clipboard Manager bind = $mainMod SHIFT, N, exec, swaync-client -t -sw # swayNC notification panel # FEATURES / EXTRAS (UserScripts) -bind = $mainMod, E, exec, $UserScripts/QuickEdit.sh # Quick Edit Hyprland Settings +bind = $mainMod SHIFT, E, exec, $UserScripts/QuickEdit.sh # Quick Edit Hyprland Settings bind = $mainMod SHIFT, M, exec, $UserScripts/RofiBeats.sh # online music using rofi bind = $mainMod, W, exec, $UserScripts/WallpaperSelect.sh # Select wallpaper to apply bind = $mainMod SHIFT, W, exec, $UserScripts/WallpaperEffects.sh # Wallpaper Effects by imagemagick bind = CTRL ALT, W, exec, $UserScripts/WallpaperRandom.sh # Random wallpapers -bind = $mainMod ALT, O, exec, hyprctl setprop active opaque toggle # disable opacity on active window +bind = $mainMod CTRL, O, exec, hyprctl setprop active opaque toggle # disable opacity on active window bind = $mainMod SHIFT, K, exec, $scriptsDir/KeyBinds.sh # search keybinds via rofi bind = $mainMod SHIFT, A, exec, $scriptsDir/Animations.sh #hyprland animations menu # Waybar / Bar related -bind = $mainMod, B, exec, pkill -SIGUSR1 waybar # Toggle hide/show waybar +bind = $mainMod CTRL ALT, B, exec, pkill -SIGUSR1 waybar # Toggle hide/show waybar bind = $mainMod CTRL, B, exec, $scriptsDir/WaybarStyles.sh # Waybar Styles Menu bind = $mainMod ALT, B, exec, $scriptsDir/WaybarLayout.sh # Waybar Layout Menu diff --git a/config/rofi/config-calc.rasi b/config/rofi/config-calc.rasi index 61be7642..60169c31 100644 --- a/config/rofi/config-calc.rasi +++ b/config/rofi/config-calc.rasi @@ -7,6 +7,7 @@ /* ---- Mainbox ---- */ mainbox { children: [ "entry", "message" ]; + height: inherit; } diff --git a/config/rofi/config-search.rasi b/config/rofi/config-search.rasi index 08600b30..a2ff66ee 100644 --- a/config/rofi/config-search.rasi +++ b/config/rofi/config-search.rasi @@ -7,13 +7,11 @@ window { width: 40%; height: inherit; - background-color: black/25%; y-offset: 10px; location: north; children: [ "entry" ]; border: 2px; border-color: white/25%; - border-radius: 20px; } /* ---- Entry ---- */ @@ -21,5 +19,5 @@ entry { placeholder: " πŸ”Ž Google Search via web browser"; padding: 15px; border: 0px; - text-color: white; + border-radius: 12px; } -- cgit v1.2.3 From 772411cd39370bca3a89b5ee92bda3c5ea8e1b7e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 12 Feb 2025 12:52:11 +0900 Subject: updated Keyhints and added Keyhints in the Window rules. --- config/hypr/UserConfigs/WindowRules.conf | 3 ++ config/hypr/scripts/KeyHints.sh | 57 ++++++++++---------------------- copy.sh | 20 +++++++---- 3 files changed, 35 insertions(+), 45 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index fc23c079..01c5e674 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -76,6 +76,7 @@ windowrulev2 = tag +viewer, class:^(eog|org.gnome.Loupe)$ # image viewer # POSITION # windowrulev2 = center,floating:1 # warning, it cause even the menu to float and center. +windowrulev2 = center, title:^(KooL Quick Cheat Sheet)$ windowrulev2 = center, class:([Tt]hunar), title:negative:(.*[Tt]hunar.*) windowrulev2 = center, title:^(ROG Control)$ windowrulev2 = center, title:^(Keybindings)$ @@ -106,6 +107,7 @@ windowrulev2 = workspace 6 silent, class:^(.virt-manager-wrapped)$ windowrulev2 = workspace 9 silent, tag:multimedia* # FLOAT +windowrulev2 = float, title:^(KooL Quick Cheat Sheet)$ windowrulev2 = float, tag:wallpaper* windowrulev2 = float, tag:settings* windowrulev2 = float, tag:viewer* @@ -147,6 +149,7 @@ windowrulev2 = opacity 0.95 0.75, title:^(Picture-in-Picture)$ # SIZE +windowrulev2 = size 70% 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 49ee7e52..52e3ce41 100755 --- a/config/hypr/scripts/KeyHints.sh +++ b/config/hypr/scripts/KeyHints.sh @@ -1,44 +1,22 @@ #!/bin/bash # /* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ ## -# Keyhints. Idea got from Garuda Hyprland # GDK BACKEND. Change to either wayland or x11 if having issues BACKEND=wayland -# Check if rofi is running and kill it if it is -if pgrep -x "rofi" > /dev/null; then - pkill rofi +# Check if rofi or yad is running and kill them if they are +if pidof rofi > /dev/null; then + pkill rofi fi -# Detect monitor resolution and scale -x_mon=$(hyprctl -j monitors | jq '.[] | select(.focused==true) | .width') -y_mon=$(hyprctl -j monitors | jq '.[] | select(.focused==true) | .height') -hypr_scale=$(hyprctl -j monitors | jq '.[] | select (.focused == true) | .scale' | sed 's/\.//') - -# Calculate width and height based on percentages and monitor resolution -width=$((x_mon * hypr_scale / 100)) -height=$((y_mon * hypr_scale / 100)) - -# Set maximum width and height -max_width=1200 -max_height=1000 - -# Set percentage of screen size for dynamic adjustment -percentage_width=90 -percentage_height=100 - -# Calculate dynamic width and height -dynamic_width=$((width * percentage_width / 100)) -dynamic_height=$((height * percentage_height / 100)) - -# Limit width and height to maximum values -dynamic_width=$(($dynamic_width > $max_width ? $max_width : $dynamic_width)) -dynamic_height=$(($dynamic_height > $max_height ? $max_height : $dynamic_height)) +if pidof yad > /dev/null; then + pkill yad +fi # Launch yad with calculated width and height -GDK_BACKEND=$BACKEND yad --width=$dynamic_width --height=$dynamic_height \ +GDK_BACKEND=$BACKEND yad \ --center \ - --title="Keybindings" \ + --title="KooL Quick Cheat Sheet" \ --no-buttons \ --list \ --column=Key: \ @@ -49,10 +27,11 @@ GDK_BACKEND=$BACKEND yad --width=$dynamic_width --height=$dynamic_height \ "ο…Ό SHIFT K" "Searchable Keybinds" "(Search all Keybinds via rofi)" \ "" "" "" \ "ο…Ό enter" "Terminal" "(kitty)" \ -"ο…Ό SHIFT enter" "DropDown Terminal" "(Not available in Debian and Ubuntu)" \ +"ο…Ό SHIFT enter" "DropDown Terminal" "(kitty-pyprland)" \ +"ο…Ό SHIFT K" "Searchable Keybinds" "(Keybinds)" \ "ο…Ό A" "Desktop Overview" "(AGS Overview)" \ "ο…Ό D" "Application Launcher" "(rofi-wayland)" \ -"ο…Ό T" "Open File Manager" "(Thunar)" \ +"ο…Ό E" "Open File Manager" "(Thunar)" \ "ο…Ό S" "Google Search using rofi" "(rofi)" \ "ο…Ό Q" "close active window" "(not kill)" \ "ο…Ό Shift Q " "kills an active window" "(kill)" \ @@ -61,7 +40,7 @@ GDK_BACKEND=$BACKEND yad --width=$dynamic_width --height=$dynamic_height \ "ο…Ό W" "Choose wallpaper" "(Wallpaper Menu)" \ "ο…Ό Shift W" "Choose wallpaper effects" "(imagemagick + swww)" \ "CTRL ALT W" "Random wallpaper" "(via swww)" \ -"ο…Ό B" "Hide/UnHide Waybar" "waybar" \ +"ο…Ό 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!!!" \ @@ -75,17 +54,17 @@ GDK_BACKEND=$BACKEND yad --width=$dynamic_width --height=$dynamic_height \ "CTRL ALT P" "power-menu" "(wlogout)" \ "CTRL ALT L" "screen lock" "(hyprlock)" \ "CTRL ALT Del" "Hyprland Exit" "(SAVE YOUR WORK!!!)" \ -"ο…Ό F" "Fullscreen" "Toggles to full screen" \ +"ο…Ό SHIFT F" "Fullscreen" "Toggles to full screen" \ "ο…Ό CTL F" "Fake Fullscreen" "Toggles to fake full screen" \ "ο…Ό ALT L" "Toggle Dwindle | Master Layout" "Hyprland Layout" \ -"ο…Ό Shift F" "Toggle float" "single window" \ -"ο…Ό ALT F" "Toggle all windows to float" "all windows" \ -"ο…Ό Shift B" "Toggle Blur" "normal or less blur" \ +"ο…Ό 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 app" "" \ -"ο…Ό E" "View or EDIT Keybinds, Settings, Monitor" "" \ +"ο…Ό H" "Launch this QUICK CHEAT" "" \ +"ο…Ό SHIFT E" "View or EDIT Keybinds, Settings, Monitor" "" \ "" "" "" \ "More tips:" "https://github.com/JaKooLit/Hyprland-Dots/wiki" ""\ diff --git a/copy.sh b/copy.sh index ba642acb..467d7fb1 100755 --- a/copy.sh +++ b/copy.sh @@ -31,14 +31,20 @@ if [[ $EUID -eq 0 ]]; then exit 1 fi -printf "\n%.0s" {1..2} +printf "\n%.0s" {1..1} echo -e "\e[35m - β•¦β•”β•β”Œβ”€β”β”Œβ”€β”β•¦ β•”β•¦β•—β”Œβ”€β”β”Œβ”¬β”β”Œβ”€β” - β• β•©β•—β”‚ β”‚β”‚ β”‚β•‘ β•‘β•‘β”‚ β”‚ β”‚ └─┐ 2025 - β•© β•©β””β”€β”˜β””β”€β”˜β•©β•β• β•β•©β•β””β”€β”˜ β”΄ β””β”€β”˜ + β•¦β•”β•β”Œβ”€β”β”Œβ”€β”β•¦ β•”β•¦β•—β”Œβ”€β”β”Œβ”¬β”β”Œβ”€β” + β• β•©β•—β”‚ β”‚β”‚ β”‚β•‘ β•‘β•‘β”‚ β”‚ β”‚ └─┐ 2025 + β•© β•©β””β”€β”˜β””β”€β”˜β•©β•β• β•β•©β•β””β”€β”˜ β”΄ β””β”€β”˜ \e[0m" printf "\n%.0s" {1..1} - + +####### Announcement +echo "${MAGENTA} H - E - L - L - O !${RESET}" +echo "${SKY_BLUE}KooL Hyprland v2.3.11 have some Minor Keybinds changes!${RESET}" +echo "${YELLOW}SUPER H for Keyhints and/or SUPER SHIFT K to search for Keybinds ${RESET}" +printf "\n%.0s" {1..1} + # Create Directory for Copy Logs if [ ! -d Copy-Logs ]; then mkdir Copy-Logs @@ -99,6 +105,8 @@ if [ -d "$HOME/.icons/Bibata-Modern-Ice/hyprcursors" ]; then sed -i 's/^#env = HYPRCURSOR_SIZE,24/env = HYPRCURSOR_SIZE,24/' "$HYPRCURSOR_ENV_FILE" fi +printf "\n%.0s" {1..1} + # Function to detect keyboard layout using localectl or setxkbmap detect_layout() { if command -v localectl >/dev/null 2>&1; then @@ -151,7 +159,7 @@ ${MAGENTA} NOTE:${RESET} done fi -printf "${NOTE} Detecting keyboard layout to prepare proper Hyprland Settings\n\n" +printf "${NOTE} Detecting keyboard layout to prepare proper Hyprland Settings\n" # Prompt the user to confirm whether the detected layout is correct while true; do -- cgit v1.2.3 From 279f620e7fe48bb351b9f2b8616951ce68303ec2 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 12 Feb 2025 18:57:11 +0900 Subject: rofi updates Keyhints updated in preparation for the new changes --- assets/rofi/themes/KooL_style-1.rasi | 9 ++++--- assets/rofi/themes/KooL_style-10-Fancy.rasi | 9 +++++-- .../rofi/themes/KooL_style-11-Win11-list-dark.rasi | 10 ++++---- .../themes/KooL_style-11-Win11-list-light.rasi | 20 +++++++++------- assets/rofi/themes/KooL_style-2-Dark.rasi | 9 ++++--- assets/rofi/themes/KooL_style-2-Light.rasi | 8 +++---- assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi | 8 +++++-- assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi | 6 ++++- assets/rofi/themes/KooL_style-4.rasi | 6 ++++- assets/rofi/themes/KooL_style-5.rasi | 9 ++++--- assets/rofi/themes/KooL_style-6.rasi | 6 ++++- assets/rofi/themes/KooL_style-7.rasi | 8 +++++-- assets/rofi/themes/KooL_style-8.rasi | 8 +++++-- assets/rofi/themes/KooL_style-9.rasi | 12 ++++++---- config/hypr/UserConfigs/WindowRules.conf | 2 +- config/hypr/scripts/KeyHints.sh | 14 +++++------ config/hypr/scripts/Refresh.sh | 2 +- config/rofi/config-Animations.rasi | 2 +- config/rofi/config-rofi-Beats-menu.rasi | 3 ++- config/rofi/config-rofi-Beats.rasi | 5 ++++ config/rofi/config.rasi | 7 ++++++ copy.sh | 28 ++++++++++++++++++---- 22 files changed, 132 insertions(+), 59 deletions(-) (limited to 'config/hypr/UserConfigs') 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" -- cgit v1.2.3 From d48e1e15a05e220306c81279abe86263aa5aeb85 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 13 Feb 2025 13:38:06 +0900 Subject: most of the added features and keybinds are moved to User Keybinds. Giving more flexibility for users --- config/hypr/UserConfigs/UserKeybinds.conf | 47 ++++++++++++++++++++++++------- config/hypr/UserConfigs/WindowRules.conf | 4 +++ config/hypr/configs/Keybinds.conf | 45 ++++------------------------- 3 files changed, 46 insertions(+), 50 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index a615ef68..feb54c22 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -5,33 +5,60 @@ # See https://wiki.hyprland.org/Configuring/Keywords/ for more settings and variables # See also Laptops.conf for laptops keybinds +# /* ---- ✴️ Variables ✴️ ---- */ # $mainMod = SUPER $files = thunar $term = kitty $scriptsDir = $HOME/.config/hypr/scripts $UserScripts = $HOME/.config/hypr/UserScripts -# rofi App launcher +# common shortcuts #bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window # Super Key to Launch rofi menu bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window # Main Menu (APP Launcher) - -bind = $mainMod, B, exec, xdg-open "http:// &" # default browser - -bind = $mainMod, A, exec, pkill rofi || true && ags -t 'overview' # ags desktop overview - +bind = $mainMod, B, exec, xdg-open "http:// &" # default browser +bind = $mainMod, A, exec, pkill rofi || true && ags -t 'overview' # desktop overview (if installed) bind = $mainMod, Return, exec, $term #terminal bind = $mainMod, E, exec, $files #file manager + +# FEATURES / EXTRAS +bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh # help / cheat sheet +bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi +bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh # emoji menu +bind = $mainMod, S, exec, $scriptsDir/RofiSearch.sh # Google search using rofi +bind = $mainMod ALT, O, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings +bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # Toggle animations ON/OFF +bind = $mainMod ALT, L, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout +bind = $mainMod ALT, V, exec, $scriptsDir/ClipManager.sh # Clipboard Manager bind = $mainMod CTRL, R, exec, $scriptsDir/RofiThemeSelector.sh # modified Rofi Theme Selector + +bind = $mainMod SHIFT, F, fullscreen # whole full screen +bind = $mainMod CTRL, F, fullscreen, 1 # fake full screen +bind = $mainMod, SPACE, togglefloating, #Float Mode +bind = $mainMod ALT, SPACE, exec, hyprctl dispatch workspaceopt allfloat #All Float Mode + +# Waybar / Bar related +bind = $mainMod CTRL ALT, B, exec, pkill -SIGUSR1 waybar # Toggle hide/show waybar +bind = $mainMod CTRL, B, exec, $scriptsDir/WaybarStyles.sh # Waybar Styles Menu +bind = $mainMod ALT, B, exec, $scriptsDir/WaybarLayout.sh # Waybar Layout Menu + +# FEATURES / EXTRAS (UserScripts) +bind = $mainMod SHIFT, E, exec, $UserScripts/QuickEdit.sh # Quick Edit Hyprland Settings +bind = $mainMod SHIFT, M, exec, $UserScripts/RofiBeats.sh # online music using rofi +bind = $mainMod, W, exec, $UserScripts/WallpaperSelect.sh # Select wallpaper to apply +bind = $mainMod SHIFT, W, exec, $UserScripts/WallpaperEffects.sh # Wallpaper Effects by imagemagick +bind = CTRL ALT, W, exec, $UserScripts/WallpaperRandom.sh # Random wallpapers +bind = $mainMod CTRL, O, exec, hyprctl setprop active opaque toggle # disable opacity on active window +bind = $mainMod SHIFT, K, exec, $scriptsDir/KeyBinds.sh # search keybinds via rofi +bind = $mainMod SHIFT, A, exec, $scriptsDir/Animations.sh #hyprland animations menu +bind = $mainMod SHIFT, O, exec, $UserScripts/ZshChangeTheme.sh # Change oh-my-zsh theme +bindn = ALT_L, SHIFT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # Change keyboard layout bind = $mainMod ALT, C, exec, $UserScripts/RofiCalc.sh # calculator (qalculate) # pyprland (This is not available in Debian and Ubuntu) -bind = $mainMod SHIFT, Return, exec, pypr toggle term # Dropdown terminal +bind = $mainMod SHIFT, Return, exec, pypr toggle term # Dropdown terminal not avail Debian and Ubuntu bind = $mainMod, Z, exec, pypr zoom # Toggle Desktop Zoom -# User Added Keybinds -bind = $mainMod SHIFT, O, exec, $UserScripts/ZshChangeTheme.sh # Change oh-my-zsh theme -bindn = ALT_L, SHIFT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # Change keyboard layout # For passthrough keyboard into a VM # bind = $mainMod ALT, P, submap, passthru diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index f4729d32..96f1adf4 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -11,6 +11,7 @@ windowrulev2 = tag +browser, class:^([Mm]icrosoft-edge(-stable|-beta|-dev|-unsta windowrulev2 = tag +browser, class:^(Brave-browser(-beta|-dev|-unstable)?)$ windowrulev2 = tag +browser, class:^([Tt]horium-browser|[Cc]achy-browser)$ windowrulev2 = tag +browser, class:^(zen-alpha)$ +windowrulev2 = tag +notif, class:^(swaync-control-center|swaync-notification-window|swaync-client|class)$ # terminal tags windowrulev2 = tag +terminal, class:^(Alacritty|kitty|kitty-dropterm)$ @@ -176,6 +177,9 @@ windowrulev2 = fullscreen, tag:games* # LAYER RULES layerrule = blur, rofi layerrule = ignorezero, rofi +layerrule = blur, notifications +layerrule = ignorezero, notifications +#layerrule = ignorealpha 0.5, tag:notif* #layerrule = ignorezero, class:^([Rr]ofi)$ #layerrule = blur, class:^([Rr]ofi)$ diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 7cacae40..d4205abf 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -2,59 +2,20 @@ # Default Keybinds # visit https://wiki.hyprland.org/Configuring/Binds/ for more info +# /* ---- ✴️ Variables ✴️ ---- */ # $mainMod = SUPER # Default $scriptsDir = $HOME/.config/hypr/scripts -$configs = $HOME/.config/hypr/configs -# User $UserConfigs = $HOME/.config/hypr/UserConfigs $UserScripts = $HOME/.config/hypr/UserScripts - bind = CTRL ALT, Delete, exec, hyprctl dispatch exit 0 bind = $mainMod, Q, killactive, #kill bind = $mainMod SHIFT, Q, exec, $scriptsDir/KillActiveProcess.sh # Kill active process -bind = $mainMod SHIFT, F, fullscreen # whole full screen -bind = $mainMod CTRL, F, fullscreen, 1 # fake full screen -bind = $mainMod, SPACE, togglefloating, #Float Mode -bind = $mainMod ALT, SPACE, exec, hyprctl dispatch workspaceopt allfloat #All Float Mode - -#bind = $mainMod, SPACE, exec, $scriptsDir/Float.sh # float mode -#bind = $mainMod ALT, SPACE, exec, $scriptsDir/Float.sh --allfloat # all float mode - bind = CTRL ALT, L, exec, $scriptsDir/LockScreen.sh # screen lock bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh # power menu - -# FEATURES / EXTRAS -bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh # help file -bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi -bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh # emoji menu -bind = $mainMod, S, exec, $scriptsDir/RofiSearch.sh # Google search using rofi -bind = $mainMod ALT, O, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings -bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # Toggle animations ON/OFF -bind = $mainMod ALT, L, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout -bind = $mainMod ALT, V, exec, $scriptsDir/ClipManager.sh # Clipboard Manager bind = $mainMod SHIFT, N, exec, swaync-client -t -sw # swayNC notification panel -# FEATURES / EXTRAS (UserScripts) -bind = $mainMod SHIFT, E, exec, $UserScripts/QuickEdit.sh # Quick Edit Hyprland Settings -bind = $mainMod SHIFT, M, exec, $UserScripts/RofiBeats.sh # online music using rofi -bind = $mainMod, W, exec, $UserScripts/WallpaperSelect.sh # Select wallpaper to apply -bind = $mainMod SHIFT, W, exec, $UserScripts/WallpaperEffects.sh # Wallpaper Effects by imagemagick -bind = CTRL ALT, W, exec, $UserScripts/WallpaperRandom.sh # Random wallpapers -bind = $mainMod CTRL, O, exec, hyprctl setprop active opaque toggle # disable opacity on active window -bind = $mainMod SHIFT, K, exec, $scriptsDir/KeyBinds.sh # search keybinds via rofi -bind = $mainMod SHIFT, A, exec, $scriptsDir/Animations.sh #hyprland animations menu - -# Waybar / Bar related -bind = $mainMod CTRL ALT, B, exec, pkill -SIGUSR1 waybar # Toggle hide/show waybar -bind = $mainMod CTRL, B, exec, $scriptsDir/WaybarStyles.sh # Waybar Styles Menu -bind = $mainMod ALT, B, exec, $scriptsDir/WaybarLayout.sh # Waybar Layout Menu - -# Dwindle Layout -bind = $mainMod SHIFT, I, togglesplit # only works on dwindle layout -bind = $mainMod, P, pseudo, # dwindle - # Master Layout bind = $mainMod CTRL, D, layoutmsg, removemaster bind = $mainMod, I, layoutmsg, addmaster @@ -62,6 +23,10 @@ bind = $mainMod, J, layoutmsg, cyclenext bind = $mainMod, K, layoutmsg, cycleprev bind = $mainMod CTRL, Return, layoutmsg, swapwithmaster +# Dwindle Layout +bind = $mainMod SHIFT, I, togglesplit # only works on dwindle layout +bind = $mainMod, P, pseudo, # dwindle + # Works on either layout (Master or Dwindle) bind = $mainMod, M, exec, hyprctl dispatch splitratio 0.3 -- cgit v1.2.3 From ffb19d4d7d54388ef30afee7772d6491133a49e4 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 13 Feb 2025 19:02:48 +0900 Subject: updated window rules --- config/hypr/UserConfigs/WindowRules.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 96f1adf4..44e4b3c3 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -122,6 +122,8 @@ windowrulev2 = float, title:^(Picture-in-Picture)$ #windowrulev2 = float, title:^(Firefox)$ #windowrule v2 - float popups and dialogue +windowrulev2 = float, title:^(Authentication Required)$ +windowrulev2 = center, title:^(Authentication Required)$ windowrulev2 = float, class:(codium|codium-url-handler|VSCodium), title:negative:(.*codium.*|.*VSCodium.*) windowrulev2 = float, class:^(com.heroicgameslauncher.hgl)$, title:negative:(Heroic Games Launcher) windowrulev2 = float, class:^([Ss]team)$, title:negative:^([Ss]team)$ -- cgit v1.2.3 From 6b7409c7ce93e0f36fd70cf9563a2aed17298d7e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 14 Feb 2025 10:44:41 +0900 Subject: updated copy.sh and hardware cursors settings --- config/hypr/UserConfigs/UserSettings.conf | 2 +- copy.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index f5bfcf7e..d488751c 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -112,7 +112,7 @@ render { cursor { sync_gsettings_theme = true - no_hardware_cursors = 2 + no_hardware_cursors = false enable_hyprcursor = true warp_on_change_workspace = 2 no_warps = true diff --git a/copy.sh b/copy.sh index c78ee06c..fd2df15b 100755 --- a/copy.sh +++ b/copy.sh @@ -69,7 +69,7 @@ if lspci -k | grep -A 2 -E "(VGA|3D)" | grep -iq nvidia; then sed -i '/env = __GLX_VENDOR_LIBRARY_NAME,nvidia/s/^#//' config/hypr/UserConfigs/ENVariables.conf sed -i '/env = NVD_BACKEND,direct/s/^#//' config/hypr/UserConfigs/ENVariables.conf # enabling no hardware cursors if nvidia detected - sed -i 's/^\([[:space:]]*no_hardware_cursors[[:space:]]*=[[:space:]]*\)2/\1true/' config/hypr/UserConfigs/UserSettings.conf + sed -i 's/^\([[:space:]]*no_hardware_cursors[[:space:]]*=[[:space:]]*\)false/\1true/' config/hypr/UserConfigs/UserSettings.conf # disabling explicit sync for nvidia for now (Hyprland 0.42.0) #sed -i 's/ explicit_sync = 2/ explicit_sync = 0/' config/hypr/UserConfigs/UserSettings.conf fi @@ -78,7 +78,7 @@ fi if hostnamectl | grep -q 'Chassis: vm'; then echo "${INFO} System is running in a virtual machine. Setting up proper env's and configs" 2>&1 | tee -a "$LOG" || true # enabling proper ENV's for Virtual Environment which should help - sed -i 's/^\([[:space:]]*no_hardware_cursors[[:space:]]*=[[:space:]]*\)2/\1true/' config/hypr/UserConfigs/UserSettings.conf + sed -i 's/^\([[:space:]]*no_hardware_cursors[[:space:]]*=[[:space:]]*\)false/\1true/' config/hypr/UserConfigs/UserSettings.conf sed -i '/env = WLR_RENDERER_ALLOW_SOFTWARE,1/s/^#//' config/hypr/UserConfigs/ENVariables.conf #sed -i '/env = LIBGL_ALWAYS_SOFTWARE,1/s/^#//' config/hypr/UserConfigs/ENVariables.conf sed -i '/monitor = Virtual-1, 1920x1080@60,auto,1/s/^#//' config/hypr/UserConfigs/Monitors.conf -- cgit v1.2.3 From b5dc4f9991df5ef5f5e8c4e191a863d8aeb4cdaf Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 15 Feb 2025 00:42:41 +0900 Subject: updated rofi configs. Added CTRL SHIFT R to launch modified rofi-theme-selector --- assets/rofi/themes/KooL_style-10-Fancy-v2.rasi | 166 +++++++++++++++ .../themes/KooL_style-11-Win11-list-light.rasi | 15 +- assets/rofi/themes/KooL_style-12-TOP-Docu.rasi | 149 ++++++++++++++ assets/rofi/themes/KooL_style-2-Dark.rasi | 10 +- assets/rofi/themes/KooL_style-2-Light.rasi | 8 +- config/hypr/UserConfigs/UserKeybinds.conf | 1 + config/hypr/scripts/RofiThemeSelector-modified.sh | 226 +++++++++++++++++++++ 7 files changed, 562 insertions(+), 13 deletions(-) create mode 100644 assets/rofi/themes/KooL_style-10-Fancy-v2.rasi create mode 100644 assets/rofi/themes/KooL_style-12-TOP-Docu.rasi create mode 100755 config/hypr/scripts/RofiThemeSelector-modified.sh (limited to 'config/hypr/UserConfigs') diff --git a/assets/rofi/themes/KooL_style-10-Fancy-v2.rasi b/assets/rofi/themes/KooL_style-10-Fancy-v2.rasi new file mode 100644 index 00000000..845cc5f2 --- /dev/null +++ b/assets/rofi/themes/KooL_style-10-Fancy-v2.rasi @@ -0,0 +1,166 @@ +/** + * Edited by: Dave Davenport + * User: Rasi + * Copyright: Rasmus Steinke + */ + +/* global settings and color variables */ +* { + blue: #A7c6E2; + blue-trans: #A7c6e2aa; + darkblue: #005F87; + green: #00330088; + black: #000000; + grey: #444444; + orange: #FFD391; + dark-orange: #FFA664; + light-grey: #F5F5F5; + medium-grey: #D0D0D0; + dark-grey: #002B36; + urgent: #D75F00; + active: #005F87; + transparent: #000000aa; + spacing: 0em; + padding: 0px; + background-color: white; + line-style: "none"; +} + +prompt-box { + background-color : transparent; +} + +prompt { + background-color : transparent; + text-color : white; +} + +window { + border : 2px; + border-radius : 12px; + border-color : black; + background-color : transparent; + color : @grey; +} +mainbox { + background-color : @blue-trans; + color : @grey; + spacing : 0%; +} + +listview { + // Looks. + border-radius : 10px; + border : 5px; + padding : 20px; + margin : 20px 30px 30px 30px; + background-color : @orange; + // Enable scrollbar + scrollbar : false; + scrollbar-width : 5px; + fixed-height : true; + reverse : false; + color : #000000; + spacing : 0.3em; +} +scrollbar { + color: @black; + background-color: @blue; + padding: 1px; +} +element { + border: 0px; + padding: 0px; + margin: 0px; + spacing: 0.5em; + color: @black; + background-color: @blue; + children: [ element-icon, element-text ]; +} + +element normal.normal { + color: @black; + background-color: @orange; +} +element normal.urgent { + color: @urgent; + background-color: @light-grey; +} +element normal.active { + color: @active; + background-color: @light-grey; +} +element selected.normal { + border-radius: 0px; + color: @black; + background-color: @dark-orange; +} +element selected.urgent { + color: @light-grey; + background-color: @urgent; +} +element selected.active { + color: @light-grey; + background-color: @active; +} +element alternate.normal { + color: @black; + background-color: @orange; +} +element alternate.urgent { + color: @urgent; + background-color: @medium-grey; +} +element alternate.active { + color: @active; + background-color: @medium-grey; +} +inputbar { + spacing : 5px; + background-color : #88003300; + border : 0px 0px 2px 0px; + border-radius : 0px; + padding : 5px 10px 5px 35px; + background-color : #00330088; + color : @black; + end : false; +} + +separator { + background-color : @blue; + color : #00000000; +} +prompt normal.normal { + background-color : #00000000; + color : #ffffff; + padding : 0px; +} +entry normal.normal { + background-color : #00000000; + color : #ffffff; + padding : 0px; +} +case-indicator normal.normal { + background-color : #00000000; + color : #ffffff; + padding : 0px; +} + +message { + margin : 30px; + padding : 20px 30px 20px 20px; + padding : 20px ; + border-radius : 10px; + border : 5px; +} + +prompt-colon { + spacing : 0; + enabled : false; +} + +element-text, element-icon { + background-color : inherit; + text-color : inherit; + foreground-color : inherit; +} 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 0e2600f1..e6437b29 100644 --- a/assets/rofi/themes/KooL_style-11-Win11-list-light.rasi +++ b/assets/rofi/themes/KooL_style-11-Win11-list-light.rasi @@ -6,14 +6,14 @@ /* ---- Configuration ---- */ configuration { - dpi: 1; + dpi: 1; show-icons: true; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; } -/*****----- Global Properties -----*****/ +/*****----- Global Properties -----*****/ * { bg0 : #ffffff80; bg1 : #f9f9f9bf; @@ -81,7 +81,6 @@ entry { placeholder-color : @fg1; } - listview { columns : 2; spacing : 8px; @@ -133,9 +132,9 @@ error-message { } textbox { - padding : 10px; - background-color : @bg0; - text-color : @fg0; - vertical-align : 0.5; - horizontal-align : 0.5; + padding : 10px; + background-color : @bg0; + text-color : @fg0; + vertical-align : 0.5; + horizontal-align : 0.5; } diff --git a/assets/rofi/themes/KooL_style-12-TOP-Docu.rasi b/assets/rofi/themes/KooL_style-12-TOP-Docu.rasi new file mode 100644 index 00000000..3e80c81a --- /dev/null +++ b/assets/rofi/themes/KooL_style-12-TOP-Docu.rasi @@ -0,0 +1,149 @@ +/* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ +/* KooL Hyprland Rofi Style 12 - TOP - Docu */ +/* Credit to DaveDavenport. I have only some few things changed */ + +/** + * ROFI Documentation theme. + * User: Qball + * Copyright: Dave Davenport + */ + +configuration { + modi: "drun,run,filebrowser"; + show-icons: true; + display-drun: "Apps"; + display-run: "Run"; + display-filebrowser: "Files"; + display-window: "Windows"; + drun-display-format: "{name}"; + window-format: "{w} Β· {c} Β· {t}"; + dpi: 1; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; +} + +/* ---- Global Properties ---- */ +* { + background-color: transparent; + text-color: white; +} +entry { + border: 2px 0px; + border-color: darkgrey; + background-color: grey; + padding: 4px; + placeholder: "πŸ”Ž Search"; + placeholder-color: darkgrey; + cursor: text; +} + +/*****-- Elements Font Size -----*****/ +element-text { + font: "JetBrainsMono Nerd Font SemiBold 12"; + +} +inputbar { + spacing: 0; + children: [ icon-keyboard, entry, mode-switcher ]; +} + +mode-switcher { + spacing: 10px; + border: 2px; + border-radius: 0px 4px 4px 0px; + border-color: darkgrey; + background-color: darkgrey; +} + +button { + padding: 0px 60px 0px 60px; + background-color: grey; + border-color: darkgrey; + cursor: pointer; +} + +button selected { + background-color: white/20%; + text-color: black; +} + +icon-keyboard { + border: 2px 0px 2px 2px; + border-radius: 4px 0px 0px 4px; + border-color: darkgrey; + background-color: grey; + padding: 0px 10px 0px 10px; + expand: false; + size: 1.2em; + filename: "keyboard"; +} + +window { + anchor: north; + location: north; + width: 100%; + background-color: black / 50%; + padding: 1em; + border-color: black; + border: 0em 0.2em 0.2em; + chilren: [ inputbar, message, listview ]; +} + +mainbox { + spacing: 1em; +} + + +listview { + lines: 4; + columns: 6; + spacing: 1em; + fixed-columns: true; +} + +element { + orientation: vertical; + border: 2px; + border-radius: 4px ; + border-color: darkgrey; + background-color: grey; + cursor: pointer; + padding: 4px; +} + +element selected { + background-color: white/20%; + text-color: black; +} + + +element-icon { + cursor: inherit; +} + +element-text { + horizontal-align: 0.5; + cursor: inherit; +} + +/* ---- Message ---- */ +message { + background-color: transparent; + border: 0px; +} +textbox { + margin: 10px; + padding: 12px; + border-radius: 10px; + background-color: black / 50%; + text-color: white; + vertical-align: 0.5; + horizontal-align: 0.5; +} +error-message { + padding: 12px; + border-radius: 20px; + background-color: black / 50%; + text-color: white; +} \ No newline at end of file diff --git a/assets/rofi/themes/KooL_style-2-Dark.rasi b/assets/rofi/themes/KooL_style-2-Dark.rasi index 1925203b..5c8381f7 100644 --- a/assets/rofi/themes/KooL_style-2-Dark.rasi +++ b/assets/rofi/themes/KooL_style-2-Dark.rasi @@ -3,7 +3,7 @@ /* Source: https://github.com/adi1090x/rofi */ -/*****----- Configuration -----*****/ +/* ****----- Configuration -----**** */ configuration { modi: "drun,filebrowser,window"; show-icons: true; @@ -11,14 +11,18 @@ configuration { display-run: "RUN"; display-filebrowser: "FILES"; display-window: "WINDOW"; - drun-display-format: "{name}\n[({generic})]"; - window-format: "Class : {c}\nWorkspace : {w}"; + drun-display-format: "{name}"; + window-format: "{w} Β· {c} Β· {t}"; dpi: 1; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; } +/*****----- Global Properties -----*****/ +* { + +} /*****-- Elements Font Size -----*****/ element-text { font: "JetBrainsMono Nerd Font SemiBold 12"; diff --git a/assets/rofi/themes/KooL_style-2-Light.rasi b/assets/rofi/themes/KooL_style-2-Light.rasi index 118b6e54..08b58d15 100644 --- a/assets/rofi/themes/KooL_style-2-Light.rasi +++ b/assets/rofi/themes/KooL_style-2-Light.rasi @@ -11,14 +11,18 @@ configuration { display-run: "RUN"; display-filebrowser: "FILES"; display-window: "WINDOW"; - drun-display-format: "{name}\n[({generic})]"; - window-format: "Class : {c}\nWorkspace : {w}"; + drun-display-format: "{name}"; + window-format: "{w} Β· {c} Β· {t}"; dpi: 1; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; } +/*****----- Global Properties -----*****/ +* { + +} /*****-- Elements Font Size -----*****/ element-text { font: "JetBrainsMono Nerd Font SemiBold 12"; diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index feb54c22..862ffa45 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -31,6 +31,7 @@ bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # Toggle animations ON/O bind = $mainMod ALT, L, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout bind = $mainMod ALT, V, exec, $scriptsDir/ClipManager.sh # Clipboard Manager bind = $mainMod CTRL, R, exec, $scriptsDir/RofiThemeSelector.sh # modified Rofi Theme Selector +bind = $mainMod CTRL SHIFT, R, exec, $scriptsDir/RofiThemeSelector-modified.sh # modified Rofi Theme Selector bind = $mainMod SHIFT, F, fullscreen # whole full screen bind = $mainMod CTRL, F, fullscreen, 1 # fake full screen diff --git a/config/hypr/scripts/RofiThemeSelector-modified.sh b/config/hypr/scripts/RofiThemeSelector-modified.sh new file mode 100755 index 00000000..e4d476c3 --- /dev/null +++ b/config/hypr/scripts/RofiThemeSelector-modified.sh @@ -0,0 +1,226 @@ +#!/bin/bash +# /* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ ## +# A modified version of Rofi-Theme-Selector, concentrating only on ~/.local and also, applying only 10 @themes in ~/.config/rofi/config.rasi +# as opposed to continous adding of //@theme + +# This code is released in public domain by Dave Davenport + +iDIR="$HOME/.config/swaync/images" + + +OS="linux" + +ROFI=$(command -v rofi) +SED=$(command -v sed) +MKTEMP=$(command -v mktemp) +NOTIFY_SEND=$(command -v notify-send) + +if [ -z "${SED}" ] +then + echo "Did not find 'sed', script cannot continue." + exit 1 +fi +if [ -z "${MKTEMP}" ] +then + echo "Did not find 'mktemp', script cannot continue." + exit 1 +fi +if [ -z "${ROFI}" ] +then + echo "Did not find rofi, there is no point to continue." + exit 1 +fi +if [ -z "${NOTIFY_SEND}" ] +then + echo "Did not find 'notify-send', notifications won't work." +fi + +TMP_CONFIG_FILE=$(${MKTEMP}).rasi +rofi_theme_dir="${HOME}/.local/share/rofi/themes" +rofi_config_file="${XDG_CONFIG_HOME:-${HOME}/.config}/rofi/config.rasi" + +## +# Array with parts to the found themes. +# And array with the printable name. +## +declare -a themes +declare -a theme_names + +## +# Function that tries to find all installed rofi themes. +# This fills in #themes array and formats a displayable string #theme_names +## +find_themes() +{ + DIRS="${HOME}/.local/share" + OLDIFS=${IFS} + IFS=: + # Add user dir. + DIRS+=":${XDG_CONFIG_HOME:-${HOME}/.config}" + for p in ${DIRS}; do + p=${p%/} + TD=${p}/rofi/themes + if [ -n "${p}" ] && [ -d "${TD}" ] + then + echo "Checking themes in: ${TD}" + for file in ${TD}/*.rasi + do + if [ -f "${file}" ] + then + themes+=("${file}") + FN=$(basename "${file}") + NAME=${FN%.*} # Extract the file name without extension + theme_names+=("${NAME}") # Only add the base file name + fi + done + fi + done + IFS=${OLDIFS} +} + +## +# Function to add or update theme in the config.rasi +## +add_theme_to_config() { + local theme_name="$1" + local theme_path="$rofi_theme_dir/$theme_name" + + # if config in $HOME to write as $HOME + if [[ "$theme_path" == $HOME/* ]]; then + theme_path_with_tilde="~${theme_path#$HOME}" + else + theme_path_with_tilde="$theme_path" + fi + + # If no @theme is in the file, add it + if ! grep -q '^\s*@theme' "$rofi_config_file"; then + echo -e "\n\n@theme \"$theme_path_with_tilde\"" >> "$rofi_config_file" + echo "Added @theme \"$theme_path_with_tilde\" to $rofi_config_file" + else + $SED -i "s/^\(\s*@theme.*\)/\/\/\1/" "$rofi_config_file" + echo -e "@theme \"$theme_path_with_tilde\"" >> "$rofi_config_file" + echo "Updated @theme line to $theme_path_with_tilde" + fi + + # Ensure no more than max # of lines with //@theme lines + max_line="9" + total_lines=$(grep -c '^\s*//@theme' "$rofi_config_file") + + if [ "$total_lines" -gt "$max_line" ]; then + excess=$((total_lines - max_line)) + # Remove the oldest or the very top //@theme lines + for i in $(seq 1 "$excess"); do + $SED -i '0,/^\s*\/\/@theme/ { /^\s*\/\/@theme/ {d; q; }}' "$rofi_config_file" + done + echo "Removed excess //@theme lines" + fi +} + +## +# Create a copy of rofi config +## +create_config_copy() +{ + ${ROFI} -dump-config > "${TMP_CONFIG_FILE}" + # remove theme entry. + ${SED} -i 's/^\s*theme:\s\+".*"\s*;//g' "${TMP_CONFIG_FILE}" +} + +### +# Print the list out so it can be displayed by rofi. +## +create_theme_list() +{ + OLDIFS=${IFS} + IFS='|' + for themen in ${theme_names[@]} + do + echo "${themen}" + done + IFS=${OLDIFS} +} + +## +# Thee indicate what entry is selected. +## +declare -i SELECTED + +select_theme() +{ + local MORE_FLAGS=(-dmenu -format i -no-custom -p "Theme" -markup -config "${TMP_CONFIG_FILE}" -i) + MORE_FLAGS+=(-kb-custom-1 "Alt-a") + MORE_FLAGS+=(-u 2,3 -a 4,5 ) + local CUR="default" + while true + do + declare -i RTR + declare -i RES + local MESG="""You can preview themes by hitting Enter. +Alt-a to accept the new theme. +Escape to cancel +Current theme: ${CUR} +When setting a new theme this will override previous theme settings. +Please update your config file if you have local modifications.""" + THEME_FLAG= + if [ -n "${SELECTED}" ] + then + THEME_FLAG="-theme ${themes[${SELECTED}]}" + fi + RES=$( create_theme_list | ${ROFI} ${THEME_FLAG} ${MORE_FLAGS[@]} -cycle -selected-row "${SELECTED}" -mesg "${MESG}") + RTR=$? + if [ "${RTR}" = 10 ] + then + return 0; + elif [ "${RTR}" = 1 ] + then + return 1; + elif [ "${RTR}" = 65 ] + then + return 1; + fi + CUR=${theme_names[${RES}]} + SELECTED=${RES} + done +} + +############################################################################################################ +# Actual program execution +########################################################################################################### +## +# Find all themes +## +find_themes + +## +# Do check if there are themes. +## +if [ ${#themes[@]} = 0 ] +then + ${ROFI} -e "No themes found." + exit 0 +fi + +## +# Create copy of config to play with in preview +## +create_config_copy + +## +# Show the themes to user. +## +if select_theme && [ -n "${SELECTED}" ] +then + # Apply the selected theme + add_theme_to_config "${theme_names[${SELECTED}]}" + + # 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" + fi +fi + +## +# Remove temp. config. +## +rm -- "${TMP_CONFIG_FILE}" -- cgit v1.2.3 From adee3e65f23b3bff8466a2b8d0bc54eb75d9b095 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 15 Feb 2025 01:35:06 +0900 Subject: updated window rules --- config/hypr/UserConfigs/WindowRules.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 44e4b3c3..f2f60899 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -7,6 +7,7 @@ windowrulev2 = tag +browser, class:^([Ff]irefox|org.mozilla.firefox|[Ff]irefox-esr)$ windowrulev2 = tag +browser, class:^([Gg]oogle-chrome(-beta|-dev|-unstable)?)$ windowrulev2 = tag +browser, class:^(chrome-.+-Default)$ # Chrome PWAs +windowrulev2 = tag +browser, class:^([Cc]hromium)$ windowrulev2 = tag +browser, class:^([Mm]icrosoft-edge(-stable|-beta|-dev|-unstable))$ windowrulev2 = tag +browser, class:^(Brave-browser(-beta|-dev|-unstable)?)$ windowrulev2 = tag +browser, class:^([Tt]horium-browser|[Cc]achy-browser)$ -- 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/hypr/UserConfigs') 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