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/scripts/KeyHints.sh | 57 +++++++++++++---------------------------- 1 file changed, 18 insertions(+), 39 deletions(-) (limited to 'config/hypr/scripts/KeyHints.sh') 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" ""\ -- 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/scripts/KeyHints.sh') 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 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/hypr/scripts/KeyHints.sh') 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