From e25fe4fdec7fe8d862df2c4e44ec83ccf90f13c7 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 Nov 2023 01:32:41 +0900 Subject: [PATCH 01/10] Rofi changes --- config/hypr/scripts/WallpaperSelect.sh | 2 +- config/rofi/config-compact.rasi | 11 +-- config/rofi/config-long.rasi | 40 ++++---- config/rofi/config-rofi-Beats.rasi | 30 +++--- ...onfig-short.rasi => config-wallpaper.rasi} | 40 ++++---- config/rofi/config-waybar-layout.rasi | 88 ++++++++---------- config/rofi/config-waybar-style.rasi | 88 ++++++++---------- config/rofi/config.rasi | 91 ++++++++----------- config/rofi/resolution/1080p/config.rasi | 4 +- config/rofi/resolution/1440p/config.rasi | 4 +- 10 files changed, 180 insertions(+), 218 deletions(-) rename config/rofi/{config-short.rasi => config-wallpaper.rasi} (88%) diff --git a/config/hypr/scripts/WallpaperSelect.sh b/config/hypr/scripts/WallpaperSelect.sh index c989adf..24fcae2 100755 --- a/config/hypr/scripts/WallpaperSelect.sh +++ b/config/hypr/scripts/WallpaperSelect.sh @@ -18,7 +18,7 @@ RANDOM_PIC="${PICS[$((RANDOM % ${#PICS[@]}))]}" RANDOM_PIC_NAME="${#PICS[@]}. random" # Rofi command -rofi_command="rofi -dmenu -config ~/.config/rofi/config-short.rasi" +rofi_command="rofi -dmenu -config ~/.config/rofi/config-wallpaper.rasi" menu() { for i in "${!PICS[@]}"; do diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi index ffd5ac0..cf18dbe 100644 --- a/config/rofi/config-compact.rasi +++ b/config/rofi/config-compact.rasi @@ -3,10 +3,10 @@ /* ---- Configuration ---- */ configuration { modi: "drun,run"; - font: "Fira Code SemiBold 12"; + font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -23,7 +23,6 @@ configuration { /* ---- Window ---- */ window { width: 40%; - height: 30%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -47,8 +46,8 @@ mainbox { orientation: horizontal; spacing: 0px; margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", width); children: [ "imagebox", "listbox" ]; } diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi index 360f250..aed3d78 100644 --- a/config/rofi/config-long.rasi +++ b/config/rofi/config-long.rasi @@ -3,10 +3,10 @@ /* ---- Configuration ---- */ configuration { modi: "drun,run"; - font: "Fira Code SemiBold 12"; + font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,8 +22,7 @@ configuration { /* ---- Window ---- */ window { - width: 35%; - height: 60%; + width: 30%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -44,18 +43,18 @@ window { /* ---- Mainbox ---- */ mainbox { enabled: true; - orientation: horizontal; + orientation: vertical; spacing: 0px; margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; + padding: 6px; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } @@ -77,9 +76,10 @@ inputbar { enabled: true; text-color: @foreground; spacing: 10px; - padding: 15px; + padding: 20px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } @@ -88,6 +88,7 @@ textbox-prompt-colon { expand: false; str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { @@ -125,7 +126,7 @@ button selected { listview { enabled: true; columns: 1; - lines: 12; + lines: 20; cycle: true; dynamic: true; scrollbar: true; @@ -134,22 +135,21 @@ listview { fixed-height: true; fixed-columns: true; spacing: 0px; - padding: 10px; + padding: 2px; margin: 0px; border-radius: 10px; border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; } /* ---- Element ---- */ element { enabled: true; - padding: 5px; + padding: 2px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; - border: 0px; } element normal.normal { @@ -223,17 +223,17 @@ message { } textbox { - padding: 15px; + padding: 6px; margin: 0px; border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; } error-message { - padding: 15px; + padding: 6px; border-radius: 20px; background-color: @background; text-color: @foreground; diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index 49afe78..d7656e5 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -3,10 +3,10 @@ /* ---- Configuration ---- */ configuration { modi: "drun,run"; - font: "Fira Code SemiBold 12"; + font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,16 +22,16 @@ configuration { /* ---- Window ---- */ window { - width: 45%; - height: 45%; + width: 35%; + /*height: 45%;*/ x-offset: 0px; y-offset: 0px; spacing: 0px; padding: 0px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -48,7 +48,7 @@ mainbox { spacing: 0px; margin: 0px; background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper",width); children: [ "imagebox", "listbox" ]; } @@ -80,14 +80,16 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "📻 "; text-color: inherit; + background-color: transparent; } entry { @@ -95,7 +97,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose"; + placeholder: "Choose Online Music"; placeholder-color: inherit; } @@ -110,7 +112,7 @@ mode-switcher{ button { padding: 10px; border-radius: 10px; - background-color: @background; + background-color: transparent; text-color: inherit; cursor: pointer; border: 0px; @@ -138,7 +140,7 @@ listview { margin: 0px; border-radius: 10px; border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; } /* ---- Element ---- */ @@ -147,7 +149,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -226,7 +228,7 @@ textbox { padding: 15px; margin: 0px; border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; diff --git a/config/rofi/config-short.rasi b/config/rofi/config-wallpaper.rasi similarity index 88% rename from config/rofi/config-short.rasi rename to config/rofi/config-wallpaper.rasi index 008df19..1b99abb 100644 --- a/config/rofi/config-short.rasi +++ b/config/rofi/config-wallpaper.rasi @@ -3,10 +3,10 @@ /* ---- Configuration ---- */ configuration { modi: "drun,run"; - font: "Fira Code SemiBold 12"; + font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -23,7 +23,6 @@ configuration { /* ---- Window ---- */ window { width: 20%; - height: 50%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -44,18 +43,18 @@ window { /* ---- Mainbox ---- */ mainbox { enabled: true; - orientation: horizontal; + orientation: vertical; spacing: 0px; margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; + padding: 6px; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } @@ -77,9 +76,10 @@ inputbar { enabled: true; text-color: @foreground; spacing: 10px; - padding: 15px; + padding: 20px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } @@ -88,6 +88,7 @@ textbox-prompt-colon { expand: false; str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { @@ -95,7 +96,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose"; + placeholder: "Choose Wallpaper"; placeholder-color: inherit; } @@ -125,7 +126,7 @@ button selected { listview { enabled: true; columns: 1; - lines: 12; + lines: 10; cycle: true; dynamic: true; scrollbar: true; @@ -134,22 +135,21 @@ listview { fixed-height: true; fixed-columns: true; spacing: 0px; - padding: 10px; + padding: 2px; margin: 0px; border-radius: 10px; border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; } /* ---- Element ---- */ element { enabled: true; - padding: 5px; + padding: 2px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; - border: 0px; } element normal.normal { @@ -223,17 +223,17 @@ message { } textbox { - padding: 15px; + padding: 6px; margin: 0px; border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; } error-message { - padding: 15px; + padding: 6px; border-radius: 20px; background-color: @background; text-color: @foreground; diff --git a/config/rofi/config-waybar-layout.rasi b/config/rofi/config-waybar-layout.rasi index b953570..3c3b6a7 100644 --- a/config/rofi/config-waybar-layout.rasi +++ b/config/rofi/config-waybar-layout.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,16 +22,15 @@ configuration { /* ---- Window ---- */ window { - width: 50%; - height: 50%; + width: 34%; x-offset: 0px; y-offset: 0px; spacing: 0px; - padding: 0px; + padding: 2px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -45,27 +44,24 @@ window { mainbox { enabled: true; orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + padding: 20px; + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; + spacing: 4px; + background-color: transparent; orientation: vertical; - children: [ "message", "listview" ]; + children: [ "listview" ]; } /* ---- Dummy ---- */ dummy { @@ -80,22 +76,24 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose Waybar Layout"; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose Waybar Style"; placeholder-color: inherit; } @@ -108,16 +106,15 @@ mode-switcher{ } button { - padding: 10px; - border-radius: 10px; - background-color: @background; + padding: 10px; + border-radius: 10px; + background-color: transparent; text-color: inherit; cursor: pointer; - border: 0px; } button selected { - background-color: @selected-normal-background; + background-color: @selected-normal-background; text-color: @foreground; } @@ -125,20 +122,16 @@ button selected { listview { enabled: true; columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - border-radius: 10px; - border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + lines: 16; + spacing: 4px; + dynamic: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: false; + fixed-columns: false; + background-color: transparent; } /* ---- Element ---- */ @@ -147,7 +140,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -215,26 +208,19 @@ element-text { /*****----- Message -----*****/ message { background-color: transparent; - border: 0px; margin: 20px 0px 0px 0px; - padding: 0px; - spacing: 0px; border-radius: 10px; } textbox { padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; } error-message { padding: 15px; - border-radius: 20px; - background-color: @background; + border-radius: 20px; + background-color: @background; text-color: @foreground; } diff --git a/config/rofi/config-waybar-style.rasi b/config/rofi/config-waybar-style.rasi index 3941594..3c3b6a7 100644 --- a/config/rofi/config-waybar-style.rasi +++ b/config/rofi/config-waybar-style.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,16 +22,15 @@ configuration { /* ---- Window ---- */ window { - width: 50%; - height: 50%; + width: 34%; x-offset: 0px; y-offset: 0px; spacing: 0px; - padding: 0px; + padding: 2px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -45,27 +44,24 @@ window { mainbox { enabled: true; orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + padding: 20px; + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; + spacing: 4px; + background-color: transparent; orientation: vertical; - children: [ "message", "listview" ]; + children: [ "listview" ]; } /* ---- Dummy ---- */ dummy { @@ -80,22 +76,24 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose Waybar Syles"; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose Waybar Style"; placeholder-color: inherit; } @@ -108,16 +106,15 @@ mode-switcher{ } button { - padding: 10px; - border-radius: 10px; - background-color: @background; + padding: 10px; + border-radius: 10px; + background-color: transparent; text-color: inherit; cursor: pointer; - border: 0px; } button selected { - background-color: @selected-normal-background; + background-color: @selected-normal-background; text-color: @foreground; } @@ -125,20 +122,16 @@ button selected { listview { enabled: true; columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - border-radius: 10px; - border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + lines: 16; + spacing: 4px; + dynamic: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: false; + fixed-columns: false; + background-color: transparent; } /* ---- Element ---- */ @@ -147,7 +140,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -215,26 +208,19 @@ element-text { /*****----- Message -----*****/ message { background-color: transparent; - border: 0px; margin: 20px 0px 0px 0px; - padding: 0px; - spacing: 0px; border-radius: 10px; } textbox { padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; } error-message { padding: 15px; - border-radius: 20px; - background-color: @background; + border-radius: 20px; + background-color: @background; text-color: @foreground; } diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 31309ef..11a9670 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -1,12 +1,13 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ +/* Main Config */ /* ---- Configuration ---- */ configuration { modi: "drun,run"; - font: "Fira Code SemiBold 12"; + font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,6 +15,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; + dpi: 1; } @@ -22,16 +24,15 @@ configuration { /* ---- Window ---- */ window { - width: 45%; - height: 45%; + width: 35%; x-offset: 0px; y-offset: 0px; spacing: 0px; - padding: 0px; + padding: 2px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -45,16 +46,13 @@ window { mainbox { enabled: true; orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + padding: 20px; + background-image: url("~/.config/rofi/.current_wallpaper", width); children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; @@ -62,10 +60,10 @@ imagebox { /* ---- Listbox ---- */ listbox { - spacing: 20px; + spacing: 4px; background-color: transparent; orientation: vertical; - children: [ "message", "listview" ]; + children: [ "listview" ]; } /* ---- Dummy ---- */ dummy { @@ -80,14 +78,16 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { @@ -95,7 +95,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose"; + placeholder: "Search"; placeholder-color: inherit; } @@ -108,37 +108,33 @@ mode-switcher{ } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: transparent; + text-color: inherit; + cursor: pointer; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - border-radius: 10px; - border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + enabled: true; + columns: 1; + lines: 9; + spacing: 4px; + dynamic: true; + enabled: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: true; + fixed-height: false; + fixed-columns: false; + background-color: transparent; } /* ---- Element ---- */ @@ -147,7 +143,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -215,26 +211,19 @@ element-text { /*****----- Message -----*****/ message { background-color: transparent; - border: 0px; margin: 20px 0px 0px 0px; - padding: 0px; - spacing: 0px; border-radius: 10px; } textbox { padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; } error-message { padding: 15px; - border-radius: 20px; - background-color: @background; + border-radius: 20px; + background-color: @background; text-color: @foreground; } diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index 36dff6d..31309ef 100644 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -22,8 +22,8 @@ configuration { /* ---- Window ---- */ window { - width: 45%; - height: 45%; + width: 45%; + height: 45%; x-offset: 0px; y-offset: 0px; spacing: 0px; diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index 24828ad..39af66a 100644 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -22,8 +22,8 @@ configuration { /* ---- Window ---- */ window { - width: 45%; - height: 45%; + width: 45%; + height: 45%; x-offset: 0px; y-offset: 0px; spacing: 0px; From 8460e015243a8323ffb7483c13e1e2692f5ca59c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 Nov 2023 01:34:39 +0900 Subject: [PATCH 02/10] rofi changes --- .../rofi/resolution/1080p/config-compact.rasi | 9 +- config/rofi/resolution/1080p/config-long.rasi | 38 ++++---- .../resolution/1080p/config-rofi-Beats.rasi | 28 +++--- ...onfig-short.rasi => config-wallpaper.rasi} | 38 ++++---- .../1080p/config-waybar-layout.rasi | 88 ++++++++---------- .../resolution/1080p/config-waybar-style.rasi | 88 ++++++++---------- config/rofi/resolution/1080p/config.rasi | 89 ++++++++----------- .../rofi/resolution/1440p/config-compact.rasi | 9 +- config/rofi/resolution/1440p/config-long.rasi | 38 ++++---- .../resolution/1440p/config-rofi-Beats.rasi | 28 +++--- ...onfig-short.rasi => config-wallpaper.rasi} | 38 ++++---- .../1440p/config-waybar-layout.rasi | 88 ++++++++---------- .../resolution/1440p/config-waybar-style.rasi | 88 ++++++++---------- config/rofi/resolution/1440p/config.rasi | 89 ++++++++----------- 14 files changed, 340 insertions(+), 416 deletions(-) rename config/rofi/resolution/1080p/{config-short.rasi => config-wallpaper.rasi} (89%) rename config/rofi/resolution/1440p/{config-short.rasi => config-wallpaper.rasi} (89%) diff --git a/config/rofi/resolution/1080p/config-compact.rasi b/config/rofi/resolution/1080p/config-compact.rasi index ffd5ac0..9e97306 100644 --- a/config/rofi/resolution/1080p/config-compact.rasi +++ b/config/rofi/resolution/1080p/config-compact.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -23,7 +23,6 @@ configuration { /* ---- Window ---- */ window { width: 40%; - height: 30%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -47,8 +46,8 @@ mainbox { orientation: horizontal; spacing: 0px; margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", width); children: [ "imagebox", "listbox" ]; } diff --git a/config/rofi/resolution/1080p/config-long.rasi b/config/rofi/resolution/1080p/config-long.rasi index 360f250..a3d683a 100644 --- a/config/rofi/resolution/1080p/config-long.rasi +++ b/config/rofi/resolution/1080p/config-long.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,8 +22,7 @@ configuration { /* ---- Window ---- */ window { - width: 35%; - height: 60%; + width: 30%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -44,18 +43,18 @@ window { /* ---- Mainbox ---- */ mainbox { enabled: true; - orientation: horizontal; + orientation: vertical; spacing: 0px; margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; + padding: 6px; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } @@ -77,9 +76,10 @@ inputbar { enabled: true; text-color: @foreground; spacing: 10px; - padding: 15px; + padding: 20px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } @@ -88,6 +88,7 @@ textbox-prompt-colon { expand: false; str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { @@ -125,7 +126,7 @@ button selected { listview { enabled: true; columns: 1; - lines: 12; + lines: 20; cycle: true; dynamic: true; scrollbar: true; @@ -134,22 +135,21 @@ listview { fixed-height: true; fixed-columns: true; spacing: 0px; - padding: 10px; + padding: 2px; margin: 0px; border-radius: 10px; border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; } /* ---- Element ---- */ element { enabled: true; - padding: 5px; + padding: 2px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; - border: 0px; } element normal.normal { @@ -223,17 +223,17 @@ message { } textbox { - padding: 15px; + padding: 6px; margin: 0px; border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; } error-message { - padding: 15px; + padding: 6px; border-radius: 20px; background-color: @background; text-color: @foreground; diff --git a/config/rofi/resolution/1080p/config-rofi-Beats.rasi b/config/rofi/resolution/1080p/config-rofi-Beats.rasi index 49afe78..c361950 100644 --- a/config/rofi/resolution/1080p/config-rofi-Beats.rasi +++ b/config/rofi/resolution/1080p/config-rofi-Beats.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,16 +22,16 @@ configuration { /* ---- Window ---- */ window { - width: 45%; - height: 45%; + width: 35%; + /*height: 45%;*/ x-offset: 0px; y-offset: 0px; spacing: 0px; padding: 0px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -48,7 +48,7 @@ mainbox { spacing: 0px; margin: 0px; background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper",width); children: [ "imagebox", "listbox" ]; } @@ -80,14 +80,16 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "📻 "; text-color: inherit; + background-color: transparent; } entry { @@ -95,7 +97,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose"; + placeholder: "Choose Online Music"; placeholder-color: inherit; } @@ -110,7 +112,7 @@ mode-switcher{ button { padding: 10px; border-radius: 10px; - background-color: @background; + background-color: transparent; text-color: inherit; cursor: pointer; border: 0px; @@ -138,7 +140,7 @@ listview { margin: 0px; border-radius: 10px; border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; } /* ---- Element ---- */ @@ -147,7 +149,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -226,7 +228,7 @@ textbox { padding: 15px; margin: 0px; border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; diff --git a/config/rofi/resolution/1080p/config-short.rasi b/config/rofi/resolution/1080p/config-wallpaper.rasi similarity index 89% rename from config/rofi/resolution/1080p/config-short.rasi rename to config/rofi/resolution/1080p/config-wallpaper.rasi index 008df19..0ae66e2 100644 --- a/config/rofi/resolution/1080p/config-short.rasi +++ b/config/rofi/resolution/1080p/config-wallpaper.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -23,7 +23,6 @@ configuration { /* ---- Window ---- */ window { width: 20%; - height: 50%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -44,18 +43,18 @@ window { /* ---- Mainbox ---- */ mainbox { enabled: true; - orientation: horizontal; + orientation: vertical; spacing: 0px; margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; + padding: 6px; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } @@ -77,9 +76,10 @@ inputbar { enabled: true; text-color: @foreground; spacing: 10px; - padding: 15px; + padding: 20px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } @@ -88,6 +88,7 @@ textbox-prompt-colon { expand: false; str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { @@ -95,7 +96,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose"; + placeholder: "Choose Wallpaper"; placeholder-color: inherit; } @@ -125,7 +126,7 @@ button selected { listview { enabled: true; columns: 1; - lines: 12; + lines: 10; cycle: true; dynamic: true; scrollbar: true; @@ -134,22 +135,21 @@ listview { fixed-height: true; fixed-columns: true; spacing: 0px; - padding: 10px; + padding: 2px; margin: 0px; border-radius: 10px; border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; } /* ---- Element ---- */ element { enabled: true; - padding: 5px; + padding: 2px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; - border: 0px; } element normal.normal { @@ -223,17 +223,17 @@ message { } textbox { - padding: 15px; + padding: 6px; margin: 0px; border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; } error-message { - padding: 15px; + padding: 6px; border-radius: 20px; background-color: @background; text-color: @foreground; diff --git a/config/rofi/resolution/1080p/config-waybar-layout.rasi b/config/rofi/resolution/1080p/config-waybar-layout.rasi index 10f619f..1c31227 100644 --- a/config/rofi/resolution/1080p/config-waybar-layout.rasi +++ b/config/rofi/resolution/1080p/config-waybar-layout.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,16 +22,15 @@ configuration { /* ---- Window ---- */ window { - width: 50%; - height: 50%; + width: 34%; x-offset: 0px; y-offset: 0px; spacing: 0px; - padding: 0px; + padding: 2px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -45,27 +44,24 @@ window { mainbox { enabled: true; orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + padding: 20px; + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; + spacing: 4px; + background-color: transparent; orientation: vertical; - children: [ "message", "listview" ]; + children: [ "listview" ]; } /* ---- Dummy ---- */ dummy { @@ -80,22 +76,24 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose Waybar Layout"; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose Waybar Style"; placeholder-color: inherit; } @@ -108,16 +106,15 @@ mode-switcher{ } button { - padding: 10px; - border-radius: 10px; - background-color: @background; + padding: 10px; + border-radius: 10px; + background-color: transparent; text-color: inherit; cursor: pointer; - border: 0px; } button selected { - background-color: @selected-normal-background; + background-color: @selected-normal-background; text-color: @foreground; } @@ -125,20 +122,16 @@ button selected { listview { enabled: true; columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - border-radius: 10px; - border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + lines: 16; + spacing: 4px; + dynamic: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: false; + fixed-columns: false; + background-color: transparent; } /* ---- Element ---- */ @@ -147,7 +140,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -215,26 +208,19 @@ element-text { /*****----- Message -----*****/ message { background-color: transparent; - border: 0px; margin: 20px 0px 0px 0px; - padding: 0px; - spacing: 0px; border-radius: 10px; } textbox { padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; } error-message { padding: 15px; - border-radius: 20px; - background-color: @background; + border-radius: 20px; + background-color: @background; text-color: @foreground; } diff --git a/config/rofi/resolution/1080p/config-waybar-style.rasi b/config/rofi/resolution/1080p/config-waybar-style.rasi index 545d9b6..1c31227 100644 --- a/config/rofi/resolution/1080p/config-waybar-style.rasi +++ b/config/rofi/resolution/1080p/config-waybar-style.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,16 +22,15 @@ configuration { /* ---- Window ---- */ window { - width: 50%; - height: 50%; + width: 34%; x-offset: 0px; y-offset: 0px; spacing: 0px; - padding: 0px; + padding: 2px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -45,27 +44,24 @@ window { mainbox { enabled: true; orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + padding: 20px; + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; + spacing: 4px; + background-color: transparent; orientation: vertical; - children: [ "message", "listview" ]; + children: [ "listview" ]; } /* ---- Dummy ---- */ dummy { @@ -80,22 +76,24 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose Waybar Syles"; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose Waybar Style"; placeholder-color: inherit; } @@ -108,16 +106,15 @@ mode-switcher{ } button { - padding: 10px; - border-radius: 10px; - background-color: @background; + padding: 10px; + border-radius: 10px; + background-color: transparent; text-color: inherit; cursor: pointer; - border: 0px; } button selected { - background-color: @selected-normal-background; + background-color: @selected-normal-background; text-color: @foreground; } @@ -125,20 +122,16 @@ button selected { listview { enabled: true; columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - border-radius: 10px; - border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + lines: 16; + spacing: 4px; + dynamic: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: false; + fixed-columns: false; + background-color: transparent; } /* ---- Element ---- */ @@ -147,7 +140,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -215,26 +208,19 @@ element-text { /*****----- Message -----*****/ message { background-color: transparent; - border: 0px; margin: 20px 0px 0px 0px; - padding: 0px; - spacing: 0px; border-radius: 10px; } textbox { padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; } error-message { padding: 15px; - border-radius: 20px; - background-color: @background; + border-radius: 20px; + background-color: @background; text-color: @foreground; } diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index 31309ef..6a06eae 100644 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -1,4 +1,5 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ +/* Main Config */ /* ---- Configuration ---- */ configuration { @@ -6,7 +7,7 @@ configuration { font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,6 +15,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; + dpi: 1; } @@ -22,16 +24,15 @@ configuration { /* ---- Window ---- */ window { - width: 45%; - height: 45%; + width: 35%; x-offset: 0px; y-offset: 0px; spacing: 0px; - padding: 0px; + padding: 2px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -45,16 +46,13 @@ window { mainbox { enabled: true; orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + padding: 20px; + background-image: url("~/.config/rofi/.current_wallpaper", width); children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; @@ -62,10 +60,10 @@ imagebox { /* ---- Listbox ---- */ listbox { - spacing: 20px; + spacing: 4px; background-color: transparent; orientation: vertical; - children: [ "message", "listview" ]; + children: [ "listview" ]; } /* ---- Dummy ---- */ dummy { @@ -80,14 +78,16 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { @@ -95,7 +95,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose"; + placeholder: "Search"; placeholder-color: inherit; } @@ -108,37 +108,33 @@ mode-switcher{ } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: transparent; + text-color: inherit; + cursor: pointer; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - border-radius: 10px; - border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + enabled: true; + columns: 1; + lines: 9; + spacing: 4px; + dynamic: true; + enabled: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: true; + fixed-height: false; + fixed-columns: false; + background-color: transparent; } /* ---- Element ---- */ @@ -147,7 +143,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -215,26 +211,19 @@ element-text { /*****----- Message -----*****/ message { background-color: transparent; - border: 0px; margin: 20px 0px 0px 0px; - padding: 0px; - spacing: 0px; border-radius: 10px; } textbox { padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; } error-message { padding: 15px; - border-radius: 20px; - background-color: @background; + border-radius: 20px; + background-color: @background; text-color: @foreground; } diff --git a/config/rofi/resolution/1440p/config-compact.rasi b/config/rofi/resolution/1440p/config-compact.rasi index 4f6b6ad..cf18dbe 100644 --- a/config/rofi/resolution/1440p/config-compact.rasi +++ b/config/rofi/resolution/1440p/config-compact.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -23,7 +23,6 @@ configuration { /* ---- Window ---- */ window { width: 40%; - height: 30%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -47,8 +46,8 @@ mainbox { orientation: horizontal; spacing: 0px; margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", width); children: [ "imagebox", "listbox" ]; } diff --git a/config/rofi/resolution/1440p/config-long.rasi b/config/rofi/resolution/1440p/config-long.rasi index 4ce0b67..aed3d78 100644 --- a/config/rofi/resolution/1440p/config-long.rasi +++ b/config/rofi/resolution/1440p/config-long.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,8 +22,7 @@ configuration { /* ---- Window ---- */ window { - width: 35%; - height: 60%; + width: 30%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -44,18 +43,18 @@ window { /* ---- Mainbox ---- */ mainbox { enabled: true; - orientation: horizontal; + orientation: vertical; spacing: 0px; margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; + padding: 6px; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } @@ -77,9 +76,10 @@ inputbar { enabled: true; text-color: @foreground; spacing: 10px; - padding: 15px; + padding: 20px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } @@ -88,6 +88,7 @@ textbox-prompt-colon { expand: false; str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { @@ -125,7 +126,7 @@ button selected { listview { enabled: true; columns: 1; - lines: 12; + lines: 20; cycle: true; dynamic: true; scrollbar: true; @@ -134,22 +135,21 @@ listview { fixed-height: true; fixed-columns: true; spacing: 0px; - padding: 10px; + padding: 2px; margin: 0px; border-radius: 10px; border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; } /* ---- Element ---- */ element { enabled: true; - padding: 5px; + padding: 2px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; - border: 0px; } element normal.normal { @@ -223,17 +223,17 @@ message { } textbox { - padding: 15px; + padding: 6px; margin: 0px; border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; } error-message { - padding: 15px; + padding: 6px; border-radius: 20px; background-color: @background; text-color: @foreground; diff --git a/config/rofi/resolution/1440p/config-rofi-Beats.rasi b/config/rofi/resolution/1440p/config-rofi-Beats.rasi index 77d7185..d7656e5 100644 --- a/config/rofi/resolution/1440p/config-rofi-Beats.rasi +++ b/config/rofi/resolution/1440p/config-rofi-Beats.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,16 +22,16 @@ configuration { /* ---- Window ---- */ window { - width: 45%; - height: 45%; + width: 35%; + /*height: 45%;*/ x-offset: 0px; y-offset: 0px; spacing: 0px; padding: 0px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -48,7 +48,7 @@ mainbox { spacing: 0px; margin: 0px; background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper",width); children: [ "imagebox", "listbox" ]; } @@ -80,14 +80,16 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "📻 "; text-color: inherit; + background-color: transparent; } entry { @@ -95,7 +97,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose"; + placeholder: "Choose Online Music"; placeholder-color: inherit; } @@ -110,7 +112,7 @@ mode-switcher{ button { padding: 10px; border-radius: 10px; - background-color: @background; + background-color: transparent; text-color: inherit; cursor: pointer; border: 0px; @@ -138,7 +140,7 @@ listview { margin: 0px; border-radius: 10px; border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; } /* ---- Element ---- */ @@ -147,7 +149,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -226,7 +228,7 @@ textbox { padding: 15px; margin: 0px; border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; diff --git a/config/rofi/resolution/1440p/config-short.rasi b/config/rofi/resolution/1440p/config-wallpaper.rasi similarity index 89% rename from config/rofi/resolution/1440p/config-short.rasi rename to config/rofi/resolution/1440p/config-wallpaper.rasi index 8d3ac37..1b99abb 100644 --- a/config/rofi/resolution/1440p/config-short.rasi +++ b/config/rofi/resolution/1440p/config-wallpaper.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -23,7 +23,6 @@ configuration { /* ---- Window ---- */ window { width: 20%; - height: 50%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -44,18 +43,18 @@ window { /* ---- Mainbox ---- */ mainbox { enabled: true; - orientation: horizontal; + orientation: vertical; spacing: 0px; margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; + padding: 6px; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } @@ -77,9 +76,10 @@ inputbar { enabled: true; text-color: @foreground; spacing: 10px; - padding: 15px; + padding: 20px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } @@ -88,6 +88,7 @@ textbox-prompt-colon { expand: false; str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { @@ -95,7 +96,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose"; + placeholder: "Choose Wallpaper"; placeholder-color: inherit; } @@ -125,7 +126,7 @@ button selected { listview { enabled: true; columns: 1; - lines: 12; + lines: 10; cycle: true; dynamic: true; scrollbar: true; @@ -134,22 +135,21 @@ listview { fixed-height: true; fixed-columns: true; spacing: 0px; - padding: 10px; + padding: 2px; margin: 0px; border-radius: 10px; border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; } /* ---- Element ---- */ element { enabled: true; - padding: 5px; + padding: 2px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; - border: 0px; } element normal.normal { @@ -223,17 +223,17 @@ message { } textbox { - padding: 15px; + padding: 6px; margin: 0px; border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; } error-message { - padding: 15px; + padding: 6px; border-radius: 20px; background-color: @background; text-color: @foreground; diff --git a/config/rofi/resolution/1440p/config-waybar-layout.rasi b/config/rofi/resolution/1440p/config-waybar-layout.rasi index b953570..3c3b6a7 100644 --- a/config/rofi/resolution/1440p/config-waybar-layout.rasi +++ b/config/rofi/resolution/1440p/config-waybar-layout.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,16 +22,15 @@ configuration { /* ---- Window ---- */ window { - width: 50%; - height: 50%; + width: 34%; x-offset: 0px; y-offset: 0px; spacing: 0px; - padding: 0px; + padding: 2px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -45,27 +44,24 @@ window { mainbox { enabled: true; orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + padding: 20px; + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; + spacing: 4px; + background-color: transparent; orientation: vertical; - children: [ "message", "listview" ]; + children: [ "listview" ]; } /* ---- Dummy ---- */ dummy { @@ -80,22 +76,24 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose Waybar Layout"; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose Waybar Style"; placeholder-color: inherit; } @@ -108,16 +106,15 @@ mode-switcher{ } button { - padding: 10px; - border-radius: 10px; - background-color: @background; + padding: 10px; + border-radius: 10px; + background-color: transparent; text-color: inherit; cursor: pointer; - border: 0px; } button selected { - background-color: @selected-normal-background; + background-color: @selected-normal-background; text-color: @foreground; } @@ -125,20 +122,16 @@ button selected { listview { enabled: true; columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - border-radius: 10px; - border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + lines: 16; + spacing: 4px; + dynamic: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: false; + fixed-columns: false; + background-color: transparent; } /* ---- Element ---- */ @@ -147,7 +140,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -215,26 +208,19 @@ element-text { /*****----- Message -----*****/ message { background-color: transparent; - border: 0px; margin: 20px 0px 0px 0px; - padding: 0px; - spacing: 0px; border-radius: 10px; } textbox { padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; } error-message { padding: 15px; - border-radius: 20px; - background-color: @background; + border-radius: 20px; + background-color: @background; text-color: @foreground; } diff --git a/config/rofi/resolution/1440p/config-waybar-style.rasi b/config/rofi/resolution/1440p/config-waybar-style.rasi index 3941594..3c3b6a7 100644 --- a/config/rofi/resolution/1440p/config-waybar-style.rasi +++ b/config/rofi/resolution/1440p/config-waybar-style.rasi @@ -6,7 +6,7 @@ configuration { font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,7 +14,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; - + dpi: 1; } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,16 +22,15 @@ configuration { /* ---- Window ---- */ window { - width: 50%; - height: 50%; + width: 34%; x-offset: 0px; y-offset: 0px; spacing: 0px; - padding: 0px; + padding: 2px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -45,27 +44,24 @@ window { mainbox { enabled: true; orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + padding: 20px; + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; + spacing: 4px; + background-color: transparent; orientation: vertical; - children: [ "message", "listview" ]; + children: [ "listview" ]; } /* ---- Dummy ---- */ dummy { @@ -80,22 +76,24 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose Waybar Syles"; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose Waybar Style"; placeholder-color: inherit; } @@ -108,16 +106,15 @@ mode-switcher{ } button { - padding: 10px; - border-radius: 10px; - background-color: @background; + padding: 10px; + border-radius: 10px; + background-color: transparent; text-color: inherit; cursor: pointer; - border: 0px; } button selected { - background-color: @selected-normal-background; + background-color: @selected-normal-background; text-color: @foreground; } @@ -125,20 +122,16 @@ button selected { listview { enabled: true; columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - border-radius: 10px; - border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + lines: 16; + spacing: 4px; + dynamic: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: false; + fixed-columns: false; + background-color: transparent; } /* ---- Element ---- */ @@ -147,7 +140,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -215,26 +208,19 @@ element-text { /*****----- Message -----*****/ message { background-color: transparent; - border: 0px; margin: 20px 0px 0px 0px; - padding: 0px; - spacing: 0px; border-radius: 10px; } textbox { padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; } error-message { padding: 15px; - border-radius: 20px; - background-color: @background; + border-radius: 20px; + background-color: @background; text-color: @foreground; } diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index 39af66a..11a9670 100644 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -1,4 +1,5 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ +/* Main Config */ /* ---- Configuration ---- */ configuration { @@ -6,7 +7,7 @@ configuration { font: "Fira Code SemiBold 14"; show-icons: true; display-drun: ""; - display-run: ""; + display-run: ""; display-filebrowser: ""; display-window: ""; drun-display-format: "{name}"; @@ -14,6 +15,7 @@ configuration { me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; + dpi: 1; } @@ -22,16 +24,15 @@ configuration { /* ---- Window ---- */ window { - width: 45%; - height: 45%; + width: 35%; x-offset: 0px; y-offset: 0px; spacing: 0px; - padding: 0px; + padding: 2px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -45,16 +46,13 @@ window { mainbox { enabled: true; orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); + padding: 20px; + background-image: url("~/.config/rofi/.current_wallpaper", width); children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; @@ -62,10 +60,10 @@ imagebox { /* ---- Listbox ---- */ listbox { - spacing: 20px; + spacing: 4px; background-color: transparent; orientation: vertical; - children: [ "message", "listview" ]; + children: [ "listview" ]; } /* ---- Dummy ---- */ dummy { @@ -80,14 +78,16 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { @@ -95,7 +95,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose"; + placeholder: "Search"; placeholder-color: inherit; } @@ -108,37 +108,33 @@ mode-switcher{ } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: transparent; + text-color: inherit; + cursor: pointer; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - border-radius: 10px; - border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + enabled: true; + columns: 1; + lines: 9; + spacing: 4px; + dynamic: true; + enabled: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: true; + fixed-height: false; + fixed-columns: false; + background-color: transparent; } /* ---- Element ---- */ @@ -147,7 +143,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -215,26 +211,19 @@ element-text { /*****----- Message -----*****/ message { background-color: transparent; - border: 0px; margin: 20px 0px 0px 0px; - padding: 0px; - spacing: 0px; border-radius: 10px; } textbox { padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; } error-message { padding: 15px; - border-radius: 20px; - background-color: @background; + border-radius: 20px; + background-color: @background; text-color: @foreground; } From 57b2088bbbc3cd3c8e9c6da490bbe6709ea37b41 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 Nov 2023 09:47:24 +0900 Subject: [PATCH 03/10] tweaked rofi --- config/hypr/configs/Keybinds.conf | 8 +- config/rofi/config-compact.rasi | 23 ++-- config/rofi/config-long.rasi | 6 +- config/rofi/config-rofi-Beats.rasi | 2 +- config/rofi/config-wallpaper.rasi | 103 ++++++++---------- config/rofi/config-waybar-layout.rasi | 2 +- config/rofi/config-waybar-style.rasi | 2 +- config/rofi/config.rasi | 2 +- .../rofi/resolution/1080p/config-compact.rasi | 21 ++-- config/rofi/resolution/1080p/config-long.rasi | 4 +- .../resolution/1080p/config-wallpaper.rasi | 101 ++++++++--------- .../rofi/resolution/1440p/config-compact.rasi | 21 ++-- config/rofi/resolution/1440p/config-long.rasi | 4 +- .../resolution/1440p/config-wallpaper.rasi | 101 ++++++++--------- 14 files changed, 189 insertions(+), 211 deletions(-) diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 1a8a56b..7af1275 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -15,11 +15,13 @@ $screenshot = $scriptsDir/ScreenShot.sh $volume = $scriptsDir/Volume.sh # see https://wiki.hyprland.org/Configuring/Binds/ for more +# rofi launcher +bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser +bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser +#bind = CTRL, D, exec, pkill rofi || rofi -dmenu + bind = CTRL ALT, Delete, exec, hyprctl dispatch exit 0 bind = $mainMod SHIFT, C, exec, hyprctl reload -bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi run,drun,filebrowser -bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi run,drun,filebrowser -#bind = CTRL, D, exec, pkill rofi || rofi -dmenu bind = $mainMod SHIFT, Q, killactive, bind = $mainMod SHIFT, F, togglefloating, bind = $mainMod ALT, F, exec, hyprctl dispatch workspaceopt allfloat diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi index cf18dbe..c6d41ab 100644 --- a/config/rofi/config-compact.rasi +++ b/config/rofi/config-compact.rasi @@ -3,7 +3,7 @@ /* ---- Configuration ---- */ configuration { modi: "drun,run"; - font: "Fira Code SemiBold 14"; + font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; display-run: ""; @@ -23,14 +23,15 @@ configuration { /* ---- Window ---- */ window { width: 40%; + /*height: 45%;*/ x-offset: 0px; y-offset: 0px; spacing: 0px; padding: 0px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -46,8 +47,8 @@ mainbox { orientation: horizontal; spacing: 0px; margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", width); + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper",width); children: [ "imagebox", "listbox" ]; } @@ -79,6 +80,7 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } @@ -87,6 +89,7 @@ textbox-prompt-colon { expand: false; str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { @@ -94,7 +97,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose"; + placeholder: "View / Edit Hyprland Settings"; placeholder-color: inherit; } @@ -109,7 +112,7 @@ mode-switcher{ button { padding: 10px; border-radius: 10px; - background-color: @background; + background-color: transparent; text-color: inherit; cursor: pointer; border: 0px; @@ -137,7 +140,7 @@ listview { margin: 0px; border-radius: 10px; border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; } /* ---- Element ---- */ @@ -146,7 +149,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -225,7 +228,7 @@ textbox { padding: 15px; margin: 0px; border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi index aed3d78..58d7731 100644 --- a/config/rofi/config-long.rasi +++ b/config/rofi/config-long.rasi @@ -3,7 +3,7 @@ /* ---- Configuration ---- */ configuration { modi: "drun,run"; - font: "Fira Code SemiBold 14"; + font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; display-run: ""; @@ -22,7 +22,7 @@ configuration { /* ---- Window ---- */ window { - width: 30%; + width: 45%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -126,7 +126,7 @@ button selected { listview { enabled: true; columns: 1; - lines: 20; + lines: 15; cycle: true; dynamic: true; scrollbar: true; diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index d7656e5..c361950 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -3,7 +3,7 @@ /* ---- Configuration ---- */ configuration { modi: "drun,run"; - font: "Fira Code SemiBold 14"; + font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; display-run: ""; diff --git a/config/rofi/config-wallpaper.rasi b/config/rofi/config-wallpaper.rasi index 1b99abb..b86ebe6 100644 --- a/config/rofi/config-wallpaper.rasi +++ b/config/rofi/config-wallpaper.rasi @@ -1,9 +1,10 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ +/* Main Config */ /* ---- Configuration ---- */ configuration { modi: "drun,run"; - font: "Fira Code SemiBold 14"; + font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; display-run: ""; @@ -15,6 +16,7 @@ configuration { me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; dpi: 1; + } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,15 +24,15 @@ configuration { /* ---- Window ---- */ window { - width: 20%; + width: 40%; x-offset: 0px; y-offset: 0px; spacing: 0px; - padding: 0px; + padding: 2px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -43,28 +45,25 @@ window { /* ---- Mainbox ---- */ mainbox { enabled: true; - orientation: vertical; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: [ "listbox" ]; + orientation: horizontal; + padding: 20px; + background-image: url("~/.config/rofi/.current_wallpaper", width); + children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 6px; - background-color: transparent; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; + spacing: 4px; background-color: transparent; orientation: vertical; - children: [ "inputbar", "message", "listview" ]; + children: [ "listview" ]; } /* ---- Dummy ---- */ dummy { @@ -76,19 +75,19 @@ inputbar { enabled: true; text-color: @foreground; spacing: 10px; - padding: 20px; + padding: 15px; border-radius: 10px; border-color: @foreground; - background-color: transparent; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "󰸉 "; text-color: inherit; - background-color: transparent; + background-color: transparent; } entry { @@ -96,7 +95,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose Wallpaper"; + placeholder: "Choose Desired wallpaper"; placeholder-color: inherit; } @@ -109,47 +108,44 @@ mode-switcher{ } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: transparent; + text-color: inherit; + cursor: pointer; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 2px; - margin: 0px; - border-radius: 10px; - border: 0px; - background-color: transparent; + enabled: true; + columns: 1; + lines: 10; + spacing: 4px; + dynamic: true; + enabled: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: true; + fixed-height: false; + fixed-columns: false; + background-color: transparent; } /* ---- Element ---- */ element { enabled: true; - padding: 2px; + padding: 5px; margin: 2px; cursor: pointer; background-color: transparent; border-radius: 10px; + border: 0px; } element normal.normal { @@ -215,26 +211,19 @@ element-text { /*****----- Message -----*****/ message { background-color: transparent; - border: 0px; margin: 20px 0px 0px 0px; - padding: 0px; - spacing: 0px; border-radius: 10px; } textbox { - padding: 6px; - margin: 0px; - border-radius: 0px; - background-color: transparent; + padding: 15px; + background-color: transparent; text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; } error-message { - padding: 6px; - border-radius: 20px; - background-color: @background; + padding: 15px; + border-radius: 20px; + background-color: @background; text-color: @foreground; } diff --git a/config/rofi/config-waybar-layout.rasi b/config/rofi/config-waybar-layout.rasi index 3c3b6a7..1c31227 100644 --- a/config/rofi/config-waybar-layout.rasi +++ b/config/rofi/config-waybar-layout.rasi @@ -3,7 +3,7 @@ /* ---- Configuration ---- */ configuration { modi: "drun,run"; - font: "Fira Code SemiBold 14"; + font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; display-run: ""; diff --git a/config/rofi/config-waybar-style.rasi b/config/rofi/config-waybar-style.rasi index 3c3b6a7..1c31227 100644 --- a/config/rofi/config-waybar-style.rasi +++ b/config/rofi/config-waybar-style.rasi @@ -3,7 +3,7 @@ /* ---- Configuration ---- */ configuration { modi: "drun,run"; - font: "Fira Code SemiBold 14"; + font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; display-run: ""; diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 11a9670..6a06eae 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -4,7 +4,7 @@ /* ---- Configuration ---- */ configuration { modi: "drun,run"; - font: "Fira Code SemiBold 14"; + font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; display-run: ""; diff --git a/config/rofi/resolution/1080p/config-compact.rasi b/config/rofi/resolution/1080p/config-compact.rasi index 9e97306..c6d41ab 100644 --- a/config/rofi/resolution/1080p/config-compact.rasi +++ b/config/rofi/resolution/1080p/config-compact.rasi @@ -23,14 +23,15 @@ configuration { /* ---- Window ---- */ window { width: 40%; + /*height: 45%;*/ x-offset: 0px; y-offset: 0px; spacing: 0px; padding: 0px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -46,8 +47,8 @@ mainbox { orientation: horizontal; spacing: 0px; margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", width); + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper",width); children: [ "imagebox", "listbox" ]; } @@ -79,6 +80,7 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } @@ -87,6 +89,7 @@ textbox-prompt-colon { expand: false; str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { @@ -94,7 +97,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose"; + placeholder: "View / Edit Hyprland Settings"; placeholder-color: inherit; } @@ -109,7 +112,7 @@ mode-switcher{ button { padding: 10px; border-radius: 10px; - background-color: @background; + background-color: transparent; text-color: inherit; cursor: pointer; border: 0px; @@ -137,7 +140,7 @@ listview { margin: 0px; border-radius: 10px; border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; } /* ---- Element ---- */ @@ -146,7 +149,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -225,7 +228,7 @@ textbox { padding: 15px; margin: 0px; border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; diff --git a/config/rofi/resolution/1080p/config-long.rasi b/config/rofi/resolution/1080p/config-long.rasi index a3d683a..58d7731 100644 --- a/config/rofi/resolution/1080p/config-long.rasi +++ b/config/rofi/resolution/1080p/config-long.rasi @@ -22,7 +22,7 @@ configuration { /* ---- Window ---- */ window { - width: 30%; + width: 45%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -126,7 +126,7 @@ button selected { listview { enabled: true; columns: 1; - lines: 20; + lines: 15; cycle: true; dynamic: true; scrollbar: true; diff --git a/config/rofi/resolution/1080p/config-wallpaper.rasi b/config/rofi/resolution/1080p/config-wallpaper.rasi index 0ae66e2..b86ebe6 100644 --- a/config/rofi/resolution/1080p/config-wallpaper.rasi +++ b/config/rofi/resolution/1080p/config-wallpaper.rasi @@ -1,4 +1,5 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ +/* Main Config */ /* ---- Configuration ---- */ configuration { @@ -15,6 +16,7 @@ configuration { me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; dpi: 1; + } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,15 +24,15 @@ configuration { /* ---- Window ---- */ window { - width: 20%; + width: 40%; x-offset: 0px; y-offset: 0px; spacing: 0px; - padding: 0px; + padding: 2px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -43,28 +45,25 @@ window { /* ---- Mainbox ---- */ mainbox { enabled: true; - orientation: vertical; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: [ "listbox" ]; + orientation: horizontal; + padding: 20px; + background-image: url("~/.config/rofi/.current_wallpaper", width); + children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 6px; - background-color: transparent; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; + spacing: 4px; background-color: transparent; orientation: vertical; - children: [ "inputbar", "message", "listview" ]; + children: [ "listview" ]; } /* ---- Dummy ---- */ dummy { @@ -76,19 +75,19 @@ inputbar { enabled: true; text-color: @foreground; spacing: 10px; - padding: 20px; + padding: 15px; border-radius: 10px; border-color: @foreground; - background-color: transparent; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "󰸉 "; text-color: inherit; - background-color: transparent; + background-color: transparent; } entry { @@ -96,7 +95,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose Wallpaper"; + placeholder: "Choose Desired wallpaper"; placeholder-color: inherit; } @@ -109,47 +108,44 @@ mode-switcher{ } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: transparent; + text-color: inherit; + cursor: pointer; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 2px; - margin: 0px; - border-radius: 10px; - border: 0px; - background-color: transparent; + enabled: true; + columns: 1; + lines: 10; + spacing: 4px; + dynamic: true; + enabled: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: true; + fixed-height: false; + fixed-columns: false; + background-color: transparent; } /* ---- Element ---- */ element { enabled: true; - padding: 2px; + padding: 5px; margin: 2px; cursor: pointer; background-color: transparent; border-radius: 10px; + border: 0px; } element normal.normal { @@ -215,26 +211,19 @@ element-text { /*****----- Message -----*****/ message { background-color: transparent; - border: 0px; margin: 20px 0px 0px 0px; - padding: 0px; - spacing: 0px; border-radius: 10px; } textbox { - padding: 6px; - margin: 0px; - border-radius: 0px; - background-color: transparent; + padding: 15px; + background-color: transparent; text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; } error-message { - padding: 6px; - border-radius: 20px; - background-color: @background; + padding: 15px; + border-radius: 20px; + background-color: @background; text-color: @foreground; } diff --git a/config/rofi/resolution/1440p/config-compact.rasi b/config/rofi/resolution/1440p/config-compact.rasi index cf18dbe..d7a0750 100644 --- a/config/rofi/resolution/1440p/config-compact.rasi +++ b/config/rofi/resolution/1440p/config-compact.rasi @@ -23,14 +23,15 @@ configuration { /* ---- Window ---- */ window { width: 40%; + /*height: 45%;*/ x-offset: 0px; y-offset: 0px; spacing: 0px; padding: 0px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -46,8 +47,8 @@ mainbox { orientation: horizontal; spacing: 0px; margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", width); + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper",width); children: [ "imagebox", "listbox" ]; } @@ -79,6 +80,7 @@ inputbar { padding: 15px; border-radius: 10px; border-color: @foreground; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } @@ -87,6 +89,7 @@ textbox-prompt-colon { expand: false; str: "🔎 "; text-color: inherit; + background-color: transparent; } entry { @@ -94,7 +97,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose"; + placeholder: "View / Edit Hyprland Settings"; placeholder-color: inherit; } @@ -109,7 +112,7 @@ mode-switcher{ button { padding: 10px; border-radius: 10px; - background-color: @background; + background-color: transparent; text-color: inherit; cursor: pointer; border: 0px; @@ -137,7 +140,7 @@ listview { margin: 0px; border-radius: 10px; border: 0px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-color: transparent; } /* ---- Element ---- */ @@ -146,7 +149,7 @@ element { padding: 5px; margin: 2px; cursor: pointer; - background-color: @background; + background-color: transparent; border-radius: 10px; border: 0px; } @@ -225,7 +228,7 @@ textbox { padding: 15px; margin: 0px; border-radius: 0px; - background-color: @background; + background-color: transparent; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.0; diff --git a/config/rofi/resolution/1440p/config-long.rasi b/config/rofi/resolution/1440p/config-long.rasi index aed3d78..bfe8778 100644 --- a/config/rofi/resolution/1440p/config-long.rasi +++ b/config/rofi/resolution/1440p/config-long.rasi @@ -22,7 +22,7 @@ configuration { /* ---- Window ---- */ window { - width: 30%; + width: 45%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -126,7 +126,7 @@ button selected { listview { enabled: true; columns: 1; - lines: 20; + lines: 15; cycle: true; dynamic: true; scrollbar: true; diff --git a/config/rofi/resolution/1440p/config-wallpaper.rasi b/config/rofi/resolution/1440p/config-wallpaper.rasi index 1b99abb..e83e8aa 100644 --- a/config/rofi/resolution/1440p/config-wallpaper.rasi +++ b/config/rofi/resolution/1440p/config-wallpaper.rasi @@ -1,4 +1,5 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ +/* Main Config */ /* ---- Configuration ---- */ configuration { @@ -15,6 +16,7 @@ configuration { me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; dpi: 1; + } /* ---- Load pywal colors (custom wal template) ---- */ @@ -22,15 +24,15 @@ configuration { /* ---- Window ---- */ window { - width: 20%; + width: 40%; x-offset: 0px; y-offset: 0px; spacing: 0px; - padding: 0px; + padding: 2px; margin: 0px; color: transparent; - border: 2px; - border-color: @background; + border: 1px; + border-color: @active-background; cursor: "default"; transparency: "real"; location: center; @@ -43,28 +45,25 @@ window { /* ---- Mainbox ---- */ mainbox { enabled: true; - orientation: vertical; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: [ "listbox" ]; + orientation: horizontal; + padding: 20px; + background-image: url("~/.config/rofi/.current_wallpaper", width); + children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 6px; - background-color: transparent; + background-color: transparent; orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; + spacing: 4px; background-color: transparent; orientation: vertical; - children: [ "inputbar", "message", "listview" ]; + children: [ "listview" ]; } /* ---- Dummy ---- */ dummy { @@ -76,19 +75,19 @@ inputbar { enabled: true; text-color: @foreground; spacing: 10px; - padding: 20px; + padding: 15px; border-radius: 10px; border-color: @foreground; - background-color: transparent; + background-color: transparent; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { enabled: true; expand: false; - str: "🔎 "; + str: "󰸉 "; text-color: inherit; - background-color: transparent; + background-color: transparent; } entry { @@ -96,7 +95,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Choose Wallpaper"; + placeholder: "Choose Desired wallpaper"; placeholder-color: inherit; } @@ -109,47 +108,44 @@ mode-switcher{ } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: transparent; + text-color: inherit; + cursor: pointer; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 2px; - margin: 0px; - border-radius: 10px; - border: 0px; - background-color: transparent; + enabled: true; + columns: 1; + lines: 10; + spacing: 4px; + dynamic: true; + enabled: true; + cycle: true; + scrollbar: false; + layout: vertical; + reverse: true; + fixed-height: false; + fixed-columns: false; + background-color: transparent; } /* ---- Element ---- */ element { enabled: true; - padding: 2px; + padding: 5px; margin: 2px; cursor: pointer; background-color: transparent; border-radius: 10px; + border: 0px; } element normal.normal { @@ -215,26 +211,19 @@ element-text { /*****----- Message -----*****/ message { background-color: transparent; - border: 0px; margin: 20px 0px 0px 0px; - padding: 0px; - spacing: 0px; border-radius: 10px; } textbox { - padding: 6px; - margin: 0px; - border-radius: 0px; - background-color: transparent; + padding: 15px; + background-color: transparent; text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; } error-message { - padding: 6px; - border-radius: 20px; - background-color: @background; + padding: 15px; + border-radius: 20px; + background-color: @background; text-color: @foreground; } From 9c0791d57fccd887ea633989aa9488882b478ce6 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 Nov 2023 10:37:03 +0900 Subject: [PATCH 04/10] more tweaked rofi --- config/rofi/config-compact.rasi | 3 +-- config/rofi/config-rofi-Beats.rasi | 1 - config/rofi/config-wallpaper.rasi | 8 ++++---- config/rofi/config-waybar-layout.rasi | 6 +++--- config/rofi/config-waybar-style.rasi | 6 +++--- config/rofi/config.rasi | 6 +++--- config/rofi/resolution/1080p/config-compact.rasi | 3 +-- config/rofi/resolution/1080p/config-rofi-Beats.rasi | 1 - config/rofi/resolution/1080p/config-wallpaper.rasi | 8 ++++---- config/rofi/resolution/1080p/config-waybar-layout.rasi | 6 +++--- config/rofi/resolution/1080p/config-waybar-style.rasi | 6 +++--- config/rofi/resolution/1080p/config.rasi | 6 +++--- config/rofi/resolution/1440p/config-compact.rasi | 1 - config/rofi/resolution/1440p/config-rofi-Beats.rasi | 1 - config/rofi/resolution/1440p/config-wallpaper.rasi | 6 +++--- config/rofi/resolution/1440p/config-waybar-layout.rasi | 4 ++-- config/rofi/resolution/1440p/config-waybar-style.rasi | 4 ++-- config/rofi/resolution/1440p/config.rasi | 2 +- 18 files changed, 36 insertions(+), 42 deletions(-) diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi index c6d41ab..78ca58c 100644 --- a/config/rofi/config-compact.rasi +++ b/config/rofi/config-compact.rasi @@ -22,8 +22,7 @@ configuration { /* ---- Window ---- */ window { - width: 40%; - /*height: 45%;*/ + width: 42%; x-offset: 0px; y-offset: 0px; spacing: 0px; diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index c361950..fae4c9a 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -23,7 +23,6 @@ configuration { /* ---- Window ---- */ window { width: 35%; - /*height: 45%;*/ x-offset: 0px; y-offset: 0px; spacing: 0px; diff --git a/config/rofi/config-wallpaper.rasi b/config/rofi/config-wallpaper.rasi index b86ebe6..88e0a5f 100644 --- a/config/rofi/config-wallpaper.rasi +++ b/config/rofi/config-wallpaper.rasi @@ -47,7 +47,7 @@ mainbox { enabled: true; orientation: horizontal; padding: 20px; - background-image: url("~/.config/rofi/.current_wallpaper", width); + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "imagebox", "listbox" ]; } @@ -129,10 +129,10 @@ listview { dynamic: true; enabled: true; cycle: true; - scrollbar: false; + scrollbar: true; layout: vertical; - reverse: true; - fixed-height: false; + reverse: false; + fixed-height: true; fixed-columns: false; background-color: transparent; } diff --git a/config/rofi/config-waybar-layout.rasi b/config/rofi/config-waybar-layout.rasi index 1c31227..1621183 100644 --- a/config/rofi/config-waybar-layout.rasi +++ b/config/rofi/config-waybar-layout.rasi @@ -22,7 +22,7 @@ configuration { /* ---- Window ---- */ window { - width: 34%; + width: 40%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -126,10 +126,10 @@ listview { spacing: 4px; dynamic: true; cycle: true; - scrollbar: false; + scrollbar: true; layout: vertical; reverse: false; - fixed-height: false; + fixed-height: true; fixed-columns: false; background-color: transparent; } diff --git a/config/rofi/config-waybar-style.rasi b/config/rofi/config-waybar-style.rasi index 1c31227..1621183 100644 --- a/config/rofi/config-waybar-style.rasi +++ b/config/rofi/config-waybar-style.rasi @@ -22,7 +22,7 @@ configuration { /* ---- Window ---- */ window { - width: 34%; + width: 40%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -126,10 +126,10 @@ listview { spacing: 4px; dynamic: true; cycle: true; - scrollbar: false; + scrollbar: true; layout: vertical; reverse: false; - fixed-height: false; + fixed-height: true; fixed-columns: false; background-color: transparent; } diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 6a06eae..f36ff12 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -24,7 +24,7 @@ configuration { /* ---- Window ---- */ window { - width: 35%; + width: 40%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -124,7 +124,7 @@ button selected { listview { enabled: true; columns: 1; - lines: 9; + lines: 8; spacing: 4px; dynamic: true; enabled: true; @@ -132,7 +132,7 @@ listview { scrollbar: false; layout: vertical; reverse: true; - fixed-height: false; + fixed-height: true; fixed-columns: false; background-color: transparent; } diff --git a/config/rofi/resolution/1080p/config-compact.rasi b/config/rofi/resolution/1080p/config-compact.rasi index c6d41ab..78ca58c 100644 --- a/config/rofi/resolution/1080p/config-compact.rasi +++ b/config/rofi/resolution/1080p/config-compact.rasi @@ -22,8 +22,7 @@ configuration { /* ---- Window ---- */ window { - width: 40%; - /*height: 45%;*/ + width: 42%; x-offset: 0px; y-offset: 0px; spacing: 0px; diff --git a/config/rofi/resolution/1080p/config-rofi-Beats.rasi b/config/rofi/resolution/1080p/config-rofi-Beats.rasi index c361950..fae4c9a 100644 --- a/config/rofi/resolution/1080p/config-rofi-Beats.rasi +++ b/config/rofi/resolution/1080p/config-rofi-Beats.rasi @@ -23,7 +23,6 @@ configuration { /* ---- Window ---- */ window { width: 35%; - /*height: 45%;*/ x-offset: 0px; y-offset: 0px; spacing: 0px; diff --git a/config/rofi/resolution/1080p/config-wallpaper.rasi b/config/rofi/resolution/1080p/config-wallpaper.rasi index b86ebe6..88e0a5f 100644 --- a/config/rofi/resolution/1080p/config-wallpaper.rasi +++ b/config/rofi/resolution/1080p/config-wallpaper.rasi @@ -47,7 +47,7 @@ mainbox { enabled: true; orientation: horizontal; padding: 20px; - background-image: url("~/.config/rofi/.current_wallpaper", width); + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "imagebox", "listbox" ]; } @@ -129,10 +129,10 @@ listview { dynamic: true; enabled: true; cycle: true; - scrollbar: false; + scrollbar: true; layout: vertical; - reverse: true; - fixed-height: false; + reverse: false; + fixed-height: true; fixed-columns: false; background-color: transparent; } diff --git a/config/rofi/resolution/1080p/config-waybar-layout.rasi b/config/rofi/resolution/1080p/config-waybar-layout.rasi index 1c31227..1621183 100644 --- a/config/rofi/resolution/1080p/config-waybar-layout.rasi +++ b/config/rofi/resolution/1080p/config-waybar-layout.rasi @@ -22,7 +22,7 @@ configuration { /* ---- Window ---- */ window { - width: 34%; + width: 40%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -126,10 +126,10 @@ listview { spacing: 4px; dynamic: true; cycle: true; - scrollbar: false; + scrollbar: true; layout: vertical; reverse: false; - fixed-height: false; + fixed-height: true; fixed-columns: false; background-color: transparent; } diff --git a/config/rofi/resolution/1080p/config-waybar-style.rasi b/config/rofi/resolution/1080p/config-waybar-style.rasi index 1c31227..1621183 100644 --- a/config/rofi/resolution/1080p/config-waybar-style.rasi +++ b/config/rofi/resolution/1080p/config-waybar-style.rasi @@ -22,7 +22,7 @@ configuration { /* ---- Window ---- */ window { - width: 34%; + width: 40%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -126,10 +126,10 @@ listview { spacing: 4px; dynamic: true; cycle: true; - scrollbar: false; + scrollbar: true; layout: vertical; reverse: false; - fixed-height: false; + fixed-height: true; fixed-columns: false; background-color: transparent; } diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index 6a06eae..f36ff12 100644 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -24,7 +24,7 @@ configuration { /* ---- Window ---- */ window { - width: 35%; + width: 40%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -124,7 +124,7 @@ button selected { listview { enabled: true; columns: 1; - lines: 9; + lines: 8; spacing: 4px; dynamic: true; enabled: true; @@ -132,7 +132,7 @@ listview { scrollbar: false; layout: vertical; reverse: true; - fixed-height: false; + fixed-height: true; fixed-columns: false; background-color: transparent; } diff --git a/config/rofi/resolution/1440p/config-compact.rasi b/config/rofi/resolution/1440p/config-compact.rasi index d7a0750..5bfda00 100644 --- a/config/rofi/resolution/1440p/config-compact.rasi +++ b/config/rofi/resolution/1440p/config-compact.rasi @@ -23,7 +23,6 @@ configuration { /* ---- Window ---- */ window { width: 40%; - /*height: 45%;*/ x-offset: 0px; y-offset: 0px; spacing: 0px; diff --git a/config/rofi/resolution/1440p/config-rofi-Beats.rasi b/config/rofi/resolution/1440p/config-rofi-Beats.rasi index d7656e5..b125007 100644 --- a/config/rofi/resolution/1440p/config-rofi-Beats.rasi +++ b/config/rofi/resolution/1440p/config-rofi-Beats.rasi @@ -23,7 +23,6 @@ configuration { /* ---- Window ---- */ window { width: 35%; - /*height: 45%;*/ x-offset: 0px; y-offset: 0px; spacing: 0px; diff --git a/config/rofi/resolution/1440p/config-wallpaper.rasi b/config/rofi/resolution/1440p/config-wallpaper.rasi index e83e8aa..e41487f 100644 --- a/config/rofi/resolution/1440p/config-wallpaper.rasi +++ b/config/rofi/resolution/1440p/config-wallpaper.rasi @@ -129,10 +129,10 @@ listview { dynamic: true; enabled: true; cycle: true; - scrollbar: false; + scrollbar: true; layout: vertical; - reverse: true; - fixed-height: false; + reverse: false; + fixed-height: true; fixed-columns: false; background-color: transparent; } diff --git a/config/rofi/resolution/1440p/config-waybar-layout.rasi b/config/rofi/resolution/1440p/config-waybar-layout.rasi index 3c3b6a7..e8739ec 100644 --- a/config/rofi/resolution/1440p/config-waybar-layout.rasi +++ b/config/rofi/resolution/1440p/config-waybar-layout.rasi @@ -126,10 +126,10 @@ listview { spacing: 4px; dynamic: true; cycle: true; - scrollbar: false; + scrollbar: true; layout: vertical; reverse: false; - fixed-height: false; + fixed-height: true; fixed-columns: false; background-color: transparent; } diff --git a/config/rofi/resolution/1440p/config-waybar-style.rasi b/config/rofi/resolution/1440p/config-waybar-style.rasi index 3c3b6a7..e8739ec 100644 --- a/config/rofi/resolution/1440p/config-waybar-style.rasi +++ b/config/rofi/resolution/1440p/config-waybar-style.rasi @@ -126,10 +126,10 @@ listview { spacing: 4px; dynamic: true; cycle: true; - scrollbar: false; + scrollbar: true; layout: vertical; reverse: false; - fixed-height: false; + fixed-height: true; fixed-columns: false; background-color: transparent; } diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index 11a9670..5954345 100644 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -132,7 +132,7 @@ listview { scrollbar: false; layout: vertical; reverse: true; - fixed-height: false; + fixed-height: true; fixed-columns: false; background-color: transparent; } From 0fb37704dfc74c66012bac834e11a11c01cb43fd Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 Nov 2023 11:36:01 +0900 Subject: [PATCH 05/10] moved to wiki --- README.md | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 019ab04..dd83455 100644 --- a/README.md +++ b/README.md @@ -96,18 +96,7 @@ ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/ ### 📖 Known issues and possible solutions -+ Themes are broken when changing dark light - Ensure you have Tokyo Night Dark and Light themes installed and Tokyo Night SE icons or adjust the Dark Light script located in ~/.config/hypr/scripts/DarkLight.sh - -+ Keyboard shortcuts or customized Keybinds are broken! Just copy over your previous Keybinds.conf from the hypr-backup in ~/.config/ - -+ Background for rofi is not changing - This actually applies to multimonitor setup! I have designed that background will be pulled from ~/.cache/swww first monitor. To fix, delete the files in ~/.cache/swww and then reselect a new wallpaper either by SUPER W or CTRL ALT W. - -+ if you dont want tty (kitty) to change color during wallpaper changed, edit ~/.config/hypr/PywalSwww.sh. At the bottom of the script, change `wal -i $wallpaper_path` to `wal -s $wallpaper_path -s -t` that will skip the changing color of your opened tty. source [pywal](https://github.com/dylanaraps/pywal/wiki/Getting-Started) - -+ Some users reported that they are getting rofi-theme error after upgrade like [THIS](https://github.com/JaKooLit/screenshots/blob/main/Errors/rofi-theme-error.jpg). Inorder to fix that open tty ( SUPER Enter) and execute this command -```bash -ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" -``` +- check out this page [FAQ](https://github.com/JaKooLit/Hyprland-Dots/wiki/Known%E2%80%90Issues-and-possible-solutions) ### 🙋 QUESTIONS ?!?! ⁉️ - FAQ! Yes you can use these dotfiles to other distro! Just ensure to install proper packages first! If it makes you feel better, I use same config on my Gentoo and NixOS :) @@ -125,7 +114,7 @@ ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/ - ~~[ ] Quite possibly switch to starship? Although starship has limited themes compared to oh-my-zsh.~~ no plans for now ### Some ricing tips -- [Ricing Tips](https://github.com/JaKooLit/Hyprland-Dots/blob/main/assets/Tips.md?plain=1) +- [Ricing Tips](https://github.com/JaKooLit/Hyprland-Dots/wiki/Ricing-Tips) ### 🔮 Discord Server - kindly join my Discord Server https://discord.gg/V2SJ92vbEN From 534295d1ae5ff277d71a183291fb6647a927e488 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 Nov 2023 11:37:57 +0900 Subject: [PATCH 06/10] added link discord --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd83455..6457678 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/ - [Ricing Tips](https://github.com/JaKooLit/Hyprland-Dots/wiki/Ricing-Tips) ### 🔮 Discord Server -- kindly join my Discord Server https://discord.gg/V2SJ92vbEN +- kindly join my [Discord](https://discord.gg/V2SJ92vbEN) ## 💖 Support - a Star on my Github repos would be nice 🌟 From c934ad0a102271aad9767e2ffe1d12b11ad7c602 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 Nov 2023 11:42:45 +0900 Subject: [PATCH 07/10] correction some links --- README.md | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 6457678..ab6b75d 100644 --- a/README.md +++ b/README.md @@ -64,26 +64,7 @@ chmod +x release.sh ``` ### 🐌 Manual copy (not recommended for newbies) -- Backup your existing folders in ~/.config (advisable) -- copy all contents of configs into ~/.config, overwriting all -- copy contents of wallpapers into ~/Pictures/wallpapers/ (create wallpapers folder if required) -- make the Hyprland scripts executable -```bash -chmod +x $HOME/.config/hypr/scripts/* -``` -- Make sure to execute initial symlinks else dunst, wofi and waybar will fail to launch -```bash -ln -sf "$HOME/.config/waybar/configs/config-default" "$HOME/.config/waybar/config" -ln -sf "$HOME/.config/waybar/style/style-pywal.css" "$HOME/.config/waybar/style.css" -ln -sf "$HOME/.config/dunst/styles/dunstrc-dark" "$HOME/.config/dunst/dunstrc" -``` -- after that initialize pywal with -```wal -i wallpaper/path``` -- then run this -```bash -ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" -``` -- Before reboot or logout, choose wallpaper with SUPER CTRL W. + Click [HERE](https://github.com/JaKooLit/Hyprland-Dots/wiki/Copying-dots) ### ⚠️⚠️⚠️ A MUST! after copying these dots @@ -113,7 +94,7 @@ ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/ - [ ] Tweak rofi layouts and Themes - ~~[ ] Quite possibly switch to starship? Although starship has limited themes compared to oh-my-zsh.~~ no plans for now -### Some ricing tips +### 🍣 Some ricing tips - [Ricing Tips](https://github.com/JaKooLit/Hyprland-Dots/wiki/Ricing-Tips) ### 🔮 Discord Server From b5bacf3f07680484581566b240d2c160c22e5aed Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 Nov 2023 11:55:53 +0900 Subject: [PATCH 08/10] dropped Helpfile and added it to wiki instead --- README.md | 7 +-- config/hypr/HelpFile.md | 94 ------------------------------- config/hypr/configs/Keybinds.conf | 1 - config/hypr/scripts/Help.sh | 3 - config/hypr/scripts/KeyHints.sh | 1 - 5 files changed, 1 insertion(+), 105 deletions(-) delete mode 100644 config/hypr/HelpFile.md delete mode 100755 config/hypr/scripts/Help.sh diff --git a/README.md b/README.md index ab6b75d..fb4ebc2 100644 --- a/README.md +++ b/README.md @@ -75,15 +75,13 @@ chmod +x release.sh + If you have already set your own keybinds, monitors, etc.... Just copy over from backup created before log-out or reboot. (recommended) - ### 📖 Known issues and possible solutions - check out this page [FAQ](https://github.com/JaKooLit/Hyprland-Dots/wiki/Known%E2%80%90Issues-and-possible-solutions) ### 🙋 QUESTIONS ?!?! ⁉️ - FAQ! Yes you can use these dotfiles to other distro! Just ensure to install proper packages first! If it makes you feel better, I use same config on my Gentoo and NixOS :) - QUICK HINT! Click the HINT! Waybar module (note only available in default layout). Can be launched by Keybind SUPER H -- More question? Maybe answered already in Help File! SUPER SHIFT H to launch it! -- If you still have, kindly join my discord for faster communication. See invite link below. If not, open an issue on github +- More question? click here [Tips](https://github.com/JaKooLit/Hyprland-Dots/wiki/Ricing-Tips) ### 🙏 Special request - If you have improvements on the dotfiles or configuration, feel free to submit a PR for improvement. I always welcome improvements as I am also just learning just like you guys! @@ -94,9 +92,6 @@ chmod +x release.sh - [ ] Tweak rofi layouts and Themes - ~~[ ] Quite possibly switch to starship? Although starship has limited themes compared to oh-my-zsh.~~ no plans for now -### 🍣 Some ricing tips -- [Ricing Tips](https://github.com/JaKooLit/Hyprland-Dots/wiki/Ricing-Tips) - ### 🔮 Discord Server - kindly join my [Discord](https://discord.gg/V2SJ92vbEN) diff --git a/config/hypr/HelpFile.md b/config/hypr/HelpFile.md deleted file mode 100644 index 23581c9..0000000 --- a/config/hypr/HelpFile.md +++ /dev/null @@ -1,94 +0,0 @@ -# Welcome to my Hyprland help, and tips and tricks # -# If you have questions, or need help you can open issue on my github -# Or you can reach me in or join on Discord that I admin -# Discord link https://discord.gg/V2SJ92vbEN -# Github page: https://github.com/JaKooLit - - Super = Windows Key - -# common operations - Super Shift H *keyhint* (THIS DOCUMENT) - Super Return *term* (`kitty`) - Super q *quit* (kill focused window) - Super Shift q *quit* (kill focused window) - Super d *show app menu* (`rofi`) - Super *show app menu* (`rofi`) - -# Scripts (Power menu, waybar-layout menu, wallpaper menu, etc, have small box) - - All the scripts all located in ~/.config/hypr/scripts. - -# wallpaper / styling stuff - CTRL ALT w *wallpaper shuffle* (right click on wallpaper  waybar module) - Super w *wallpaper select* (click on wallpaper waybar  module) add more wallpaper in ~/Pictures/wallpapers - - - right click on update  waybar module *wallpaper cycle using swww* - - - for the wallpaper styles and configurations, you can watch my video about it *https://youtu.be/6ZGzOjMJBe4* - - - scripts for wallpaper stuff are located in *~/.config/hypr/scripts* file names `DarkLight.sh` `Wallpaper.sh` `WallpaperSelect.sh` `WallpaperRandom.sh` (last one for automatic wallpaper changed every 5 mins) - -# Monitor, executables, keybindings, window rules, - files are located in *~/.config/hypr/configs* . View with SUPER E - Keybindings file is located here *~/.config/hypr/configs/Keybinds.conf* - -# screenshot may need to hold down the function (`fn`) key. You can change keybinds in *~/.config/hypr/configs/Keybinds.conf* - Super PrintScr(button) *full screenshot* - Super Shift PrintSrc(button) *active window screenshot* - Super CTRL SHIFT PrintScr *full screenshot + timer (5s)* - Super Alt PrintScr *full screenshot + timer (10s)* - Super Shift S *screenshot with swappy* - -# clipboard manager (cliphist) - Super Alt V *launch the rofi menu of clipboard manager* - - click to select the clipboard. And paste as normal (CTRL V or right click menu) - - to clean up clipboard manager, launch kitty (super enter) then type ```cliphist wipe``` - -# applications shortcuts - Super T *file manager* (`thunar`) - if you chose to install - -# container layout - Super Shift F *toggle tiling/floating mode* - Super Alt F *toggle all windows in float mode* - Super left mouse button *move window* - Super right mouse button *resize window* (note! only in float mode) - -# workspaces - Super 1 .. 0 *switch to workspace 1 .. 10* - Super Shift 1 .. 0 *move container to workspace 1 .. 10* - Super Tab *cycle through workspaces* - Super Shift Tab *cycle previous workspaces* - -# waybar customizations - - waybar font too big or too small. Edit the font-size in waybar styles located in ~/.config/waybar/styles/ . By default, it is set to 98%. After adjusting the GTK font scaling to your liking, edit all the waybar styles. Reduce or increase according to your needs. NOTE that its on percent %. You can also change to px whichever suits you. Note: This corresponds well with nwg-look - - - if you want 12h format instead of 24H format, edit the ~/.config/waybar/modules look for clock. for 12h format, should be like %I:%M%P; for 24H format, %H:%M:%S.. ensure to disable one format by adding // before that line. For clock formatting, you can use website: https://help.gnome.org/users/gthumb/stable/gthumb-date-formats.html.en - - - - CPU Temperature: - - a.) to change from deg C to deg F , edit the ~/.config/waybar/modules look for "temperature". Change the format to "format": "{temperatureF}°F {icon}", - - b.) to fix the temperature if not showing correctly, comment "thermal zone": 0 by putting // before. Delete the // on the "hwmon path". Refresh waybar by pressing SUPER SHIFT W or SUPER ALT W If still not showing correctly, navigate to /sys/class/hwmon/ and open each hwmon. Look for k10temp for amd. Not sure about intel cpu. and edit accordingly the hwmon path in the "temperature" waybar module. - - b.1) use this function to easily identify the hwmon path. Ran this in your terminal ``` for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done ``` - - - Weather.sh (Default weather app in waybar) edit ~/.config/hypr/scripts/Weather.sh or Weather.py and add your city. Make sure a major city in your Area. Delete rbn folder in ~/.cache and refresh waybar by either pressing SUPER SHIFT W or choose waybar layout SUPER ALT W. If wanted to use Weather.py for weather, edit weather module located in ~/.config/waybar/modules.\ - - - NOTE!!! some waybars layouts have a separate modules baked into their respective configs (ie Peony, Chrysanthemum, Camelia, etc) and does not get all modules from main waybar modules file. Edit each configs accordingly to your liking (~/.config/waybar/configs) - -# Hyprland configurations - - *Hyprland* configuration files are in `~/.config/hypr/configs` Can view using SUPER E (by default, will be opened with nano. You can edit default editor by editing ~/.config/hypr/scripts/QuickEdit.sh) - - files located in this folder can be edited using editor of your choice. - -# notes for nvidia gpu users - - Do note that you need to enable or disable some items in ENVariables.conf file located in `~/.config/hypr/configs/ENVariables.conf` - - - a guide on wiki - https://wiki.hyprland.org/Nvidia/ - -# other notes - - *Multimedia keys* - may not work for every keyboard may need to hold down the function (`fn`) key - - Follow the wiki - https://wiki.hyprland.org/ - - Follow the github - https://github.com/hyprwm/Hyprland - -# If you dont like kitty or in your tty to get the pywal colors, edit ~/.config/kitty/kitty.conf or .zshrc (for zsh). You can also edit ~/.config/hypr/scripts/PywalSwww.sh . At the bottom of the file, you will see that I have placed a note. I have placed on the readme for the link - -# HIDDEN FEATURES! - - ROFI BEATS or ONLINE Music ( SUPER SHIFT S) (note: you may need to install yt-dlp or youtube-dl) - - EMOTICONS (SUPER ALT E) - useful for chats or messages ). Click to copy and CTRL ALT V to paste diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 7af1275..b83b258 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -33,7 +33,6 @@ bind = CTRL ALT, L, exec, $scriptsDir/LockScreen.sh bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh bind = $mainMod CTRL, S, exec, $scriptsDir/RofiBeats.sh bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh -bind = $mainMod SHIFT, H, exec, $scriptsDir/Help.sh bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh bind = $mainMod, E, exec, $scriptsDir/QuickEdit.sh bind = $mainMod, B, exec, killall -SIGUSR1 waybar # Toggle hide/show waybar diff --git a/config/hypr/scripts/Help.sh b/config/hypr/scripts/Help.sh deleted file mode 100755 index 38bcdec..0000000 --- a/config/hypr/scripts/Help.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -mousepad ~/.config/hypr/HelpFile.md diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh index 6d82a91..d868b5d 100755 --- a/config/hypr/scripts/KeyHints.sh +++ b/config/hypr/scripts/KeyHints.sh @@ -32,7 +32,6 @@ yad --width=1000 --height=1000 \ " Shift F" "Toggle float" "single window" \ " ALT F" "Toggle all windows to float" "all windows" \ " SHIFT G" "Gamemode! All animations off" "" \ -" SHIFT H" "Launch a small Help File" "" \ " H" "Launch this app" "" \ " E" "View or EDIT Keybinds, Settings, Monitor" "" \ "" "" "" \ From 5cbcadab1c29c24119846b525bf42bef3caca664 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 Nov 2023 11:59:19 +0900 Subject: [PATCH 09/10] changelog and readme update --- CHANGELOG.md | 5 +++++ README.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d216793..fc00610 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ ## CHANGES +### 19-Nov-2023 +- Created a wiki page to utilize a centralized tips and FAQ. And also to not over populate Readme page +- Tweaks on rofi themes +- Move distro installation of dots to releases instead of upstream + ### 16-Nov-2023 - added function to download from releases only and not from upstream repo ```bash diff --git a/README.md b/README.md index fb4ebc2..a6810ad 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ chmod +x release.sh ### 🙋 QUESTIONS ?!?! ⁉️ - FAQ! Yes you can use these dotfiles to other distro! Just ensure to install proper packages first! If it makes you feel better, I use same config on my Gentoo and NixOS :) - QUICK HINT! Click the HINT! Waybar module (note only available in default layout). Can be launched by Keybind SUPER H -- More question? click here [Tips](https://github.com/JaKooLit/Hyprland-Dots/wiki/Ricing-Tips) +- More question? click here [Tips](https://github.com/JaKooLit/Hyprland-Dots/wiki/Some-Tips) ### 🙏 Special request - If you have improvements on the dotfiles or configuration, feel free to submit a PR for improvement. I always welcome improvements as I am also just learning just like you guys! From 68819bdfc574a6c0e3cdd1786972275df13c8d20 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 Nov 2023 12:15:10 +0900 Subject: [PATCH 10/10] updated release.sh script --- release.sh | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/release.sh b/release.sh index 4543608..06e5716 100755 --- a/release.sh +++ b/release.sh @@ -10,7 +10,7 @@ ORANGE=$(tput setaf 166) YELLOW=$(tput setaf 3) RESET=$(tput sgr0) -printf "${NOTE} Checking for existing Hyprland-Dots.tar.gz...\n" +printf "${NOTE} Downloading / Checking for existing Hyprland-Dots.tar.gz...\n" # Check if Hyprland-Dots.tar.gz exists if [ -f Hyprland-Dots.tar.gz ]; then @@ -49,6 +49,15 @@ fi printf "${NOTE} Downloading the latest Hyprland source code release...\n" +# Fetch the tag name for the latest release using the GitHub API +latest_tag=$(curl -s https://api.github.com/repos/JaKooLit/Hyprland-Dots/releases/latest | grep "tag_name" | cut -d '"' -f 4) + +# Check if the tag is obtained successfully +if [ -z "$latest_tag" ]; then + echo -e "${ERROR} Unable to fetch the latest tag information." + exit 1 +fi + # Fetch the tarball URL for the latest release using the GitHub API latest_tarball_url=$(curl -s https://api.github.com/repos/JaKooLit/Hyprland-Dots/releases/latest | grep "tarball_url" | cut -d '"' -f 4) @@ -58,21 +67,22 @@ if [ -z "$latest_tarball_url" ]; then exit 1 fi -# Extract the direct download URL from the tarball URL -download_url=$(echo "$latest_tarball_url" | sed 's/{\/tarball\/.*}//') - -# Get the filename from the URL -file_name=$(basename "$download_url") +# Get the filename from the URL and include the tag name in the file name +file_name="Hyprland-Dots-${latest_tag}.tar.gz" # Download the latest release source code tarball to the current directory -if curl -LOk "$download_url"; then - mv "$file_name" Hyprland-Dots.tar.gz # Rename the downloaded file if needed - +if curl -L "$latest_tarball_url" -o "$file_name"; then # Extract the contents of the tarball - tar -xzf Hyprland-Dots.tar.gz + tar -xzf "$file_name" || exit 1 + + # delete existing Hyprland-Dots + rm -rf JaKooLit-Hyprland-Dots + + # Identify the extracted directory + extracted_directory=$(tar -tf "$file_name" | grep -o '^[^/]\+' | uniq) # Rename the extracted directory to JaKooLit-Hyprland-Dots - mv JaKooLit-Hyprland-Dots-* JaKooLit-Hyprland-Dots + mv "$extracted_directory" JaKooLit-Hyprland-Dots || exit 1 cd "JaKooLit-Hyprland-Dots" || exit 1