diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-02-10 01:16:17 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-02-10 01:16:17 +0900 |
| commit | d404c8b6b94d973334a1136223fbf5c412083bdb (patch) | |
| tree | e7394ffef88af10c76c34e1a3df7481ead33cb49 | |
| parent | 752232f326fd82d28dac4107e5bf81818a657903 (diff) | |
Initial upload of various rofi themes
50 files changed, 3128 insertions, 361 deletions
diff --git a/assets/rofi/themes/KooL_LonerOrZ.rasi b/assets/rofi/themes/KooL_LonerOrZ.rasi new file mode 100644 index 00000000..d6a947ba --- /dev/null +++ b/assets/rofi/themes/KooL_LonerOrZ.rasi @@ -0,0 +1,168 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ +/* KooL Style LonerOrZ */ +/* Submitted by https://github.com/lonerOrz */ + + + +configuration { + show-icons: true; + display-drun: "๏"; + drun-display-format: "{icon} {name}"; + disable-history: false; + click-to-exit: true; + location: 0; +} + +/*****----- Global Properties -----*****/ +* { + font: "Iosevka 12"; + + BG: #1E1D2Fff; + BGA: #89DCEBff; + FG: #D9E0EEff; + FGA: #F28FADff; + BDR: #96CDFBff; + SEL: #1E1E2Eff; + UGT: #F28FADff; + IMG: #FAE3B0ff; + OFF: #575268ff; + ON: #ABE9B3ff; +} + +window { + transparency: "real"; + background-color: @BG; + text-color: @FG; + border: 2px; + border-color: @BDR; + border-radius: 10px; + width: 25%; + anchor: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 8px; + background-color: @BG; + text-color: @IMG; +} + +textbox-prompt-colon { + expand: false; + str: "๏"; + border-radius: 100%; + background-color: @SEL; + text-color: @FG; + padding: 8px 12px 8px 12px; + font: "Iosevka Nerd Font 10"; +} + +entry { + background-color: @BG; + text-color: @FG; + placeholder-color: @FG; + expand: true; + horizontal-align: 0; + placeholder: "Search..."; + blink: true; + border: 0px 0px 2px 0px; + border-color: @BDR; + border-radius: 10px; + padding: 8px; +} + +inputbar { + children: [ textbox-prompt-colon, entry ]; + background-color: @BG; + text-color: @FG; + expand: false; + border: 0px 0px 0px 0px; + border-radius: 0px; + border-color: @BDR; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +case-indicator { + background-color: @BG; + text-color: @FG; + spacing: 0; +} + + +listview { + background-color: @BG; + columns: 1; + lines: 7; + spacing: 4px; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @BG; + children: [ inputbar, listview ]; + spacing: 15px; + padding: 15px; +} + +element { + background-color: @BG; + text-color: @FG; + orientation: horizontal; + border-radius: 4px; + padding: 6px 6px 6px 6px; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 24px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 2px 0px 2px 2px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @UGT; + text-color: @FG; + border-radius: 9px; +} + +element normal.active, +element alternate.active { + background-color: @BGA; + text-color: @FG; +} + +element selected { + background-color: @BGA; + text-color: @SEL; + border: 0px 0px 0px 0px; + border-radius: 10px; + border-color: @BDR; +} + +element selected.urgent { + background-color: @UGT; + text-color: @FG; +} + +element selected.active { + background-color: @BGA; + color: @FG; +} diff --git a/config/rofi/master-config.rasi b/assets/rofi/themes/KooL_style-1.rasi index 09032268..786e5b2f 100644 --- a/config/rofi/master-config.rasi +++ b/assets/rofi/themes/KooL_style-1.rasi @@ -1,10 +1,9 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ -/* Master Config 1080p*/ +/* KooL Hyprland Style 1*/ /* ---- Configuration ---- */ configuration { - font: "JetBrainsMono Nerd Font SemiBold 12"; modi: "drun,run,filebrowser"; show-icons: true; display-drun: "Apps"; @@ -12,11 +11,11 @@ configuration { 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"; - window-format: "{w} ยท {c} ยท {t}"; - dpi: 1; } /* ---- Load wallust colors ---- */ @@ -24,11 +23,11 @@ configuration { /* ---- Global Properties ---- */ * { - - background-alt: @selected-active-background; // Buttons background - selected: @selected-urgent-background; // Button selected - active: @selected-normal-background; // Window activated - urgent: @selected; // When hovering the activated window (maybe more?) + font: "JetBrainsMono Nerd Font SemiBold 13"; + background-alt: @color1; + selected: @color12; + active: @color11; + urgent: red; text-selected: @background; text-color: @foreground; @@ -69,7 +68,7 @@ inputbar { padding: 10px 10px 50px 10px; margin: 10px; background-color: transparent; - border-radius: 25px; + border-radius: 20px; orientation: horizontal; children: ["entry", "dummy", "mode-switcher" ]; background-image: url("~/.config/rofi/.current_wallpaper", width); @@ -82,10 +81,10 @@ entry { width: 20%; padding: 10px; border-radius: 12px; - background-color: @selected; + background-color: @color11; text-color: @text-selected; cursor: text; - placeholder: " ๐ฅ๏ธ Search "; // << Search symbol + placeholder: " ๐ฅ๏ธ Search "; placeholder-color: inherit; } @@ -101,17 +100,19 @@ listbox { /* ---- Listview ---- */ listview { enabled: true; - columns: 2; - lines: 6; + columns: 5; + lines: 5; cycle: true; dynamic: true; scrollbar: true; layout: vertical; reverse: false; - fixed-height: false; + fixed-height: true; fixed-columns: true; spacing: 10px; background-color: transparent; + margin: 10px; + text-color: @foreground; // Adapt rofi theme border: 0px; @@ -144,17 +145,20 @@ button selected { /* ---- Scrollbar ---- */ scrollbar { - border: 0; - handle-color: @background-alt; - handle-width: 2px ; + border: 1px; + border-radius: 10px; + border-color: @color12; + handle-color: @color11; + handle-width: 10px ; padding: 0; } /* ---- Elements ---- */ element { enabled: true; - spacing: 10px; + orientation: vertical; padding: 10px; + spacing: 10px; border-radius: 12px; background-color: transparent; cursor: pointer; @@ -176,9 +180,9 @@ element normal.active { element selected.normal { border: 0px 3px 0px 3px; border-radius: 16px; - border-color: @selected; + border-color: @active; background-color: transparent; - text-color: @background-alt; + text-color: @selected; } element selected.urgent { @@ -203,17 +207,18 @@ element alternate.active { text-color: inherit; } element-icon { + size: 3%; background-color: transparent; text-color: inherit; cursor: inherit; } element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 11"; background-color: transparent; text-color: inherit; cursor: inherit; vertical-align: 0.5; - horizontal-align: 0.0; + horizontal-align: 0.5; } /* ---- Message ---- */ @@ -224,14 +229,14 @@ message { textbox { padding: 12px; border-radius: 10px; - background-color: @background-alt; - text-color: @background; + background-color: @background; + text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; } error-message { padding: 12px; border-radius: 20px; - background-color: @background-alt; - text-color: @background; + background-color: @background; + text-color: @foreground; } diff --git a/assets/rofi/themes/KooL_style-10-Fancy.rasi b/assets/rofi/themes/KooL_style-10-Fancy.rasi new file mode 100644 index 00000000..80203b6f --- /dev/null +++ b/assets/rofi/themes/KooL_style-10-Fancy.rasi @@ -0,0 +1,288 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ +/* KooL Hyprland Style 10 - Fancy */ +/* Credit to DaveDavenport. I have only some few things changed */ + +/******************************************************************************* + * ROFI Color theme + * Theme designed to show off moving, packing of widgets, icons and more. + * User: DaveDavenport + * Copyright: DaveDavenport + ********************************************************************************/ + +/* ---- Configuration ---- */ + +configuration { + font: "JetBrainsMono Nerd Font SemiBold 13"; + modi: "drun,run,filebrowser"; + show-icons: true; + drun-display-format: "{name}"; + window-format: "{w} ยท {c} ยท {t}"; + dpi: 1; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; +} + +* { + selected-normal-foreground: rgba ( 248, 248, 242, 100 % ); + foreground: rgba ( 248, 248, 242, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 39, 40, 34, 0 % ); + selected-urgent-foreground: rgba ( 248, 248, 242, 100 % ); + urgent-foreground: rgba ( 249, 38, 114, 100 % ); + alternate-urgent-background: rgba ( 39, 40, 34, 0 % ); + active-foreground: rgba ( 166, 226, 42, 100 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 166, 226, 42, 100 % ); + alternate-active-background: rgba ( 39, 40, 34, 0 % ); + background: rgba ( 39, 40, 34, 93 % ); + bordercolor: rgba ( 0, 43, 54, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 39, 40, 34, 0 % ); + selected-normal-background: rgba ( 20, 20, 17, 100 % ); + separatorcolor: rgba ( 230, 219, 116, 100 % ); + urgent-background: rgba ( 39, 40, 34, 0 % ); + selected-urgent-background: rgba ( 249, 38, 114, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: transparent; + alternate-active-foreground: @active-foreground; + active-background: rgba ( 39, 40, 34, 0 % ); + selected-active-background: rgba ( 20, 20, 17, 100 % ); +} +window { + border-color: darkgray/30%; + background-color: black/50%; + border: 2px; + padding: 0px; + border-radius: 10px; + padding: 0.5em; + spacing: 0px; + + anchor: north; + location: center; + y-offset: -15.5em; + + + children: [ inputbar, message, wrapper-mode-switcher, listview , pagerbox ]; +} + + +pagerbox { + expand: false; + orientation: horizontal; + children: [ icon-left, pad, icon-right ]; +} + +pad { + expand: true; +} + +icon-left { + expand: false; + filename: "go-previous"; + size: 24; + vertical-align: 0.5; + action: "kb-page-prev"; +} + +icon-right { + expand: false; + filename: "go-next"; + size: 24; + vertical-align: 0.5; + action: "kb-page-next"; +} + +wrapper-mode-switcher { + orientation: horizontal; + + expand: false; + spacing: 0; + children: [ icon-ms-ic1, mode-switcher, icon-ms-ic2 ]; +} +icon-ms-ic1 { + filename: "go-previous"; +} +icon-ms-ic2 { + filename: "go-next"; +} +icon-ms-ic1,icon-ms-ic2 { + size: 16; + vertical-align: 0.8; + expand: false; + border: 0px 0px 2px ; + border-color: @separatorcolor; +} + +mode-switcher { + border: 0px; + spacing: 0px; + expand: true; +} + +button { + padding: 2px; + border: 0px 0px 2px ; + border-color: @separatorcolor; + text-color: dimgrey; +} +button selected.normal { + text-color: white; + background-color: black/50%; + + border: 2px 2px 0px ; + border-color: @separatorcolor; + border-radius: 10px 10px 0 0; +} + + +sidebar { + expand: false; +} + +message { + text-color: black; + background-color: lightgrey / 50%; + border-color: grey; + border: 2px; + border-radius: 5px; + padding: 4px; + margin: 0px 0px 0.5em; + expand: false; +} + +listview { + enabled: true; + columns: 2; + lines: 10; + spacing: 2px ; + scrollbar: false; + padding: 0.5em; + background-color: black/50%; + + expand: true; + border: 0px 2px 2px ; + border-color: @separatorcolor; + border-radius: 0px 0px 10px 10px; +} +element { + border: 1; + border-color: transparent; + padding: 4px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + border: 1; + border-color: grey/80%; + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + border: 1; + border-color: grey/80%; + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + border: 1; + border-color: grey/80%; + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +sidebar { + border: 2px 0px 0px ; + border-color: @separatorcolor; +} +inputbar { + text-color: @normal-foreground; + padding: 0px 0px 0.5em; +} +case-indicator { + text-color: @normal-foreground; +} + +wrapper { + orientation: horizontal; + text-color: black; + background-color: white / 70%; + border-color: grey; + + border: 2px; + border-radius: 5px; + padding: 4px; + children: [ icon-k, entry, icon-paste]; + spacing: 0.5em; +} +button-paste { + expand: false; + str: "gtk-paste"; + size: 24; + vertical-align: 0.5; + action: "kb-cancel"; +} +icon-paste { + expand: false; + filename: "gtk-paste"; + size: 24; + vertical-align: 0.5; + action: "kb-primary-paste"; +} +icon-k { + expand: false; + filename: "input-keyboard"; + size: 24; + vertical-align: 0.5; + +} +entry { + enabled: true; + expand: true; + placeholder: " ๐ฅ๏ธ Search "; + vertical-align: 0.5; +} +inputbar { + children: [ wrapper ]; +} + +error-message { + background-color: darkred/10%; + border-color: darkred; + border-radius: 10px; + border: 2px; + padding: 0.5em; + +} + diff --git a/assets/rofi/themes/KooL_style-2-Dark.rasi b/assets/rofi/themes/KooL_style-2-Dark.rasi new file mode 100644 index 00000000..934ea657 --- /dev/null +++ b/assets/rofi/themes/KooL_style-2-Dark.rasi @@ -0,0 +1,177 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ +/* KooL Style 2 Dark */ +/* Source: https://github.com/adi1090x/rofi */ + + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOW"; + drun-display-format: "{name}\n[<span weight='light' size='small'><i>({generic})</i></span>]"; + window-format: "Class : {c}\nWorkspace : {w}"; + dpi: 1; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrainsMono Nerd Font SemiBold 13"; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 60%; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border-radius: 12px; + cursor: "default"; + background-color: transparent; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 10px; + padding: 40px; + border-radius: 12px; + background-color: black/90%; + children: [ "inputbar", "mode-switcher", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px 0px 10px 0px; + border: 0px 0px 2px 0px; + border-radius: 0px; + border-color: gray/20%; + background-color: transparent; + children: [ "entry" ]; +} + +entry { + enabled: true; + background-color: transparent; + text-color: dimgray; + cursor: text; + placeholder: "Type to search"; + placeholder-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 3; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 40px; + margin: 0px; + padding: 20px 0px 0px 0px; + border: 0px solid; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 15px; + border: 1px solid; + border-radius: 8px; + border-color: white/30%; + background-color: black; + text-color: white; + cursor: pointer; +} +element normal.active { + background-color: #67FF80; + text-color: black; +} +element selected.normal { + background-color: #c19419; + text-color: black; +} +element selected.active { + background-color: #FF7F7C; + text-color: white; +} +element-icon { + background-color: transparent; + size: 48px; + cursor: inherit; +} +element-text { + background-color: inherit; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + expand: false; + spacing: 20px; + margin: 0px 10%; + background-color: transparent; + text-color: white; +} +button { + font: "JetBrainsMono Nerd Font SemiBold 10"; + padding: 6px; + border: 0px solid; + border-radius: 100%; + background-color: #719DF9; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: #F37277; + text-color: inherit; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + background-color: transparent; + text-color: white; +} +textbox { + padding: 20px; + border-radius: 12px; + background-color: black/30%; + text-color: white; + vertical-align: 0.5; + horizontal-align: 0.0; +} diff --git a/assets/rofi/themes/KooL_style-2-Light.rasi b/assets/rofi/themes/KooL_style-2-Light.rasi new file mode 100644 index 00000000..3cd9266d --- /dev/null +++ b/assets/rofi/themes/KooL_style-2-Light.rasi @@ -0,0 +1,177 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ +/* KooL Style 2 Light */ +/* credit: https://github.com/adi1090x/rofi */ + + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOW"; + drun-display-format: "{name}\n[<span weight='light' size='small'><i>({generic})</i></span>]"; + window-format: "Class : {c}\nWorkspace : {w}"; + dpi: 1; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrainsMono Nerd Font SemiBold 13"; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 60%; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border-radius: 12px; + cursor: "default"; + background-color: transparent; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 10px; + padding: 40px; + border-radius: 12px; + background-color: white/90%; + children: [ "inputbar", "mode-switcher", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px 0px 10px 0px; + border: 0px 0px 2px 0px; + border-radius: 0px; + border-color: gray/20%; + background-color: transparent; + children: [ "entry" ]; +} + +entry { + enabled: true; + background-color: transparent; + text-color: black; + cursor: text; + placeholder: "Type to search"; + placeholder-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 3; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 40px; + margin: 0px; + padding: 20px 0px 0px 0px; + border: 0px solid; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 15px; + border: 1px solid; + border-radius: 8px; + border-color: gray/30%; + background-color: white; + text-color: black; + cursor: pointer; +} +element normal.active { + background-color: #67FF80; + text-color: black; +} +element selected.normal { + background-color: #FDD66F; + text-color: black; +} +element selected.active { + background-color: #FF7F7C; + text-color: black; +} +element-icon { + background-color: transparent; + size: 48px; + cursor: inherit; +} +element-text { + background-color: inherit; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + expand: false; + spacing: 20px; + margin: 0px 10%; + background-color: transparent; + text-color: white; +} +button { + font: "JetBrainsMono Nerd Font SemiBold 10"; + padding: 6px; + border: 0px solid; + border-radius: 100%; + background-color: #719DF9; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: #F37277; + text-color: inherit; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + background-color: transparent; + text-color: black; +} +textbox { + padding: 20px; + border-radius: 12px; + background-color: white/30%; + text-color: black; + vertical-align: 0.5; + horizontal-align: 0.0; +} diff --git a/config/rofi/resolution/1440p/master-config.rasi b/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi index 96cb83a1..7ca3d4bf 100644 --- a/config/rofi/resolution/1440p/master-config.rasi +++ b/assets/rofi/themes/KooL_style-3-FullScreen-v1.rasi @@ -1,10 +1,10 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ -/* Master Config 1440p*/ +/* KooL Hyprland v2.3.10 (latest) - Default Config */ /* ---- Configuration ---- */ configuration { - font: "JetBrainsMono Nerd Font SemiBold 12"; + font: "JetBrainsMono Nerd Font SemiBold 13"; modi: "drun,run,filebrowser"; show-icons: true; display-drun: "Apps"; @@ -12,11 +12,11 @@ configuration { 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"; - window-format: "{w} ยท {c} ยท {t}"; - dpi: 1; } /* ---- Load wallust colors ---- */ @@ -35,11 +35,24 @@ configuration { border-color: @selected; } +/* ---- Global Properties ---- */ +* { + main-bg: @background; + main-fg: @foreground; + main-br: @color12; + main-ex: @color11; + select-bg: @foreground; + select-fg: @background; + separatorcolor: transparent; + border-color: transparent; +} + + /* ---- Window ---- */ window { // Default enabled: true; - fullscreen: false; + fullscreen: true; transparency: "real"; cursor: "default"; spacing: 0px; @@ -49,7 +62,6 @@ window { anchor: center; // Style Values - width: 50%; background-color: @background; } @@ -85,7 +97,7 @@ entry { background-color: @selected; text-color: @text-selected; cursor: text; - placeholder: " ๐ฅ๏ธ Search "; // << Search symbol + placeholder: " ๐ฅ๏ธ Search "; placeholder-color: inherit; } @@ -101,17 +113,18 @@ listbox { /* ---- Listview ---- */ listview { enabled: true; - columns: 2; - lines: 6; + columns: 5; + lines: 5; cycle: true; dynamic: true; scrollbar: true; layout: vertical; reverse: false; - fixed-height: false; + fixed-height: true; fixed-columns: true; spacing: 10px; background-color: transparent; + margin: 10px; // Adapt rofi theme border: 0px; @@ -153,8 +166,9 @@ scrollbar { /* ---- Elements ---- */ element { enabled: true; - spacing: 10px; + orientation: vertical; padding: 10px; + spacing: 10px; border-radius: 12px; background-color: transparent; cursor: pointer; @@ -203,17 +217,17 @@ element alternate.active { text-color: inherit; } element-icon { + size: 5%; background-color: transparent; text-color: inherit; cursor: inherit; } element-text { - font: "JetBrainsMono Nerd Font SemiBold 14"; background-color: transparent; text-color: inherit; cursor: inherit; vertical-align: 0.5; - horizontal-align: 0.0; + horizontal-align: 0.5; } /* ---- Message ---- */ diff --git a/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi b/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi new file mode 100644 index 00000000..6f1a3cef --- /dev/null +++ b/assets/rofi/themes/KooL_style-3-Fullscreen-v2.rasi @@ -0,0 +1,209 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ + +/* credit: https://github.com/adi1090x/rofi */ + +/*****----- Configuration -----*****/ +configuration { + font: "JetBrainsMono Nerd Font SemiBold 13"; + modi: "drun,run,filebrowser"; + show-icons: true; + display-drun: "๏ Apps"; + display-run: "๏ Run"; + display-filebrowser: "๏ป Files"; + display-window: "๏ Windows"; + display-ssh: "๏ SSH"; + drun-display-format: "{name}"; + window-format: "{w} ยท {c} ยท {t}"; + dpi: 1; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; +} + +/* ---- Load wallust colors ---- */ +@theme "~/.config/rofi/wallust/colors-rofi.rasi" + +/*****----- Global Properties -----*****/ +* { + background-alt: @color7; + selected: @color12; + active: @color11; + urgent: red; + + border-color: @selected; + handle-color: @selected; + background-color: @background; + foreground-color: @foreground; + alternate-background: @background-alt; + normal-background: @background; + normal-foreground: @foreground; + urgent-background: @urgent; + urgent-foreground: @background; + active-background: @active; + active-foreground: @background; + selected-normal-background: @selected; + selected-normal-foreground: @background; + selected-urgent-background: @active; + selected-urgent-foreground: @background; + selected-active-background: @urgent; + selected-active-foreground: @background; + alternate-normal-background: @background; + alternate-normal-foreground: @foreground; + alternate-urgent-background: @urgent; + alternate-urgent-foreground: @background; + alternate-active-background: @active; + alternate-active-foreground: @background; + + +} + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 100px; + margin: 0px; + padding: 100px 225px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0% 28%; + padding: 10px; + border: 1px solid; + border-radius: 6px; + border-color: white / 25%; + background-color: white / 5%; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: transparent; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: transparent; + text-color: inherit; +} +entry { + enabled: true; + background-color: transparent; + text-color: @foreground; + cursor: text; + placeholder: " Search"; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 7; + lines: 4; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 35px 10px; + border: 0px solid; + border-radius: 15px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + background-color: white / 10%; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 72px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 100px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + text-color: @foreground; +} +textbox { + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/assets/rofi/themes/KooL_style-4.rasi b/assets/rofi/themes/KooL_style-4.rasi new file mode 100644 index 00000000..fb25db61 --- /dev/null +++ b/assets/rofi/themes/KooL_style-4.rasi @@ -0,0 +1,324 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ + +/* credit: https://github.com/adi1090x/rofi */ + +/*****----- Configuration -----*****/ +configuration { + font: "JetBrainsMono Nerd Font SemiBold 13"; + modi: "drun,run,filebrowser"; + show-icons: true; + display-drun: "๏ Apps"; + display-run: "๏ Run"; + display-filebrowser: "๏ป Files"; + display-window: "๏ Window"; + display-ssh: "๏ SSH"; + drun-display-format: "{name}"; + window-format: "{w} ยท {c} ยท {t}"; + dpi: 1; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; +} + +/* ---- Load wallust colors ---- */ +@theme "~/.config/rofi/wallust/colors-rofi.rasi" + +/*****----- Global Properties -----*****/ +* { + background-alt: @color1; + selected: @color12; + active: @color11; + urgent: #F7768E; + + border-color: @color11; + handle-color: @selected; + background-color: @background; + foreground-color: @foreground; + alternate-background: @background-alt; + normal-background: @background; + normal-foreground: @foreground; + urgent-background: @urgent; + urgent-foreground: @background; + active-background: @active; + active-foreground: @background; + selected-normal-background: @selected; + selected-normal-foreground: @background; + selected-urgent-background: @active; + selected-urgent-foreground: @background; + selected-active-background: @urgent; + selected-active-foreground: @color12; + alternate-normal-background: @background; + alternate-normal-foreground: @foreground; + alternate-urgent-background: @urgent; + alternate-urgent-foreground: @background; + alternate-active-background: @active; + alternate-active-foreground: @background; + + +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 35%; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 10px; + border-color: @border-color; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-color; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-color; + background-color: transparent; + children: [ "inputbar", "message", "custombox" ]; +} + +/*****----- A Custom Box -----*****/ +custombox { + spacing: 0px; + background-color: @background-color; + text-color: @foreground-color; + orientation: horizontal; + children: [ "mode-switcher", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 8px 12px; + border: 0px solid; + border-radius: 8px; + border-color: @border-color; + background-color: @alternate-background; + text-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + padding: 5px 0px; + expand: false; + str: " ๐"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 5px 0px; + background-color: inherit; + text-color: @foreground; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 10px; + border: 2px 2px 2px 2px; + border-radius: 8px; + border-color: @border-color; + background-color: transparent; + text-color: @foreground-color; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-color; + border-radius: 10px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 8px; + border-color: @border-color; + background-color: transparent; + text-color: @foreground-color; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @normal-foreground; +} +element normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element normal.active { + background-color: transparent; + text-color: @active-foreground; +} +element selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + expand: false; + orientation: vertical; + spacing: 0px; + margin: 0px; + padding: 0px 0px; + border: 0px solid; + border-radius: 8px 0px 0px 8px; + border-color: @border-color; + background-color: @alternate-background; + text-color: @foreground-color; +} +button { + padding: 0px 20px 0px 20px; + border: 0px 0px 0px 0px; + border-radius: 8px; + border-color: @border-color; + background-color: transparent; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; + cursor: pointer; +} +button selected { + border: 2px 0px 2px 2px; + border-radius: 6px; + border-color: @border-color; + background-color: @selected-normal-foreground; + text-color: @selected-normal-background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-color; + background-color: transparent; + text-color: @foreground-color; +} +textbox { + padding: 12px; + border: 0px solid; + border-radius: 8px; + border-color: @border-color; + background-color: @alternate-background; + text-color: @foreground-color; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-color; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 2px solid; + border-radius: 8px; + border-color: @border-color; + background-color: @background-color; + text-color: @foreground-color; +} diff --git a/assets/rofi/themes/KooL_style-5.rasi b/assets/rofi/themes/KooL_style-5.rasi new file mode 100644 index 00000000..234567bc --- /dev/null +++ b/assets/rofi/themes/KooL_style-5.rasi @@ -0,0 +1,259 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ +/* KooL Hyprland v2.1.13 (old) - Default Config */ + +/* ---- Configuration ---- */ +configuration { + font: "JetBrainsMono Nerd Font SemiBold 13"; + modi: "drun,run,filebrowser"; + show-icons: true; + display-drun: "Apps"; + display-run: "Run"; + display-filebrowser: "Files"; + display-window: "Windows"; + drun-display-format: "{name}"; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; + window-format: "{w} ยท {c} ยท {t}"; + dpi: 1; +} + + +/* ---- Load wallust colors ---- */ +@theme "~/.config/rofi/wallust/colors-rofi.rasi" + +/* ---- Global Properties ---- */ +* { + + background-alt: @color1; + selected: @color12; + active: @color11; + urgent: red; + + text-selected: @background; + text-color: @foreground; + border-color: @selected; +} + +/* ---- Window ---- */ +window { + width: 800px; + /*height: 450px;*/ + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 1px; + margin: 0px; + border: 2px; + border-color: @active-background; + cursor: "default"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 12px; + background-color: @background-color; +} + +/* ---- Mainbox ---- */ +mainbox { + enabled: true; + orientation: vertical; + padding: 8px; + background-image: url("~/.config/rofi/.current_wallpaper", width); + children: [ "inputbar", "listbox" ]; + border-radius: 12px; +} + +/* ---- Imagebox ---- */ +imagebox { + background-color: transparent; + orientation: vertical; + /*children: [ "inputbar"];*/ +} + +/* ---- Listbox ---- */ +listbox { + spacing: 4px; + orientation: vertical; + children: [ "listview" ]; + padding: 10px; + border-radius: 12px; + border: 1px; + border-color: @active-background; + background-color: @background; +} + +/* ---- Dummy ---- */ +dummy { + background-color: transparent; +} + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + text-color: @foreground; + spacing: 10px; + border-radius: 12px; + border-color: @foreground; + background-color: @background; + children: [ "mode-switcher", "textbox-prompt-colon", "entry" ]; + border: 1px; + border-color: @active-background; +} + +textbox-prompt-colon { + enabled: true; + padding: 10px 0px 10px 10px; + expand: false; + str: "๐ง"; + text-color: inherit; + background-color: transparent; +} + +entry { + enabled: true; + padding: 10px 0px 10px 0px; + text-color: @foreground; + cursor: text; + placeholder: " Search"; + placeholder-color: inherit; + background-color: transparent; +} + +/* ---- Mode Switcher ---- */ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; + text-color: @foreground; +} + +button { + padding: 2px 24px 2px 24px; + border-radius: 12px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 1px; + border-color: @active-background; +} + +button selected { + background-color: @color12; + text-color: @foreground; + border: 1px; + border-color: transparent; + +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 2; + lines: 6; + spacing: 5px; + padding: 6px; + dynamic: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: false; + background-color: transparent; + border-radius: 12px; + border: 0px; +} + +/* ---- Element ---- */ +element { + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: transparent; + border-radius: 12px; + border: 0px; +} + +element normal.normal { + background-color: inherit; + text-color: inherit; +} + +element normal.urgent { + background-color: inherit; + text-color: inherit; +} + +element normal.active { + background-color: inherit; + text-color: inherit; +} + +element selected.normal { + background-color: @color11; + text-color: inherit; +} + +element selected.urgent { + background-color: inherit; + text-color: inherit; +} + +element selected.active { + background-color: inherit; + text-color: inherit; +} + +element alternate.normal { + background-color: inherit; + text-color: inherit; +} + +element alternate.urgent { + background-color: inherit; + text-color: @foreground; +} + +element alternate.active { + background-color: inherit; + text-color: inherit; +} + +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} + +element-text { + font: "JetBrainsMono Nerd Font SemiBold 10"; + background-color: transparent; + text-color: @foreground; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0; +} + +/* ---- Message ---- */ +message { + background-color: transparent; + border: 0px; +} +textbox { + padding: 12px; + border-radius: 10px; + background-color: @background-alt; + text-color: @background; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 20px; + background-color: @background-alt; + text-color: @background; +}
\ No newline at end of file diff --git a/config/rofi/resolution/1080p/master-config.rasi b/assets/rofi/themes/KooL_style-6.rasi index 09032268..f6b1307b 100644 --- a/config/rofi/resolution/1080p/master-config.rasi +++ b/assets/rofi/themes/KooL_style-6.rasi @@ -1,22 +1,22 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ -/* Master Config 1080p*/ +/* KooL Hyprland v2.2.10 (old) - Default Config */ /* ---- Configuration ---- */ configuration { - font: "JetBrainsMono Nerd Font SemiBold 12"; - modi: "drun,run,filebrowser"; + modi: "drun,run,filebrowser"; + font: "Fira Code SemiBold 13"; show-icons: true; display-drun: "Apps"; display-run: "Run"; display-filebrowser: "Files"; display-window: "Windows"; - drun-display-format: "{name}"; - hover-select: true; - me-select-entry: "MouseSecondary"; + drun-display-format: "{name}"; + hover-select: true; + me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; - window-format: "{w} ยท {c} ยท {t}"; - dpi: 1; + window-format: "{w} ยท {c} ยท {t}"; + dpi: 1; } /* ---- Load wallust colors ---- */ @@ -25,10 +25,10 @@ configuration { /* ---- Global Properties ---- */ * { - background-alt: @selected-active-background; // Buttons background - selected: @selected-urgent-background; // Button selected - active: @selected-normal-background; // Window activated - urgent: @selected; // When hovering the activated window (maybe more?) + background-alt: @color1; + selected: @color12; + active: @color11; + urgent: red; text-selected: @background; text-color: @foreground; @@ -43,19 +43,18 @@ window { transparency: "real"; cursor: "default"; spacing: 0px; - border: 3px 0px 3px 0px; + border: 2px; border-radius: 30px; location: center; anchor: center; // Style Values width: 50%; - background-color: @background; + background-color: #00000099; } /* ----- Main Box ----- */ mainbox { - padding: 12px; enabled: true; orientation: vertical; children: [ "inputbar", "listbox" ]; @@ -66,7 +65,7 @@ mainbox { /* ---- Inputbar ---- */ inputbar { enabled: true; - padding: 10px 10px 50px 10px; + padding: 10px 10px 150px 10px; margin: 10px; background-color: transparent; border-radius: 25px; @@ -79,13 +78,13 @@ inputbar { entry { enabled: true; expand: false; - width: 20%; + width: 300px; padding: 10px; border-radius: 12px; - background-color: @selected; - text-color: @text-selected; + background-color: @background; + text-color: inherit; cursor: text; - placeholder: " ๐ฅ๏ธ Search "; // << Search symbol + placeholder: "๏ Search "; // << Search symbol placeholder-color: inherit; } @@ -105,12 +104,13 @@ listview { lines: 6; cycle: true; dynamic: true; - scrollbar: true; + scrollbar: false; layout: vertical; reverse: false; - fixed-height: false; + fixed-height: true; fixed-columns: true; spacing: 10px; + padding: 10px; background-color: transparent; // Adapt rofi theme @@ -133,29 +133,22 @@ button { width: 5%; padding: 12px; border-radius: 12px; - background-color: @text-selected; - text-color: @text-color; + background-color: @background; + text-color: inherit; cursor: pointer; } button selected { - background-color: @selected; + background-color: @color11; text-color: @text-selected; } -/* ---- Scrollbar ---- */ -scrollbar { - border: 0; - handle-color: @background-alt; - handle-width: 2px ; - padding: 0; -} /* ---- Elements ---- */ element { enabled: true; spacing: 10px; - padding: 10px; - border-radius: 12px; + padding: 4px; + border-radius: 10px; background-color: transparent; cursor: pointer; } @@ -174,13 +167,9 @@ element normal.active { } element selected.normal { - border: 0px 3px 0px 3px; - border-radius: 16px; - border-color: @selected; - background-color: transparent; - text-color: @background-alt; + background-color: @color11; + text-color: @text-selected; } - element selected.urgent { background-color: @urgent; text-color: @text-selected; @@ -205,33 +194,35 @@ element alternate.active { element-icon { background-color: transparent; text-color: inherit; + size: 36px; cursor: inherit; } element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; background-color: transparent; + font: "Fira Code SemiBold 12"; text-color: inherit; cursor: inherit; vertical-align: 0.5; horizontal-align: 0.0; + } /* ---- Message ---- */ message { - background-color: transparent; + background-color: @background; border: 0px; } textbox { padding: 12px; border-radius: 10px; - background-color: @background-alt; - text-color: @background; + background-color: @background; + text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; } error-message { padding: 12px; border-radius: 20px; - background-color: @background-alt; - text-color: @background; + background-color: @background; + text-color: @foreground; } diff --git a/assets/rofi/themes/KooL_style-7.rasi b/assets/rofi/themes/KooL_style-7.rasi new file mode 100644 index 00000000..4032390a --- /dev/null +++ b/assets/rofi/themes/KooL_style-7.rasi @@ -0,0 +1,190 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ +/* KooL 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: "๏ฒโ"; + display-run: "๏ โ"; + display-filebrowser: "๏ผโ"; + display-window: "๏โ"; + drun-display-format: "{name}"; + dpi: 1; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; +} + +/* ---- Load wallust colors ---- */ +@theme "~/.config/rofi/wallust/colors-rofi.rasi" + + +/*****----- Global Properties -----*****/ +* { + background-alt: @color1; + selected: @color12; + active: @color11; + urgent: #8E3596; +} +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + background-color: @background-alt; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 40px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + children: [ "entry" ]; +} + +prompt { + enabled: true; + padding: 15px; + border-radius: 100%; + background-color: @selected; + text-color: @background; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ":::"; + padding: 15px; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 15px 0px; + background-color: inherit; + text-color: @foreground; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: horizontal; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + border-radius: 10%; + background-color: @color11; + text-color: @foreground; +} +element-icon { + padding: 0px; + border-radius: 100%; + background-color: transparent; + text-color: inherit; + size: 5%; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + border: 2px solid; + border-radius: 20px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/assets/rofi/themes/KooL_style-8.rasi b/assets/rofi/themes/KooL_style-8.rasi new file mode 100644 index 00000000..00e5c9cf --- /dev/null +++ b/assets/rofi/themes/KooL_style-8.rasi @@ -0,0 +1,233 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ +/* KooL Hyprland - Style 13 */ + + +/* ---- Configuration ---- */ +configuration { + modi: "drun,filebrowser,window,run"; + font: "JetBrainsMono Nerd Font SemiBold 13"; + show-icons: true; + display-drun: "๏ฒโ apps"; + display-run: "๏ โ term"; + display-filebrowser: " ๏ผโ file"; + display-window: " ๏โ window"; + drun-display-format: "{name}"; + window-format: "{w} ยท {c} ยท {t}"; + dpi: 1; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; +} + +/* ---- Load wallust colors ---- */ +@theme "~/.config/rofi/wallust/colors-rofi.rasi" + +/* ---- Global Properties ---- */ +* { + + border-width: 2px; + border-radius: 12px; +} + +/* ---- Window ---- */ +window { + width: 50%; + transparency: "real"; + fullscreen: false; + enabled: true; + cursor: "default"; + spacing: 0em; + padding: 0em; + border: @border-width; + border-color: @color12; + border-radius: @border-radius; + background-color: @background; +} + +mainbox { + enabled: true; + spacing: 0em; + padding: 0em; + orientation: vertical; + children: [ "inputbar" , "mode-switcher", "listbox" ]; + background-color: transparent; +} + + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + spacing: 0em; + padding: 4em; + children: [ "textbox-prompt-colon", "entry" ]; + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", width); +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: " โก๏ธ"; + padding: 1em 0.2em 0em 0em; + text-color: @foreground; + border-radius: 2em 0em 0em 2em; + background-color: @background; +} + +entry { + enabled: true; + border-radius: 0em 2em 2em 0em; + spacing: 1em; + padding: 1em; + background-color: @background; + text-color: @foreground; + cursor: text; + placeholder: " Search"; + placeholder-color: inherit; +} + +/* ---- Listbox ---- */ +listbox { + padding: 0em; + spacing: 0em; + orientation: horizontal; + children: [ "listview" ]; + background-color: @background; +} + +/* ---- Listview ---- */ +listview { + padding: 1.5em; + spacing: 0.5em; + enabled: true; + columns: 2; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + cursor: "default"; + background-color: transparent; +} + + +/* ---- Mode Switcher ---- */ +mode-switcher { + orientation: horizontal; + width: 1em; + enabled: true; + padding: 1em; + spacing: 0em; + background-color: transparent; +} + +button { + cursor: pointer; + border-radius: 2em; + background-color: @background; + text-color: @foreground; +} + +button selected { + background-color: @color12; + text-color: @foreground; +} + +/* ---- Scrollbar ---- */ +scrollbar { + border: @border-width; + border-color: @color11; + handle-color: @color12; + handle-width: 10px ; + padding: 0; +} + + +/* ---- Elements ---- */ +element { + enabled: true; + spacing: 0em; + padding: 0.5em; + cursor: pointer; + background-color: transparent; + text-color: @foreground; +} + +element selected.normal { + background-color: @color11; + text-color: @foreground; + border-radius: 1.5em; +} + +element normal.normal { + background-color: inherit; + text-color: @foreground; +} + +element normal.urgent { + background-color: inherit; + text-color: @foreground; +} + +element normal.active { + background-color: inherit; + text-color: @foreground; +} + +element selected.urgent { + background-color: inherit; + text-color: @foreground; +} + +element selected.active { + background-color: inherit; + text-color: @foreground; +} + +element alternate.normal { + background-color: inherit; + text-color: @foreground; +} + +element alternate.urgent { + background-color: inherit; + text-color: @foreground; +} + +element alternate.active { + background-color: inherit; + text-color: @foreground; +} + +element-icon { + size: 2em; + cursor: inherit; + background-color: transparent; + text-color: inherit; +} + +element-text { + vertical-align: 0.5; + horizontal-align: 0.0; + cursor: inherit; + background-color: transparent; + text-color: inherit; +} + +/* ---- Message ---- */ +error-message { + text-color: @foreground; + background-color: @background; + text-transform: capitalize; + children: [ "textbox" ]; +} + +textbox { + text-color: inherit; + background-color: inherit; + 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 new file mode 100644 index 00000000..f0a7d9e6 --- /dev/null +++ b/assets/rofi/themes/KooL_style_11-Win11-list-dark.rasi @@ -0,0 +1,130 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ +/* KooL Style 10 - Windows 11 List Dark */ +/* 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"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrainsMono Nerd Font SemiBold 13"; + + bg0 : black/50%; + bg1 : black/40%; + bg2 : black/10%; + bg3 : black; + fg0 : #ffffff; + fg1 : #cecece; + accent : #60cdff; + urgent : @accent; + + background-color : transparent; + text-color : @fg0; + + margin : 0; + padding : 0; + spacing : 0; +} + +element-icon, element-text, scrollbar { + cursor: pointer; +} + +window { + location : south; + width : 40%; + height : 50%; + y-offset : -10px; + + background-color : @bg1; + border-radius : 8px; +} + +mainbox { + padding : 24px; + spacing : 24px; +} + +inputbar { + padding : 8px; + spacing : 4px; + children : [ icon-search, entry ]; + border : 0 0 2px 0 solid; + border-color : @accent; + border-radius : 2px; + background-color : @bg0; +} + +icon-search, entry, element-icon, element-text { + vertical-align: 0.5; +} + +icon-search { + expand : false; + filename : "search-symbolic"; + size : 24px; +} + +entry { + placeholder : "Type here to search"; + text-color : @fg1; +} + +textbox { + padding : 4px 8px; + background-color : @bg2; +} + +listview { + columns : 2; + spacing : 8px; + fixed-height : true; + fixed-columns : true; +} + +element { + font: "JetBrainsMono Nerd Font SemiBold 11"; + spacing : 1em; + padding : 8px; + border-radius : 2px; +} + +element normal urgent { + text-color: @urgent; +} + +element normal active { + text-color: @accent; +} + +element alternate active { + text-color: @accent; +} + +element selected active { + text-color: @accent; +} + +element selected { + background-color: @bg3; +} + +element selected urgent { + background-color: @urgent; +} + +element-icon { + size: 1.5em; +} + +element-text { + text-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 new file mode 100644 index 00000000..65809c4d --- /dev/null +++ b/assets/rofi/themes/KooL_style_11-Win11-list-light.rasi @@ -0,0 +1,130 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ +/* KooL Style 10 - 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"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrainsMono Nerd Font SemiBold 13"; + + bg0 : #ffffff80; + bg1 : #f9f9f9bf; + bg2 : #f7f7f7; + bg3 : #fefefebf; + fg0 : #1a1a1a; + fg1 : #5f5f5f; + accent : #005fb8; + urgent : @accent; + + background-color : transparent; + text-color : @fg0; + + margin : 0; + padding : 0; + spacing : 0; +} + +element-icon, element-text, scrollbar { + cursor: pointer; +} + +window { + location : south; + width : 40%; + height : 50%; + y-offset : -10px; + + background-color : @bg1; + border-radius : 8px; +} + +mainbox { + padding : 24px; + spacing : 24px; +} + +inputbar { + padding : 8px; + spacing : 4px; + children : [ icon-search, entry ]; + border : 0 0 2px 0 solid; + border-color : @accent; + border-radius : 2px; + background-color : @bg0; +} + +icon-search, entry, element-icon, element-text { + vertical-align: 0.5; +} + +icon-search { + expand : false; + filename : "search-symbolic"; + size : 24px; +} + +entry { + placeholder : "Type here to search"; + placeholder-color : @fg1; +} + +textbox { + padding : 4px 8px; + background-color : @bg2; +} + +listview { + columns : 2; + spacing : 8px; + fixed-height : true; + fixed-columns : true; +} + +element { + font: "JetBrainsMono Nerd Font SemiBold 11"; + spacing : 1em; + padding : 8px; + border-radius : 2px; +} + +element normal urgent { + text-color: @urgent; +} + +element normal active { + text-color: @accent; +} + +element alternate active { + text-color: @accent; +} + +element selected active { + text-color: @accent; +} + +element selected { + background-color: @bg3; +} + +element selected urgent { + background-color: @urgent; +} + +element-icon { + size: 1.5em; +} + +element-text { + text-color: inherit; +} diff --git a/assets/rofi/themes/KooL_style_9.rasi b/assets/rofi/themes/KooL_style_9.rasi new file mode 100644 index 00000000..d09e58e2 --- /dev/null +++ b/assets/rofi/themes/KooL_style_9.rasi @@ -0,0 +1,190 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ +/* KooL Style 9 */ +/* Modified version of Rofi Config which was submitted by https://github.com/lonerOrz via Discord */ + +/* Integrating Wallust and More tweaks */ + + +configuration { + show-icons: true; + display-drun: "๏"; + drun-display-format: "{icon} {name}"; + disable-history: false; + click-to-exit: true; + location: 0; + dpi: 1; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; +} + +/* ---- Load wallust colors ---- */ +@theme "~/.config/rofi/wallust/colors-rofi.rasi" + +/*****----- Global Properties -----*****/ +* { + font: "JetBrainsMono Nerd Font SemiBold 13"; + + BG: @background; + BGA: @color11; + FG: @foreground; + FGA: #F28FADff; + BDR: @color12; + SEL: #1E1E2Eff; + UGT: #F28FADff; + IMG: #FAE3B0ff; + OFF: #575268ff; + ON: #ABE9B3ff; +} + +/* ---- Window ---- */ +window { + transparency: "real"; + background-color: @BG; + text-color: @FG; + border: 2px; + border-color: @BDR; + border-radius: 10px; + width: 25%; + anchor: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 8px; + background-color: @BG; + text-color: @IMG; +} + +textbox-prompt-colon { + expand: false; + str: "๏"; + border-radius: 100%; + background-color: @SEL; + text-color: @FG; + padding: 8px 12px 8px 12px; +} + +/* ---- Entry input ---- */ +entry { + background-color: @BG; + text-color: @FG; + placeholder-color: @FG; + expand: true; + horizontal-align: 0; + placeholder: " Search..."; + blink: true; + border: 0px 0px 2px 0px; + border-color: @BDR; + border-radius: 10px; + padding: 8px; +} + +inputbar { + children: [ textbox-prompt-colon, entry ]; + background-color: @BG; + text-color: @FG; + expand: false; + border: 0px 0px 0px 0px; + border-radius: 0px; + border-color: @BDR; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +case-indicator { + background-color: @BG; + text-color: @FG; + spacing: 0; +} + +/* ---- Listview ---- */ +listview { + background-color: @BG; + columns: 1; + lines: 7; + spacing: 4px; + cycle: true; + dynamic: true; + layout: vertical; + scrollbar: true; +} + +mainbox { + background-color: @BG; + children: [ inputbar, listview ]; + spacing: 15px; + padding: 15px; +} + +/* ---- Scrollbar ---- */ +scrollbar { + border: 1px; + border-radius: 10px; + border-color: @color12; + handle-color: @color11; + handle-width: 10px ; + padding: 0; +} + +/* ---- Elements ---- */ +element { + font: "JetBrainsMono Nerd Font SemiBold 11"; + background-color: @BG; + text-color: @FG; + orientation: horizontal; + border-radius: 4px; + padding: 6px 6px 6px 6px; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 24px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 2px 0px 2px 2px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @UGT; + text-color: @FG; + border-radius: 9px; +} + +element normal.active, +element alternate.active { + background-color: @BGA; + text-color: @FG; +} + +element selected { + background-color: @BGA; + text-color: @SEL; + border: 0px 0px 0px 0px; + border-radius: 10px; + border-color: @BDR; +} + +element selected.urgent { + background-color: @UGT; + text-color: @FG; +} + +element selected.active { + background-color: @BGA; + color: @FG; +} 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 diff --git a/config/hypr/UserScripts/QuickEdit.sh b/config/hypr/UserScripts/QuickEdit.sh index e0af9dce..c71fb166 100755 --- a/config/hypr/UserScripts/QuickEdit.sh +++ b/config/hypr/UserScripts/QuickEdit.sh @@ -9,6 +9,7 @@ tty=kitty # Paths to configuration directories configs="$HOME/.config/hypr/configs" UserConfigs="$HOME/.config/hypr/UserConfigs" +rofi_theme="~/.config/rofi/config-edit.rasi" # Function to display the menu options menu() { @@ -29,7 +30,7 @@ EOF # Main function to handle menu selection main() { - choice=$(menu | rofi -i -dmenu -config ~/.config/rofi/config-compact.rasi | cut -d. -f1) + choice=$(menu | rofi -i -dmenu -config $rofi_theme | cut -d. -f1) # Map choices to corresponding files case $choice in diff --git a/config/hypr/UserScripts/RofiBeats.sh b/config/hypr/UserScripts/RofiBeats.sh index 380f6b29..58241256 100755 --- a/config/hypr/UserScripts/RofiBeats.sh +++ b/config/hypr/UserScripts/RofiBeats.sh @@ -2,11 +2,11 @@ # /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ ## # For Rofi Beats to play online Music or Locally save media files -# Directory local music folder +# Variables mDIR="$HOME/Music/" - -# Directory for icons iDIR="$HOME/.config/swaync/icons" +rofi_theme="~/.config/rofi/config-rofi-Beats.rasi" +rofi_theme_1="~/.config/rofi/config-rofi-Beats-menu.rasi" # Online Stations. Edit as required declare -A online_music=( @@ -47,7 +47,7 @@ play_local_music() { populate_local_music # Prompt the user to select a song - choice=$(printf "%s\n" "${filenames[@]}" | rofi -i -dmenu -config ~/.config/rofi/config-rofi-Beats.rasi) + choice=$(printf "%s\n" "${filenames[@]}" | rofi -i -dmenu -config $rofi_theme) if [ -z "$choice" ]; then exit 1 @@ -77,7 +77,7 @@ shuffle_local_music() { # Main function for playing online music play_online_music() { - choice=$(printf "%s\n" "${!online_music[@]}" | rofi -i -dmenu -config ~/.config/rofi/config-rofi-Beats.rasi) + choice=$(printf "%s\n" "${!online_music[@]}" | rofi -i -dmenu -config $rofi_theme) if [ -z "$choice" ]; then exit 1 @@ -101,7 +101,7 @@ fi # Prompt the user to choose between local and online music -user_choice=$(printf "Play from Online Stations\nPlay from Music Folder\nShuffle Play from Music Folder" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats-menu.rasi) +user_choice=$(printf "Play from Online Stations\nPlay from Music Folder\nShuffle Play from Music Folder" | rofi -dmenu -config $rofi_theme_1) case "$user_choice" in "Play from Music Folder") diff --git a/config/hypr/UserScripts/RofiCalc.sh b/config/hypr/UserScripts/RofiCalc.sh index cef80b81..7bef4b6c 100755 --- a/config/hypr/UserScripts/RofiCalc.sh +++ b/config/hypr/UserScripts/RofiCalc.sh @@ -3,7 +3,7 @@ # /* Calculator (using qalculate) and rofi */ # /* Submitted by: https://github.com/JosephArmas */ -rofi_config="$HOME/.config/rofi/config-calc.rasi" +rofi_theme="$HOME/.config/rofi/config-calc.rasi" # Kill Rofi if already running before execution if pgrep -x "rofi" >/dev/null; then @@ -15,8 +15,8 @@ fi while true; do result=$( rofi -i -dmenu \ - -config "$rofi_config" \ - -mesg "$result = $calc_result" + -config $rofi_theme \ + -mesg "$result = $calc_result" ) if [ $? -ne 0 ]; then diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh index 215fdf6f..2573f5e0 100755 --- a/config/hypr/UserScripts/WallpaperEffects.sh +++ b/config/hypr/UserScripts/WallpaperEffects.sh @@ -8,6 +8,7 @@ wallpaper_current="$HOME/.config/hypr/wallpaper_effects/.wallpaper_current" wallpaper_output="$HOME/.config/hypr/wallpaper_effects/.wallpaper_modified" SCRIPTSDIR="$HOME/.config/hypr/scripts" focused_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{print name}') +rofi_theme="~/.config/rofi/config-wallpaper-effect.rasi" # Directory for swaync iDIR="$HOME/.config/swaync/images" @@ -45,9 +46,7 @@ declare -A effects=( # Function to apply no effects no-effects() { swww img -o "$focused_monitor" "$wallpaper_current" $SWWW_PARAMS && - # Wait for swww command to complete wait $! - # Run other commands after swww wallust run "$wallpaper_current" -s && wait $! # Refresh rofi, waybar, wallust palettes @@ -67,7 +66,7 @@ main() { [[ "$effect" != "No Effects" ]] && options+=("$effect") done - choice=$(printf "%s\n" "${options[@]}" | LC_COLLATE=C sort | rofi -dmenu -i -config ~/.config/rofi/config-wallpaper-effect.rasi) + choice=$(printf "%s\n" "${options[@]}" | LC_COLLATE=C sort | rofi -dmenu -i -config $rofi_theme) # Process user choice if [[ -n "$choice" ]]; then @@ -77,16 +76,14 @@ main() { # Apply selected effect notify-send -u normal -i "$iDIR/ja.png" "Applying:" "$choice effects" eval "${effects[$choice]}" - # Wait for effects to be applied + sleep 1 - # Execute swww command after image conversion swww img -o "$focused_monitor" "$wallpaper_output" $SWWW_PARAMS & - # Wait for swww command to complete + sleep 2 - # Wait for other commands to finish + wallust run "$wallpaper_output" -s & - # Wait for other commands to finish - sleep 0.5 + sleep 1 # Refresh rofi, waybar, wallust palettes "${SCRIPTSDIR}/Refresh.sh" notify-send -u low -i "$iDIR/ja.png" "$choice" "effects applied" diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index 19bb145d..61253cb3 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -13,6 +13,7 @@ iDIR="$HOME/.config/swaync/images" iDIRi="$HOME/.config/swaync/icons" # variables +rofi_theme="~/.config/rofi/config-wallpaper.rasi" focused_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{print name}') # swww transition config FPS=60 @@ -33,7 +34,7 @@ RANDOM_PIC="${PICS[$((RANDOM % ${#PICS[@]}))]}" RANDOM_PIC_NAME=". random" # Rofi command -rofi_command="rofi -i -show -dmenu -config ~/.config/rofi/config-wallpaper.rasi" +rofi_command="rofi -i -show -dmenu -config $rofi_theme" # Sorting Wallpapers menu() { diff --git a/config/hypr/UserScripts/ZshChangeTheme.sh b/config/hypr/UserScripts/ZshChangeTheme.sh index edfc2ecd..d43b6ff9 100755 --- a/config/hypr/UserScripts/ZshChangeTheme.sh +++ b/config/hypr/UserScripts/ZshChangeTheme.sh @@ -8,15 +8,16 @@ themes_dir="$HOME/.oh-my-zsh/themes" file_extension=".zsh-theme" -# Directory for swaync +# Variables iDIR="$HOME/.config/swaync/images" +rofi_theme="~/.config/rofi/config-zsh-theme.rasi" themes_array=($(find "$themes_dir" -type f -name "*$file_extension" -exec basename {} \; | sed -e "s/$file_extension//")) # Add "Random" option to the beginning of the array themes_array=("Random" "${themes_array[@]}") -rofi_command="rofi -i -dmenu -config ~/.config/rofi/config-zsh-theme.rasi" +rofi_command="rofi -i -dmenu -config $rofi_theme" menu() { for theme in "${themes_array[@]}"; do @@ -29,7 +30,6 @@ main() { # if nothing selected, script won't change anything if [ -z "$choice" ]; then - notify-send -u low -i "$iDIR/ja.png" "No theme selected." "No changes made!" exit 0 fi diff --git a/config/hypr/scripts/Animations.sh b/config/hypr/scripts/Animations.sh index 7789cb05..b4d368e9 100755 --- a/config/hypr/scripts/Animations.sh +++ b/config/hypr/scripts/Animations.sh @@ -12,23 +12,19 @@ iDIR="$HOME/.config/swaync/images" SCRIPTSDIR="$HOME/.config/hypr/scripts" animations_dir="$HOME/.config/hypr/animations" UserConfigs="$HOME/.config/hypr/UserConfigs" +rofi_theme="~/.config/rofi/config-Animations.rasi" # list of animation files, sorted alphabetically with numbers first animations_list=$(find "$animations_dir" -maxdepth 1 -type f | sed 's/.*\///' | sed 's/\.conf$//' | sort -V) # Rofi Menu -chosen_file=$(echo "$animations_list" | rofi -i -dmenu -config ~/.config/rofi/config-Animations.rasi) +chosen_file=$(echo "$animations_list" | rofi -i -dmenu -config $rofi_theme) # Check if a file was selected if [[ -n "$chosen_file" ]]; then - # Find the full path of the chosen file - full_path="$animations_dir/$chosen_file.conf" - - cp "$full_path" "$UserConfigs/UserAnimations.conf" - + full_path="$animations_dir/$chosen_file.conf" + cp "$full_path" "$UserConfigs/UserAnimations.conf" notify-send -u low -i "$iDIR/ja.png" "$chosen_file" "Hyprland Animation Loaded" -else - notify-send -u low -i "$iDIR/ja.png" "You chose NOT" "to apply other Hyprland animations" fi sleep 1 diff --git a/config/hypr/scripts/ClipManager.sh b/config/hypr/scripts/ClipManager.sh index 13f90a9e..642adb82 100755 --- a/config/hypr/scripts/ClipManager.sh +++ b/config/hypr/scripts/ClipManager.sh @@ -2,6 +2,9 @@ # /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ ## # Clipboard Manager. This script uses cliphist, rofi, and wl-copy. +# Variables +rofi_theme="~/.config/rofi/config-clipboard.rasi" + # Actions: # CTRL Del to delete an entry # ALT Del to wipe clipboard contents @@ -16,7 +19,7 @@ while true; do rofi -i -dmenu \ -kb-custom-1 "Control-Delete" \ -kb-custom-2 "Alt-Delete" \ - -config ~/.config/rofi/config-clipboard.rasi < <(cliphist list) + -config $rofi_theme < <(cliphist list) ) case "$?" in diff --git a/config/hypr/scripts/KeyBinds.sh b/config/hypr/scripts/KeyBinds.sh index 9e01a7c3..f80211f5 100755 --- a/config/hypr/scripts/KeyBinds.sh +++ b/config/hypr/scripts/KeyBinds.sh @@ -14,6 +14,7 @@ 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" # Combine the contents of the keybinds files and filter for keybinds KEYBINDS=$(cat "$KEYBINDS_CONF" "$USER_KEYBINDS_CONF" | grep -E '^(bind|bindl|binde|bindm)') @@ -31,4 +32,4 @@ if [[ -z "$KEYBINDS" ]]; then fi # Use rofi to display the keybinds -echo "$KEYBINDS" | rofi -dmenu -i -p "Keybinds" -config ~/.config/rofi/config-keybinds.rasi
\ No newline at end of file +echo "$KEYBINDS" | rofi -dmenu -i -config $rofi_theme
\ No newline at end of file diff --git a/config/hypr/scripts/RofiEmoji.sh b/config/hypr/scripts/RofiEmoji.sh index fa27a341..1079bfdd 100755 --- a/config/hypr/scripts/RofiEmoji.sh +++ b/config/hypr/scripts/RofiEmoji.sh @@ -2,13 +2,16 @@ # /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ ## # Rofi Emoticons. Not my own. Cant remember the source +# Variables +rofi_theme="~/.config/rofi/config-emoji.rasi" + # Check if rofi is already running if pidof rofi > /dev/null; then pkill rofi fi sed '1,/^# # DATA # #$/d' "$0" | \ -rofi -i -dmenu -config ~/.config/rofi/config-emoji.rasi | \ +rofi -i -dmenu -config $rofi_theme | \ awk -F'\t' '{print $1}' | \ tr -d '\n' | \ wl-copy diff --git a/config/hypr/scripts/RofiSearch.sh b/config/hypr/scripts/RofiSearch.sh index faf07865..d9576a1a 100755 --- a/config/hypr/scripts/RofiSearch.sh +++ b/config/hypr/scripts/RofiSearch.sh @@ -4,7 +4,7 @@ # Opens rofi in dmenu mod and waits for input. Then pushes the input to the query of the URL. -rofi_config="$HOME/.config/rofi/config-search.rasi" +rofi_theme="$HOME/.config/rofi/config-search.rasi" # Kill Rofi if already running before execution if pgrep -x "rofi" >/dev/null; then @@ -13,5 +13,6 @@ if pgrep -x "rofi" >/dev/null; then 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_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={}" diff --git a/config/hypr/scripts/RofiThemeSelector.sh b/config/hypr/scripts/RofiThemeSelector.sh new file mode 100755 index 00000000..420316bd --- /dev/null +++ b/config/hypr/scripts/RofiThemeSelector.sh @@ -0,0 +1,75 @@ +#!/bin/bash +# /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ ## +# Script for adding a selected theme to the Rofi config + +IFS=$'\n\t' + +# Define directories and variables +rofi_theme_dir="$HOME/.local/share/rofi/themes" +rofi_config_file="$HOME/.config/rofi/config.rasi" +SED=$(which sed) +iDIR="$HOME/.config/swaync/images" +rofi_theme="$HOME/.config/rofi/config-rofi-theme.rasi" + +# Function to display menu options +menu() { + options=() + while IFS= read -r file; do + options+=("$(basename "$file")") + done < <(find "$rofi_theme_dir" -maxdepth 1 -type f -exec basename {} \; | sort) + + printf '%s\n' "${options[@]}" +} + +# 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 +} + +# Main function +main() { + choice=$(menu | rofi rofi -dmenu -i -config $rofi_theme) + + if [[ -z "$choice" ]]; then + exit 0 + fi + add_theme_to_config "$choice" + notify-send -i "$iDIR/ja.png" -u low 'Rofi Theme' "$choice applied." +} + +if pgrep -x "rofi" >/dev/null; then + pkill rofi +fi + +main diff --git a/config/hypr/v2.3.10 b/config/hypr/v2.3.11 index 31b3414d..31b3414d 100644 --- a/config/hypr/v2.3.10 +++ b/config/hypr/v2.3.11 diff --git a/config/rofi/config-Animations.rasi b/config/rofi/config-Animations.rasi index 2064cd1b..7ce1c9f5 100644 --- a/config/rofi/config-Animations.rasi +++ b/config/rofi/config-Animations.rasi @@ -1,20 +1,40 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ -/* Rofi Beats Config (compact) */ +/* Animations Menu */ + +@import "~/.config/rofi/config.rasi" + +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "listview"]; +} -@import "~/.config/rofi/config-compact.rasi" /* ---- Window ---- */ window { - width: 35%; + width: 30%; } /* ---- Entry ---- */ entry { - width: 25%; - placeholder: " โจ Choose which Animations to load"; + width: 28%; + placeholder: " โจ Search / Choose which Animations to load"; } /* ---- Listview ---- */ listview { - lines: 10; + columns: 2; + lines: 9; + fixed-height: false; + margin: 10px; +} + +/* ---- Elements ---- */ +element-icon { + size: 0%; } +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-calc.rasi b/config/rofi/config-calc.rasi index 54653491..61be7642 100644 --- a/config/rofi/config-calc.rasi +++ b/config/rofi/config-calc.rasi @@ -2,21 +2,23 @@ /* Main Config Calculator */ /* Submitted by: https://github.com/JosephArmas */ -@import "~/.config/rofi/master-config.rasi" +@import "~/.config/rofi/config.rasi" + +/* ---- Mainbox ---- */ +mainbox { + children: [ "entry", "message" ]; +} + /* ---- Entry ---- */ entry { - width: 27%; + expand: true; placeholder: " ๐งฎ Calculate"; } -/* ---- Window ---- */ -window { - width: 30%; +textbox { + padding: 12px; + border-radius: 10px; } -/* ---- Message ---- */ -textbox { - background-color: @selected; - text-color: @background; -}
\ No newline at end of file +listview {enable: false;}
\ No newline at end of file diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi index 7c6dd91e..648a96af 100644 --- a/config/rofi/config-clipboard.rasi +++ b/config/rofi/config-clipboard.rasi @@ -1,16 +1,42 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ /* Clipboard Config - Clipboard */ -@import "~/.config/rofi/master-config.rasi" +@import "~/.config/rofi/config.rasi" + +/* ---- Window ---- */ +window { + width: 45%; +} + +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "listview"]; +} /* ---- Entry ---- */ entry { - width: 37%; - placeholder: " ๐ Search Clipboard **note** ๐ CTRL Del - Cliphist del or Alt Del - cliphist wipe"; + width: 42%; + placeholder: " ๐ Search Clipboard **note** ๐ CTRL Del - Cliphist del or Alt Del - cliphist wipe"; } /* ---- Listview ---- */ listview { columns: 1; lines: 8; -}
\ No newline at end of file + fixed-height: false; +} + +/* ---- Elements ---- */ +element { + orientation: horizontal; +} + +element-icon { + size: 0%; +} + +element-text { + horizontal-align: 0.0; + vertical-align: 0.5; +} diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi deleted file mode 100644 index 0887a936..00000000 --- a/config/rofi/config-compact.rasi +++ /dev/null @@ -1,43 +0,0 @@ -/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ -/* Main Config (compact) */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Configuration ---- */ -configuration { - modi: "drun"; -} - -/* ---- Window ---- */ -window { - width: 50%; - border-radius: 15px; -} - -/* ---- Inputbar ---- */ -inputbar { - background-image: url("~/.config/rofi/.current_wallpaper", width); -} - -/* ---- Imagebox ---- */ -imagebox { - orientation: vertical; - children: [ "entry", "listview"]; -} - -/* ---- Entry input ---- */ -entry { - width: 23%; - placeholder: " ๐ View / Edit Hyprland Configs"; -} - -/* ---- Listview ---- */ -listview { - spacing: 4px; - border-radius: 12px; -} - -/* ---- Element ---- */ -element { - border-radius: 10px; -} diff --git a/config/rofi/config-edit.rasi b/config/rofi/config-edit.rasi new file mode 100644 index 00000000..568de812 --- /dev/null +++ b/config/rofi/config-edit.rasi @@ -0,0 +1,49 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ +/* Main Config (compact) */ + +@import "~/.config/rofi/config.rasi" + +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "listview"]; +} + + +/* ---- Configuration ---- */ +configuration { + modi: "drun"; +} + +/* ---- Window ---- */ +window { + width: 45%; +} + + +/* ---- Listview ---- */ +listview { + columns: 2; + lines: 6; + fixed-height: false; +} + +/* ---- Entry input ---- */ +entry { + expand: true; + placeholder: " ๐ View / Edit KooL Hyprland Configs"; +} + + +/* ---- Elements ---- */ +element { + orientation: horizontal; +} + +element-icon { + size: 0%; +} +element-text { + horizontal-align: 0.0; + margin: 5px 30px 5px 30px; +}
\ No newline at end of file diff --git a/config/rofi/config-emoji.rasi b/config/rofi/config-emoji.rasi index 39eab54c..0f98892f 100644 --- a/config/rofi/config-emoji.rasi +++ b/config/rofi/config-emoji.rasi @@ -1,16 +1,38 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ /* Main Config - emoji */ -@import "~/.config/rofi/master-config.rasi" +@import "~/.config/rofi/config.rasi" + +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "listview"]; +} /* ---- Entry ---- */ entry { width: 37%; - placeholder: " ๐ซ Search Emoji's **note** ๐ Click or Return to choose | Ctrl V to Paste"; + placeholder: " ๐ซ Search / Choose Emoji's **note** ๐ Click or Return to choose | Ctrl V to Paste"; + horizontal-align: 0.0; } /* ---- Listview ---- */ listview { columns: 1; lines: 8; + fixed-height: false; +} + +/* ---- Elements ---- */ +element { + orientation: horizontal; +} + +element-icon { + size: 0%; +} + +element-text { + horizontal-align: 0.0; + vertical-align: 0.5; }
\ No newline at end of file diff --git a/config/rofi/config-keybinds.rasi b/config/rofi/config-keybinds.rasi index 206928cb..6c8e2d5a 100644 --- a/config/rofi/config-keybinds.rasi +++ b/config/rofi/config-keybinds.rasi @@ -1,11 +1,18 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ /* Main Config - For Keybinds generation */ -@import "~/.config/rofi/master-config.rasi" +@import "~/.config/rofi/config.rasi" + + +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "listview"]; +} /* ---- Entry ---- */ entry { - width: 85%; + expand: true; placeholder: " ๐งฎ Search Keybinds โฃ๏ธ NOTE โฃ๏ธ: Clicking with Mouse or Pressing ENTER will have NO function"; } @@ -13,8 +20,23 @@ entry { listview { columns: 2; lines: 12; + fixed-height: false; } window { - width: 95%; + width: 90%; +} + +/* ---- Elements ---- */ +element { + orientation: horizontal; +} + +element-icon { + size: 0%; +} + +element-text { + horizontal-align: 0.0; + vertical-align: 0.5; }
\ No newline at end of file diff --git a/config/rofi/config-rofi-Beats-menu.rasi b/config/rofi/config-rofi-Beats-menu.rasi index 3e29881e..bcb45ac2 100644 --- a/config/rofi/config-rofi-Beats-menu.rasi +++ b/config/rofi/config-rofi-Beats-menu.rasi @@ -1,22 +1,37 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ /* Main config Rofi Beats Config (compact) */ -@import "~/.config/rofi/master-config.rasi" +@import "~/.config/rofi/config.rasi" + +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "listview"]; +} /* ---- Entry ---- */ entry { - width: 20%; + expand: true; placeholder: " ๐ป Choose Music Source"; } /* ---- Window ---- */ window { - width: 24%; + width: 20%; } /* ---- Listview ---- */ listview { fixed-columns: false; + scrollbar: false; colums: 1; lines: 3; } + +/* ---- Element ---- */ +element-icon { + size: 0%; +} +element-text { + horizontal-align: 0.5; +}
\ No newline at end of file diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index 97bb9643..a674fa3a 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -1,7 +1,13 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ /* Rofi Beats Config (compact) */ -@import "~/.config/rofi/config-compact.rasi" +@import "~/.config/rofi/config.rasi" + +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "listview"]; +} /* ---- Entry ---- */ entry { @@ -10,5 +16,22 @@ entry { /* ---- Listview ---- */ listview { - lines: 7; + columns: 2; + lines: 8; + fixed-height: false; + margin: 10px; +} + +/* ---- Elements ---- */ +element { + orientation: horizontal; } + +element-icon { + size: 0%; +} + +element-text { + horizontal-align: 0.0; + vertical-align: 0.5; +}
\ No newline at end of file diff --git a/config/rofi/config-rofi-theme.rasi b/config/rofi/config-rofi-theme.rasi new file mode 100644 index 00000000..531a2c2c --- /dev/null +++ b/config/rofi/config-rofi-theme.rasi @@ -0,0 +1,43 @@ +/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ +/* Main Config Rofi Theme */ + +@import "~/.config/rofi/config.rasi" + + +/* ---- Window ---- */ +window { + width: 45%; +} + +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "listview"]; +} + +/* ---- Listview ---- */ +listview { + columns: 2; + lines: 8; + fixed-height: false; +} + +/* ---- Entry input ---- */ +entry { + expand: true; + placeholder: " โฌ๏ธ Select Which Rofi Theme wanted to apply"; +} + + +/* ---- Elements ---- */ +element { + orientation: vertical; +} + +element-icon { + size: 0%; +} +element-text { + horizontal-align: 0.0; + margin: 5px 30px 5px 30px; +} diff --git a/config/rofi/config-search.rasi b/config/rofi/config-search.rasi index 70cb08f1..b216d0a6 100644 --- a/config/rofi/config-search.rasi +++ b/config/rofi/config-search.rasi @@ -1,28 +1,25 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ /* Rofi Config for Google Search) */ -@import "~/.config/rofi/master-config.rasi" +@import "~/.config/rofi/config.rasi" /* ---- Window ---- */ window { width: 40%; + height: inherit; + background-color: inherit; + text-color: inherit; y-offset: 6px; location: north; -} - -/* ---- Inputbar ---- */ -inputbar { - enabled: true; -} - -/* ---- Mainbox ---- */ -mainbox { - padding: 0px; - children: [ "entry"]; + children: [ "entry" ]; + border: 2px; + border-color: white/50%; } /* ---- Entry ---- */ entry { placeholder: " ๐ Google Search via web browser"; + padding: 15px; + border: 0px; } diff --git a/config/rofi/config-wallpaper-effect.rasi b/config/rofi/config-wallpaper-effect.rasi index 684c00a2..0fb534e3 100644 --- a/config/rofi/config-wallpaper-effect.rasi +++ b/config/rofi/config-wallpaper-effect.rasi @@ -1,12 +1,19 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ /* Wallpaper Effects */ -@import "~/.config/rofi/master-config.rasi" +@import "~/.config/rofi/config.rasi" + + +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "listview"]; +} /* ---- Entry ---- */ entry { width: 20%; - placeholder: " ๐๏ธ Choose desired wallpaper effect"; + placeholder: " ๐๏ธ Search / Choose desired wallpaper effect"; } /* ---- Window ---- */ @@ -16,11 +23,23 @@ window { /* ---- Listview ---- */ listview { - fixed-columns: false; + columns: 2; lines: 8; + fixed-height: false; } /* ---- Inputbar ---- */ inputbar { - background-image: url("~/.config/hypr/wallpaper_effects/.wallpaper_modified", width); + background-image: url("~/.config/hypr/wallpaper_effects/.wallpaper_modified", width); +} + +/* ---- Element ---- */ +element-icon { + size: 0%; +} + +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-wallpaper.rasi b/config/rofi/config-wallpaper.rasi index 8665f6c0..eab47606 100644 --- a/config/rofi/config-wallpaper.rasi +++ b/config/rofi/config-wallpaper.rasi @@ -1,7 +1,7 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ /* Main Config (wallpaper) */ -@import "~/.config/rofi/master-config.rasi" +@import "~/.config/rofi/config.rasi" /* ---- Configuration ---- */ configuration { @@ -12,17 +12,16 @@ window { width: 60%; } -/* ---- Imagebox ---- */ -imagebox { - orientation: vertical; +/* ---- Mainbox ---- */ +mainbox { children: - [ "entry", "listbox"]; + [ "inputbar", "listview"]; } - entry { - expand: false; - placeholder: " ๐๏ธ Choose Wallpaper"; + expand: true; + placeholder: " ๐๏ธ Search / Choose Wallpaper"; + horizontal-align: 0.0; } /* ---- Listview ---- */ @@ -35,17 +34,13 @@ listview { /* ---- Element ---- */ element { orientation: vertical; - padding: 0px; - spacing: 0px; - border-radius: 12px; } element-icon { - size: 15%; + size: 10%; } element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; vertical-align: 0.5; horizontal-align: 0.5; } diff --git a/config/rofi/config-waybar-layout.rasi b/config/rofi/config-waybar-layout.rasi index 4dd06a1c..cc24a170 100644 --- a/config/rofi/config-waybar-layout.rasi +++ b/config/rofi/config-waybar-layout.rasi @@ -1,10 +1,40 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ -/* Layout Config (Waybar) */ +/* Main Config (Waybar Layout) */ -@import "~/.config/rofi/config-waybar-style.rasi" +@import "~/.config/rofi/config.rasi" + + + +/* ---- Configuration ---- */ +configuration { + modi: "drun"; +} + +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "listview"]; +} /* ---- Entry ---- */ entry { - placeholder: " ๐ผ๏ธ Choose Waybar Layout"; + expand: true; + placeholder: " ๐ผ๏ธ Search / Choose Waybar Layout"; +} + +/* ---- Listview ---- */ +listview { + columns: 2; + lines: 9; + fixed-height: false; + margin: 10px; } +/* ---- Elements ---- */ +element-icon { + size: 0%; +} +element-text { + 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 ee23793f..bfb3829a 100644 --- a/config/rofi/config-waybar-style.rasi +++ b/config/rofi/config-waybar-style.rasi @@ -1,12 +1,7 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ -/* Main Config (waybar) */ +/* Main Config (waybar style) */ -@import "~/.config/rofi/master-config.rasi" - -/* ---- Configuration ---- */ -configuration { - modi: "drun"; -} +@import "~/.config/rofi/config.rasi" /* ---- Mainbox ---- */ mainbox { @@ -14,8 +9,31 @@ mainbox { [ "inputbar", "listview"]; } +/* ---- Configuration ---- */ +configuration { + modi: "drun"; +} + +/* ---- Entry ---- */ entry { expand: true; - placeholder: " ๐ผ๏ธ Choose Waybar Style"; + placeholder: " ๐ผ๏ธ Search / Choose Waybar Style"; } + +/* ---- Listview ---- */ +listview { + columns: 2; + lines: 9; + fixed-height: false; + margin: 10px; +} + +/* ---- Elements ---- */ +element-icon { + size: 0%; +} +element-text { + 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 b3aff7e8..c2293b4e 100644 --- a/config/rofi/config-zsh-theme.rasi +++ b/config/rofi/config-zsh-theme.rasi @@ -1,7 +1,7 @@ /* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ -/* Main Config (compact) */ +/* Oh My ZSH Theme */ -@import "~/.config/rofi/master-config.rasi" +@import "~/.config/rofi/config.rasi" /* ---- Configuration ---- */ configuration { @@ -14,13 +14,11 @@ window { border-radius: 15px; } -/* ---- Imagebox ---- */ -imagebox { - orientation: vertical; - children: - [ "inputbar", "listbox"]; +mainbox { + children: [ "inputbar" , "listview" ]; } + /* ---- Listbox ---- */ listbox { border-radius: 12px; @@ -33,7 +31,8 @@ inputbar { } entry { - placeholder: " ๓ฐธ Choose ZSH theme"; + expand: true; + placeholder: " ๐ช Search / Choose ZSH theme"; } /* ---- Listview ---- */ @@ -46,7 +45,7 @@ listview { /* ---- Element ---- */ element { - border-radius: 10px; + orientation: horizontal; } /* ---- Message ---- */ @@ -57,3 +56,12 @@ message { textbox { padding: 15px; } + +/* ---- Element ---- */ +element-icon { + size: 0%; +} +element-text { + horizontal-align: 0.0; + margin: 5px 30px 5px 30px; +} diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index eca05ea6..51a70f2c 100755..100644 --- 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" diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi deleted file mode 100755 index eca05ea6..00000000 --- a/config/rofi/resolution/1080p/config.rasi +++ /dev/null @@ -1,31 +0,0 @@ -/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ -/* Main Config 1080p */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Window ---- */ -window { - width: 50%; -} -/* ---- Listview ---- */ -listview { - columns: 5; - lines: 5; - fixed-height: true; -} - -/* ---- Element ---- */ -element { - orientation: vertical; - padding: 10px 5px 10px 5px; - spacing: 6px; -} - -element-icon { - size: 3%; -} - -element-text { - font: "JetBrainsMono Nerd Font SemiBold 10"; - horizontal-align: 0.5; -}
\ No newline at end of file diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi deleted file mode 100755 index 768fcec1..00000000 --- a/config/rofi/resolution/1440p/config.rasi +++ /dev/null @@ -1,37 +0,0 @@ -/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ -/* Main Config 1440p */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Window ---- */ -window { - width: 50%; -} - -/* ---- Mode Switcher ---- */ -button { - width: 110px; -} - -/* ---- Listview ---- */ -listview { - columns: 5; - lines: 5; - fixed-height: true; -} - -/* ---- Element ---- */ -element { - orientation: vertical; - padding: 10px 5px 10px 5px; - spacing: 6px; -} - -element-icon { - size: 3%; -} - -element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; - horizontal-align: 0.5; -} diff --git a/config/rofi/wallust/colors-rofi.rasi b/config/rofi/wallust/colors-rofi.rasi index 536bcdc6..b54ab670 100644 --- a/config/rofi/wallust/colors-rofi.rasi +++ b/config/rofi/wallust/colors-rofi.rasi @@ -2,30 +2,49 @@ /* wallust template - colors-rofi */ * { -active-background: #20211D; -active-foreground: #ACF2F1; -normal-background: #1E1516; -normal-foreground: #ACF2F1; -urgent-background: #135C7D; -urgent-foreground: #ACF2F1; +active-background: #718A90; +active-foreground: #ABF1E1; +normal-background: #212826; +normal-foreground: #ABF1E1; +urgent-background: #44AE9B; +urgent-foreground: #ABF1E1; -alternate-active-background: #0D942F; -alternate-active-foreground: #ACF2F1; -alternate-normal-background: #1E1516; -alternate-normal-foreground: #ACF2F1; -alternate-urgent-background: #1E1516; -alternate-urgent-foreground: #ACF2F1; +alternate-active-background: #78858E; +alternate-active-foreground: #ABF1E1; +alternate-normal-background: #212826; +alternate-normal-foreground: #ABF1E1; +alternate-urgent-background: #212826; +alternate-urgent-foreground: #ABF1E1; -selected-active-background: #20211D; -selected-active-foreground: #ACF2F1; -selected-normal-background: #80E4E2; -selected-normal-foreground: #ACF2F1; -selected-urgent-background: #135C7D; -selected-urgent-foreground: #ACF2F1; +selected-active-background: #44AE9B; +selected-active-foreground: #ABF1E1; +selected-normal-background: #44AE9B; +selected-normal-foreground: #ABF1E1; +selected-urgent-background: #718A90; +selected-urgent-foreground: #ABF1E1; -background-color: #1E1516; +background-color: #212826; background: rgba(0,0,0,0.7); -foreground: #80E4E2; -border-color: #20211D; +foreground: #ABF1E1; +border-color: #718A90; + +color0: #464D4C; +color1: #02211D; +color2: #02613F; +color3: #5A646A; +color4: #55686C; +color5: #338375; +color6: #0CA27F; +color7: #7FE3CC; +color8: #599F8E; +color9: #022C27; +color10: #028154; +color11: #78858E; +color12: #718A90; +color13: #44AE9B; +color14: #10D8A9; +color15: #7FE3CC; + + } @@ -257,7 +257,7 @@ fi printf "\n" -# Action to do for better rofi and kitty appearance +# Action to do for better kitty appearance while true; do echo "$MAGENTA Select monitor resolution to properly configure appearance and fonts:" echo "$YELLOW -- Enter 1. for monitor res 1440p or less (< 1440p)" @@ -284,7 +284,7 @@ echo "${OK} You have chosen $resolution resolution." 2>&1 | tee -a "$LOG" # Add your commands based on the resolution choice if [ "$resolution" == "< 1440p" ]; then - cp -r config/rofi/resolution/1080p/* config/rofi/ + #cp -r config/rofi/resolution/1080p/* config/rofi/ 10-Feb-2025 sed -i 's/font_size 16.0/font_size 12.0/' config/kitty/kitty.conf # hyprlock matters @@ -292,7 +292,7 @@ if [ "$resolution" == "< 1440p" ]; then mv config/hypr/hyprlock-1080p.conf config/hypr/hyprlock.conf elif [ "$resolution" == "โฅ 1440p" ]; then - cp -r config/rofi/resolution/1440p/* config/rofi/ + #cp -r config/rofi/resolution/1440p/* config/rofi/ 10-Feb-2025 fi printf "\n" @@ -617,6 +617,24 @@ fi printf "\n%.0s" {1..} +## Rofi Additional themes +source_DIR="$HOME/assets/rofi/themes" +rofi_DIR="$HOME/.local/share/rofi/themes" + +echo -e "${NOTE} copying additional rofi themes into ${YELOW}$rofi_DIR${RESET}... " + +if [ ! -d "$rofi_DIR" ]; then + echo "Directory $rofi_DIR does not exist. Creating it now..." | tee -a "$LOG" + mkdir -p "$rofi_DIR" +fi + +# Copy the rofi themes from assets +cp -r "$source_DIR"/* "$rofi_DIR" + +echo "rofi themes from $source_DIR have been copied to $rofi_DIR" | tee -a "$LOG" + +printf "\n%.0s" {1..} + # wallpaper stuff mkdir -p ~/Pictures/wallpapers if cp -r wallpapers ~/Pictures/; then |
