diff options
| author | Ja.KooLit <ejhay.games@gmail.com> | 2023-11-12 11:47:18 +0900 |
|---|---|---|
| committer | Ja.KooLit <ejhay.games@gmail.com> | 2023-11-12 11:47:18 +0900 |
| commit | 022fa1b4f26d347bf976757f000af88521c49da1 (patch) | |
| tree | 7eeebef9cf8647e4b815f5457beebc2927b78a02 | |
| parent | 2b1ba3b8f1c97237b76a1864164d4d9f34dd4a39 (diff) | |
cleaned up and adjusted rofi for 1080p
| -rwxr-xr-x | config/hypr/scripts/RofiEmoji.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/Wlogout.sh | 2 | ||||
| -rw-r--r-- | config/rofi/config-cliphist.rasi | 240 | ||||
| -rw-r--r-- | config/rofi/config-compact.rasi | 2 | ||||
| -rw-r--r-- | config/rofi/config-long.rasi | 6 | ||||
| -rw-r--r-- | config/rofi/config-rofi-Beats.rasi | 4 | ||||
| -rw-r--r-- | config/rofi/config-short.rasi | 2 | ||||
| -rw-r--r-- | config/rofi/config-waybar.rasi | 4 | ||||
| -rw-r--r-- | config/rofi/config.rasi | 4 |
9 files changed, 13 insertions, 253 deletions
diff --git a/config/hypr/scripts/RofiEmoji.sh b/config/hypr/scripts/RofiEmoji.sh index 4540f577..871313aa 100755 --- a/config/hypr/scripts/RofiEmoji.sh +++ b/config/hypr/scripts/RofiEmoji.sh @@ -1,7 +1,7 @@ #!/bin/bash sed '1,/^### DATA ###$/d' $0 | -rofi -dmenu | +rofi -dmenu -config ~/.config/rofi/config-long.rasi | cut -d ' ' -f 1 | tr -d '\n' | wl-copy exit diff --git a/config/hypr/scripts/Wlogout.sh b/config/hypr/scripts/Wlogout.sh index 3acd0d00..c8ce86c1 100755 --- a/config/hypr/scripts/Wlogout.sh +++ b/config/hypr/scripts/Wlogout.sh @@ -1,7 +1,7 @@ #!/bin/bash # If you have 1440p, better to use this -# wlogout --protocol layer-shell -b 5 -T 600 -B 600 & +#wlogout --protocol layer-shell -b 5 -T 600 -B 600 & # for 1080p wlogout --protocol layer-shell -b 5 -T 450 -B 450 & diff --git a/config/rofi/config-cliphist.rasi b/config/rofi/config-cliphist.rasi deleted file mode 100644 index c92eed9a..00000000 --- a/config/rofi/config-cliphist.rasi +++ /dev/null @@ -1,240 +0,0 @@ -/* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- */ - -/* ---- Configuration ---- */ -configuration { - modi: "drun,run"; - font: "Fira Code SemiBold 12"; - show-icons: true; - display-drun: "๎ฏ"; - display-run: "๏ "; - display-filebrowser: "๏ป"; - display-window: "๏"; - drun-display-format: "{name}"; - hover-select: true; - me-select-entry: "MouseSecondary"; - me-accept-entry: "MousePrimary"; - window-format: "{w} ยท {c} ยท {t}"; - -} - -/* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.config/rofi/pywal-color/pywal-theme.rasi" - -/* ---- Window ---- */ -window { - width: 30%; - height: 30%; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: transparent; - border: 2px; - border-color: @background; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; -} - -/* ---- Mainbox ---- */ -mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: transparent; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: [ "imagebox", "listbox" ]; -} - -/* ---- Imagebox ---- */ -imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -/* ---- Listbox ---- */ -listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} -/* ---- Dummy ---- */ -dummy { - background-color: transparent; -} - -/* ---- Inputbar ---- */ -inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 10px; - border-color: @foreground; - children: [ "textbox-prompt-colon", "entry" ]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: "๐ "; - text-color: inherit; -} - -entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose"; - placeholder-color: inherit; -} - -/* ---- Mode Switcher ---- */ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} - -button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; -} - -button selected { - background-color: @selected-normal-background; - text-color: @foreground; -} - -/* ---- Listview ---- */ -listview { - enabled: true; - columns: 1; - lines: 8; - 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); -} - -/* ---- Element ---- */ -element { - enabled: true; - padding: 5px; - margin: 2px; - cursor: pointer; - background-color: @background; - border-radius: 10px; - border: 0px; -} - -element normal.normal { - background-color: inherit; - text-color: @foreground; -} - -element normal.urgent { - background-color: inherit; - text-color: @foreground; -} - -element normal.active { - background-color: inherit; - text-color: @foreground; -} - -element selected.normal { - background-color: @selected-normal-background; - text-color: @foreground; -} - -element selected.urgent { - background-color: inherit; - text-color: @foreground; -} - -element selected.active { - background-color: inherit; - text-color: @foreground; -} - -element alternate.normal { - background-color: inherit; - text-color: @foreground; -} - -element alternate.urgent { - background-color: inherit; - text-color: @foreground; -} - -element alternate.active { - background-color: inherit; - text-color: @foreground; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} - -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- 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; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi index c92eed9a..ffd5ac0c 100644 --- a/config/rofi/config-compact.rasi +++ b/config/rofi/config-compact.rasi @@ -22,7 +22,7 @@ configuration { /* ---- Window ---- */ window { - width: 30%; + width: 40%; height: 30%; x-offset: 0px; y-offset: 0px; diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi index fa41def3..360f250a 100644 --- a/config/rofi/config-long.rasi +++ b/config/rofi/config-long.rasi @@ -22,8 +22,8 @@ configuration { /* ---- Window ---- */ window { - width: 20%; - height: 50%; + width: 35%; + height: 60%; x-offset: 0px; y-offset: 0px; spacing: 0px; @@ -128,7 +128,7 @@ listview { lines: 12; cycle: true; dynamic: true; - scrollbar: false; + scrollbar: true; layout: vertical; reverse: false; fixed-height: true; diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index 4830c974..49afe783 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -22,8 +22,8 @@ configuration { /* ---- Window ---- */ window { - width: 30%; - height: 34%; + width: 45%; + height: 45%; x-offset: 0px; y-offset: 0px; spacing: 0px; diff --git a/config/rofi/config-short.rasi b/config/rofi/config-short.rasi index fa41def3..008df19a 100644 --- a/config/rofi/config-short.rasi +++ b/config/rofi/config-short.rasi @@ -128,7 +128,7 @@ listview { lines: 12; cycle: true; dynamic: true; - scrollbar: false; + scrollbar: true; layout: vertical; reverse: false; fixed-height: true; diff --git a/config/rofi/config-waybar.rasi b/config/rofi/config-waybar.rasi index f96751c7..799c8c30 100644 --- a/config/rofi/config-waybar.rasi +++ b/config/rofi/config-waybar.rasi @@ -22,8 +22,8 @@ configuration { /* ---- Window ---- */ window { - width: 35%; - height: 35%; + width: 50%; + height: 50%; x-offset: 0px; y-offset: 0px; spacing: 0px; diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index c131543b..31309ef7 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -22,8 +22,8 @@ configuration { /* ---- Window ---- */ window { - width: 35%; - height: 35%; + width: 45%; + height: 45%; x-offset: 0px; y-offset: 0px; spacing: 0px; |
