From 99dcaf5bf9e77adf0342446012acfd4588cf5738 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 10 Feb 2025 20:05:17 +0900 Subject: updated rofi search --- .../rofi/themes/KooL_style-11-Win11-list-dark.rasi | 130 ++++++++++++++ .../themes/KooL_style-11-Win11-list-light.rasi | 130 ++++++++++++++ assets/rofi/themes/KooL_style-9.rasi | 190 +++++++++++++++++++++ .../rofi/themes/KooL_style_11-Win11-list-dark.rasi | 130 -------------- .../themes/KooL_style_11-Win11-list-light.rasi | 130 -------------- assets/rofi/themes/KooL_style_9.rasi | 190 --------------------- config/rofi/config-search.rasi | 10 +- 7 files changed, 455 insertions(+), 455 deletions(-) create mode 100644 assets/rofi/themes/KooL_style-11-Win11-list-dark.rasi create mode 100644 assets/rofi/themes/KooL_style-11-Win11-list-light.rasi create mode 100644 assets/rofi/themes/KooL_style-9.rasi delete mode 100644 assets/rofi/themes/KooL_style_11-Win11-list-dark.rasi delete mode 100644 assets/rofi/themes/KooL_style_11-Win11-list-light.rasi delete mode 100644 assets/rofi/themes/KooL_style_9.rasi 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/assets/rofi/themes/KooL_style_11-Win11-list-dark.rasi b/assets/rofi/themes/KooL_style_11-Win11-list-dark.rasi deleted file mode 100644 index f0a7d9e6..00000000 --- a/assets/rofi/themes/KooL_style_11-Win11-list-dark.rasi +++ /dev/null @@ -1,130 +0,0 @@ -/* ---- 💫 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 deleted file mode 100644 index 65809c4d..00000000 --- a/assets/rofi/themes/KooL_style_11-Win11-list-light.rasi +++ /dev/null @@ -1,130 +0,0 @@ -/* ---- 💫 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 deleted file mode 100644 index d09e58e2..00000000 --- a/assets/rofi/themes/KooL_style_9.rasi +++ /dev/null @@ -1,190 +0,0 @@ -/* ---- 💫 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/rofi/config-search.rasi b/config/rofi/config-search.rasi index b216d0a6..08600b30 100644 --- a/config/rofi/config-search.rasi +++ b/config/rofi/config-search.rasi @@ -7,13 +7,13 @@ window { width: 40%; height: inherit; - background-color: inherit; - text-color: inherit; - y-offset: 6px; + background-color: black/25%; + y-offset: 10px; location: north; children: [ "entry" ]; border: 2px; - border-color: white/50%; + border-color: white/25%; + border-radius: 20px; } /* ---- Entry ---- */ @@ -21,5 +21,5 @@ entry { placeholder: " 🔎 Google Search via web browser"; padding: 15px; border: 0px; + text-color: white; } - -- cgit v1.2.3