From d404c8b6b94d973334a1136223fbf5c412083bdb Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 10 Feb 2025 01:16:17 +0900 Subject: Initial upload of various rofi themes --- config/rofi/config.rasi | 37 ++++++++++++------------------------- 1 file changed, 12 insertions(+), 25 deletions(-) mode change 100755 => 100644 config/rofi/config.rasi (limited to 'config/rofi/config.rasi') diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi old mode 100755 new mode 100644 index eca05ea6..51a70f2c --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -1,31 +1,18 @@ /* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ -/* Main Config 1080p */ +/* Ja KooLit - Default -@import "~/.config/rofi/master-config.rasi" +* All main themes or configs are located in ~/.local/share/rofi/themes +* If you want to edit the config, that is where you should edit NOT here -/* ---- Window ---- */ -window { - width: 50%; -} -/* ---- Listview ---- */ -listview { - columns: 5; - lines: 5; - fixed-height: true; -} +* To load a new theme, manually edit the file path below or choose desired theme via rofi theme selector -/* ---- Element ---- */ -element { - orientation: vertical; - padding: 10px 5px 10px 5px; - spacing: 6px; -} +* Alternative way to Load (preferred) own cooked by Ja +* SUPER CTRL R - Choose style -element-icon { - size: 3%; -} +* 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 */ -element-text { - font: "JetBrainsMono Nerd Font SemiBold 10"; - horizontal-align: 0.5; -} \ No newline at end of file + +@theme "~/.local/share/rofi/themes/KooL_style-2-Dark.rasi" -- 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/rofi/config.rasi') 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 0b00425dc338e739404bd200a1e2078237df71a9 Mon Sep 17 00:00:00 2001 From: installer Date: Sat, 15 Feb 2025 17:41:55 +0900 Subject: Updated rofi stuff --- config/hypr/UserConfigs/ENVariables.conf | 33 ++++++++++++++++------- config/hypr/scripts/Animations.sh | 4 +-- config/hypr/scripts/RofiThemeSelector-modified.sh | 2 +- config/hypr/scripts/RofiThemeSelector.sh | 2 +- config/rofi/config-Animations.rasi | 19 +++++++------ config/rofi/config-edit.rasi | 14 +++++----- config/rofi/config-keybinds.rasi | 1 + config/rofi/config-rofi-Beats.rasi | 10 +++---- config/rofi/config-rofi-theme.rasi | 15 +++++------ config/rofi/config-wallpaper-effect.rasi | 1 + config/rofi/config-waybar-layout.rasi | 17 ++++++------ config/rofi/config-waybar-style.rasi | 15 ++++++----- config/rofi/config-zsh-theme.rasi | 3 +-- config/rofi/config.rasi | 13 +++++---- 14 files changed, 80 insertions(+), 69 deletions(-) (limited to 'config/rofi/config.rasi') diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index e5e5ab42..7dde28c4 100644 --- a/config/hypr/UserConfigs/ENVariables.conf +++ b/config/hypr/UserConfigs/ENVariables.conf @@ -4,30 +4,39 @@ # Set your defaults here #env = EDITOR,vim #default editor -#environment-variables -env = CLUTTER_BACKEND,wayland +# environment-variables +# Toolkit Backend Variables env = GDK_BACKEND,wayland,x11 -env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_QPA_PLATFORM,wayland;xcb -env = QT_QPA_PLATFORMTHEME,qt5ct -env = QT_QPA_PLATFORMTHEME,qt6ct -env = QT_SCALE_FACTOR,1 -env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 +env = CLUTTER_BACKEND,wayland + +#Run SDL2 applications on Wayland. +#Remove or set to x11 if games that provide older versions of SDL cause compatibility issues +#env = SDL_VIDEODRIVER,wayland + +# xdg Specifications env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland +# QT Variables +env = QT_AUTO_SCREEN_SCALE_FACTOR,1 +env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 +env = QT_QPA_PLATFORMTHEME,qt5ct +env = QT_QPA_PLATFORMTHEME,qt6ct + # hyprland-qt-support env = QT_QUICK_CONTROLS_STYLE,org.hyprland.style -# xwayland apps scale fix (useful if you are use monitor scaling) +# xwayland apps scale fix (useful if you are use monitor scaling). +# Set same value if you use scaling in Monitors.conf +# 1 is 100% 1.5 is 150% # see https://wiki.hyprland.org/Configuring/XWayland/ -# toolkit-specific scale env = GDK_SCALE,1 +env = QT_SCALE_FACTOR,1 # Bibata-Modern-Ice-Cursor # NOTE! You must have the hyprcursor version to activate this. -# If you installed from 26-Dec-2024 and choose GTK theme, then you have it. # https://wiki.hyprland.org/Hypr-Ecosystem/hyprcursor/ #env = HYPRCURSOR_THEME,Bibata-Modern-Ice #env = HYPRCURSOR_SIZE,24 @@ -41,6 +50,7 @@ env = ELECTRON_OZONE_PLATFORM_HINT,auto # NVIDIA # This is from Hyprland Wiki. Below will be activated nvidia gpu detected # See hyprland wiki https://wiki.hyprland.org/Nvidia/#environment-variables + #env = LIBVA_DRIVER_NAME,nvidia #env = __GLX_VENDOR_LIBRARY_NAME,nvidia #env = NVD_BACKEND,direct @@ -49,9 +59,12 @@ env = ELECTRON_OZONE_PLATFORM_HINT,auto #env = AQ_DRM_DEVICES,/dev/dri/card1 (nvidia) #env = AQ_DRM_DEVICES,/dev/dri/card0 +#env = AQ_NO_ATOMIC,1 #use legacy DRM interface + # additional ENV's for nvidia. Caution, activate with care #env = GBM_BACKEND,nvidia-drm +#env = __GL_GSYNC_ALLOWED,1 #adaptive Vsync #env = __NV_PRIME_RENDER_OFFLOAD,1 #env = __VK_LAYER_NV_optimus,NVIDIA_only #env = WLR_DRM_NO_ATOMIC,1 diff --git a/config/hypr/scripts/Animations.sh b/config/hypr/scripts/Animations.sh index 62c32257..4f49d47a 100755 --- a/config/hypr/scripts/Animations.sh +++ b/config/hypr/scripts/Animations.sh @@ -13,12 +13,12 @@ SCRIPTSDIR="$HOME/.config/hypr/scripts" animations_dir="$HOME/.config/hypr/animations" UserConfigs="$HOME/.config/hypr/UserConfigs" rofi_theme="~/.config/rofi/config-Animations.rasi" - +msg='❗NOTE:❗ This will copy animations into UserAnimations.conf' # list of animation files, sorted alphabetically with numbers first animations_list=$(find -L "$animations_dir" -maxdepth 1 -type f | sed 's/.*\///' | sed 's/\.conf$//' | sort -V) # Rofi Menu -chosen_file=$(echo "$animations_list" | rofi -i -dmenu -config $rofi_theme) +chosen_file=$(echo "$animations_list" | rofi -i -dmenu -config $rofi_theme -mesg "$msg") # Check if a file was selected if [[ -n "$chosen_file" ]]; then diff --git a/config/hypr/scripts/RofiThemeSelector-modified.sh b/config/hypr/scripts/RofiThemeSelector-modified.sh index 2af75a73..2cfc2d24 100755 --- a/config/hypr/scripts/RofiThemeSelector-modified.sh +++ b/config/hypr/scripts/RofiThemeSelector-modified.sh @@ -219,7 +219,7 @@ then # Send notification with the selected theme name selection="${theme_names[${SELECTED}]}" if [ -n "$NOTIFY_SEND" ]; then - notify-send -u low -i "$iDIR/ja.png" "Rofi Theme" "applied: $selection" + notify-send -u low -i "$iDIR/ja.png" "Rofi Theme applied:" "$selection" fi fi diff --git a/config/hypr/scripts/RofiThemeSelector.sh b/config/hypr/scripts/RofiThemeSelector.sh index 968d1f30..2e840ea1 100755 --- a/config/hypr/scripts/RofiThemeSelector.sh +++ b/config/hypr/scripts/RofiThemeSelector.sh @@ -65,7 +65,7 @@ main() { exit 0 fi add_theme_to_config "$choice" - notify-send -i "$iDIR/ja.png" -u low 'Rofi Theme' "$choice applied." + notify-send -i "$iDIR/ja.png" -u low 'Rofi Theme applied:' "$choice" } if pgrep -x "rofi" >/dev/null; then diff --git a/config/rofi/config-Animations.rasi b/config/rofi/config-Animations.rasi index 8aa22abf..7c458b09 100644 --- a/config/rofi/config-Animations.rasi +++ b/config/rofi/config-Animations.rasi @@ -6,10 +6,9 @@ /* ---- Mainbox ---- */ mainbox { children: - [ "inputbar", "listview"]; + [ "inputbar", "message", "listview"]; } - /* ---- Window ---- */ window { width: 30%; @@ -23,18 +22,18 @@ entry { /* ---- Listview ---- */ listview { - columns: 2; - lines: 9; - fixed-height: false; - margin: 10px; + columns: 2; + lines: 9; + fixed-height: false; + margin: 10px; } /* ---- Elements ---- */ element-icon { - size: 0%; + size: 0%; } element-text { - horizontal-align: 0.0; - vertical-align: 0.0; - margin: 5px 30px 5px 30px; + horizontal-align: 0.0; + vertical-align: 0.0; + margin: 5px 30px 5px 30px; } diff --git a/config/rofi/config-edit.rasi b/config/rofi/config-edit.rasi index 568de812..60d18e34 100644 --- a/config/rofi/config-edit.rasi +++ b/config/rofi/config-edit.rasi @@ -17,15 +17,15 @@ configuration { /* ---- Window ---- */ window { - width: 45%; + width: 45%; } /* ---- Listview ---- */ listview { - columns: 2; - lines: 6; - fixed-height: false; + columns: 2; + lines: 6; + fixed-height: false; } /* ---- Entry input ---- */ @@ -41,9 +41,9 @@ element { } element-icon { - size: 0%; + size: 0%; } element-text { - horizontal-align: 0.0; - margin: 5px 30px 5px 30px; + horizontal-align: 0.0; + margin: 5px 30px 5px 30px; } \ No newline at end of file diff --git a/config/rofi/config-keybinds.rasi b/config/rofi/config-keybinds.rasi index ccc8b4d7..2b19c271 100644 --- a/config/rofi/config-keybinds.rasi +++ b/config/rofi/config-keybinds.rasi @@ -21,6 +21,7 @@ listview { columns: 2; lines: 12; fixed-height: false; + scrollbar: true; } window { diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index b84b4260..b8121286 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -5,7 +5,7 @@ /* ---- Window ---- */ window { - width: 45%; + width: 45%; } /* ---- Mainbox ---- */ @@ -21,10 +21,10 @@ entry { /* ---- Listview ---- */ listview { - columns: 2; - lines: 8; - fixed-height: false; - margin: 10px; + columns: 2; + lines: 8; + fixed-height: false; + margin: 10px; } /* ---- Elements ---- */ diff --git a/config/rofi/config-rofi-theme.rasi b/config/rofi/config-rofi-theme.rasi index 14f1f971..d660f1f9 100644 --- a/config/rofi/config-rofi-theme.rasi +++ b/config/rofi/config-rofi-theme.rasi @@ -3,10 +3,9 @@ @import "~/.config/rofi/config.rasi" - /* ---- Window ---- */ window { - width: 45%; + width: 45%; } /* ---- Mainbox ---- */ @@ -17,10 +16,10 @@ mainbox { /* ---- Listview ---- */ listview { - columns: 2; - lines: 8; - fixed-height: false; - scrollbar: true; + columns: 2; + lines: 8; + fixed-height: false; + scrollbar: true; } /* ---- Entry input ---- */ @@ -39,7 +38,7 @@ element-icon { size: 0%; } element-text { - horizontal-align: 0.0; - margin: 5px 30px 5px 30px; + horizontal-align: 0.0; + margin: 5px 30px 5px 30px; } diff --git a/config/rofi/config-wallpaper-effect.rasi b/config/rofi/config-wallpaper-effect.rasi index 0fb534e3..de74747a 100644 --- a/config/rofi/config-wallpaper-effect.rasi +++ b/config/rofi/config-wallpaper-effect.rasi @@ -26,6 +26,7 @@ listview { columns: 2; lines: 8; fixed-height: false; + scrollbar: true; } /* ---- Inputbar ---- */ diff --git a/config/rofi/config-waybar-layout.rasi b/config/rofi/config-waybar-layout.rasi index cc24a170..c179a362 100644 --- a/config/rofi/config-waybar-layout.rasi +++ b/config/rofi/config-waybar-layout.rasi @@ -3,8 +3,6 @@ @import "~/.config/rofi/config.rasi" - - /* ---- Configuration ---- */ configuration { modi: "drun"; @@ -24,17 +22,18 @@ entry { /* ---- Listview ---- */ listview { - columns: 2; - lines: 9; - fixed-height: false; - margin: 10px; + columns: 2; + lines: 9; + fixed-height: false; + margin: 10px; + scrollbar: true; } /* ---- Elements ---- */ element-icon { - size: 0%; + size: 0%; } element-text { - horizontal-align: 0.0; - margin: 5px 30px 5px 30px; + horizontal-align: 0.0; + margin: 5px 30px 5px 30px; } diff --git a/config/rofi/config-waybar-style.rasi b/config/rofi/config-waybar-style.rasi index bfb3829a..12c5a757 100644 --- a/config/rofi/config-waybar-style.rasi +++ b/config/rofi/config-waybar-style.rasi @@ -23,17 +23,18 @@ entry { /* ---- Listview ---- */ listview { - columns: 2; - lines: 9; - fixed-height: false; - margin: 10px; + columns: 2; + lines: 9; + fixed-height: false; + margin: 10px; + scrollbar: true; } /* ---- Elements ---- */ element-icon { - size: 0%; + size: 0%; } element-text { - horizontal-align: 0.0; - margin: 5px 30px 5px 30px; + horizontal-align: 0.0; + margin: 5px 30px 5px 30px; } diff --git a/config/rofi/config-zsh-theme.rasi b/config/rofi/config-zsh-theme.rasi index c2293b4e..1b0b58f7 100644 --- a/config/rofi/config-zsh-theme.rasi +++ b/config/rofi/config-zsh-theme.rasi @@ -15,10 +15,9 @@ window { } mainbox { - children: [ "inputbar" , "listview" ]; + children: [ "inputbar" , "listview" ]; } - /* ---- Listbox ---- */ listbox { border-radius: 12px; diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 586de76e..cda85e8a 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -1,25 +1,24 @@ /* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ /* Ja KooLit - Default -* All main themes or configs are located in ~/.local/share/rofi/themes +* All main themes or configs are located in ~/.config/rofi/themes/ * If you want to edit the config, that is where you should edit NOT here -* To load a new theme, manually edit the file path below or choose desired theme via rofi theme selector +* To load a new theme, manually edit the file path below or choose desired theme via rofi theme selector (choose via app menu) * Alternative way to Load (preferred) own cooked by Ja -* SUPER CTRL R - Choose style +* SUPER CTRL R - Choose style & SUPER CTRL SHIFT R * TIPS * If you have edited a config, rename it with a unique name. During update, the contents of -* ~/.local/share/rofi/themes will be replaced. However, it wont overwrite your own config if you -* renamed with your own unique file name */ +* ~/.config/rofi/themes/ will be replaced. /* ---- Configuration Fonts ---- */ configuration { font: "JetBrainsMono Nerd Font SemiBold 13"; } -/* note: Element-text font and size, edit configs in ~/.local/share/rofi/themes */ +/* note: Element-text font and size, edit configs in ~/.config/rofi/themes/ */ -@theme "~/.local/share/rofi/themes/KooL_style-2-Dark.rasi" +@theme "~/.config/rofi/themes/KooL_style-2-Dark.rasi" -- cgit v1.2.3 From 33ee924887ec706914a1e14487a72b0630f9a4f2 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 15 Feb 2025 22:14:27 +0900 Subject: dang --- config/rofi/config.rasi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/rofi/config.rasi') diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index cda85e8a..b52ef00e 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -11,7 +11,7 @@ * TIPS * If you have edited a config, rename it with a unique name. During update, the contents of -* ~/.config/rofi/themes/ will be replaced. +* ~/.config/rofi/themes/ will be replaced. */ /* ---- Configuration Fonts ---- */ configuration { -- cgit v1.2.3