From eb04aa68118b9544ca7d520a28154b672f1e1983 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 15 Dec 2023 12:14:18 +0900 Subject: tweaked rofi main settings --- config/rofi/resolution/1080p/config.rasi | 27 ++++++++++++++------------- config/rofi/resolution/1440p/config.rasi | 25 +++++++++++++------------ 2 files changed, 27 insertions(+), 25 deletions(-) (limited to 'config/rofi/resolution') diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index 5317feac..30e3aa74 100644 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -24,7 +24,7 @@ configuration { /* ---- Window ---- */ window { - width: 700px; + width: 600px; /*height: 450px;*/ x-offset: 0px; y-offset: 0px; @@ -48,23 +48,23 @@ mainbox { orientation: vertical; padding: 8px; background-image: url("~/.config/rofi/.current_wallpaper", height); - children: [ "inputbar", "listbox" ]; + children: [ "inputbar", "imagebox" ]; border-radius: 12px; } /* ---- Imagebox ---- */ imagebox { background-color: transparent; - orientation: vertical; - /*children: [ "inputbar"];*/ + orientation: horizontal; + children: [ "mode-switcher", "listbox"]; } /* ---- Listbox ---- */ listbox { spacing: 4px; orientation: vertical; - children: [ "listview" ]; - padding: 10px; + children: ["listview" ]; + padding: 6px; border-radius: 12px; border: 1px; border-color: @active-background; @@ -84,23 +84,23 @@ inputbar { border-radius: 12px; border-color: @foreground; background-color: @background; - children: [ "mode-switcher", "entry" ]; + children: [ "textbox-prompt-colon","entry" ]; border: 1px; border-color: @active-background; } textbox-prompt-colon { enabled: true; - padding: 10px 0px 10px 10px; + padding: 6px 0px 6px 10px; expand: false; - str: "🐧"; + str: "🐧"; text-color: inherit; background-color: transparent; } entry { enabled: true; - padding: 10px 0px 10px 0px; + padding: 6px 0px 0px 0px; text-color: inherit; cursor: text; placeholder: "Search (ctrl tab to choose mode)"; @@ -110,14 +110,15 @@ entry { /* ---- Mode Switcher ---- */ mode-switcher{ + orientation: vertical; enabled: true; - spacing: 10px; + spacing: 12px; background-color: transparent; text-color: @foreground; } button { - padding: 1px 12px 1px 12px; + padding: 0px 10px 0px 10px; border-radius: 12px; background-color: @background; text-color: inherit; @@ -139,7 +140,7 @@ listview { enabled: true; columns: 2; lines: 6; - spacing: 5px; + spacing: 2px; padding: 6px; dynamic: true; cycle: true; diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index d092d23d..fa92f052 100644 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -24,7 +24,7 @@ configuration { /* ---- Window ---- */ window { - width: 700px; + width: 650px; /*height: 450px;*/ x-offset: 0px; y-offset: 0px; @@ -48,23 +48,23 @@ mainbox { orientation: vertical; padding: 8px; background-image: url("~/.config/rofi/.current_wallpaper", height); - children: [ "inputbar", "listbox" ]; + children: [ "inputbar", "imagebox" ]; border-radius: 12px; } /* ---- Imagebox ---- */ imagebox { background-color: transparent; - orientation: vertical; - /*children: [ "inputbar"];*/ + orientation: horizontal; + children: [ "mode-switcher", "listbox"]; } /* ---- Listbox ---- */ listbox { spacing: 4px; orientation: vertical; - children: [ "listview" ]; - padding: 10px; + children: ["listview" ]; + padding: 6px; border-radius: 12px; border: 1px; border-color: @active-background; @@ -84,23 +84,23 @@ inputbar { border-radius: 12px; border-color: @foreground; background-color: @background; - children: [ "mode-switcher", "entry" ]; + children: [ "textbox-prompt-colon","entry" ]; border: 1px; border-color: @active-background; } textbox-prompt-colon { enabled: true; - padding: 10px 0px 10px 10px; + padding: 6px 0px 6px 10px; expand: false; - str: "🐧"; + str: "🐧"; text-color: inherit; background-color: transparent; } entry { enabled: true; - padding: 10px 0px 10px 0px; + padding: 6px 0px 0px 0px; text-color: inherit; cursor: text; placeholder: "Search (ctrl tab to choose mode)"; @@ -110,14 +110,15 @@ entry { /* ---- Mode Switcher ---- */ mode-switcher{ + orientation: vertical; enabled: true; - spacing: 10px; + spacing: 12px; background-color: transparent; text-color: @foreground; } button { - padding: 1px 12px 1px 12px; + padding: 0px 10px 0px 10px; border-radius: 12px; background-color: @background; text-color: inherit; -- cgit v1.2.3 From d483224ccbdb0fbf32cda0c397cda36bdbde4590 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 15 Dec 2023 15:42:02 +0900 Subject: tweak refresh.sh and rofi config --- config/hypr/scripts/Refresh.sh | 5 +++-- config/rofi/config.rasi | 2 +- config/rofi/resolution/1080p/config.rasi | 2 +- config/rofi/resolution/1440p/config.rasi | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) (limited to 'config/rofi/resolution') diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index e393b95d..0d91de8d 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -10,15 +10,16 @@ for _prs in "${_ps[@]}"; do fi done -sleep 0.5 +sleep 0.1 # Relaunch waybar waybar & +sleep 0.1 # Relaunch dunst with pywal-borders ${SCRIPTSDIR}/PywalDunst.sh & # Relaunching rainbow borders -sleep 0.5 +sleep 1 ${SCRIPTSDIR}/RainbowBorders.sh & # for cava-pywal (note, need to manually restart cava once wallpaper changes) diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 30e3aa74..9537843a 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -47,7 +47,7 @@ mainbox { enabled: true; orientation: vertical; padding: 8px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper", width); children: [ "inputbar", "imagebox" ]; border-radius: 12px; } diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index 30e3aa74..9537843a 100644 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -47,7 +47,7 @@ mainbox { enabled: true; orientation: vertical; padding: 8px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper", width); children: [ "inputbar", "imagebox" ]; border-radius: 12px; } diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index fa92f052..d55fdba3 100644 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -47,7 +47,7 @@ mainbox { enabled: true; orientation: vertical; padding: 8px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper", width); children: [ "inputbar", "imagebox" ]; border-radius: 12px; } -- cgit v1.2.3 From ce747fcfbd3bfab76cfb21ffff4c385fff701f3e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 15 Dec 2023 15:43:50 +0900 Subject: seems height is better --- config/rofi/config.rasi | 2 +- config/rofi/resolution/1080p/config.rasi | 2 +- config/rofi/resolution/1440p/config.rasi | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'config/rofi/resolution') diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 9537843a..30e3aa74 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -47,7 +47,7 @@ mainbox { enabled: true; orientation: vertical; padding: 8px; - background-image: url("~/.config/rofi/.current_wallpaper", width); + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "inputbar", "imagebox" ]; border-radius: 12px; } diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index 9537843a..30e3aa74 100644 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -47,7 +47,7 @@ mainbox { enabled: true; orientation: vertical; padding: 8px; - background-image: url("~/.config/rofi/.current_wallpaper", width); + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "inputbar", "imagebox" ]; border-radius: 12px; } diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index d55fdba3..fa92f052 100644 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -47,7 +47,7 @@ mainbox { enabled: true; orientation: vertical; padding: 8px; - background-image: url("~/.config/rofi/.current_wallpaper", width); + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "inputbar", "imagebox" ]; border-radius: 12px; } -- cgit v1.2.3