From e25fe4fdec7fe8d862df2c4e44ec83ccf90f13c7 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 Nov 2023 01:32:41 +0900 Subject: Rofi changes --- config/hypr/scripts/WallpaperSelect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/hypr') diff --git a/config/hypr/scripts/WallpaperSelect.sh b/config/hypr/scripts/WallpaperSelect.sh index c989adf3..24fcae2e 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 -- cgit v1.2.3 From 57b2088bbbc3cd3c8e9c6da490bbe6709ea37b41 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 Nov 2023 09:47:24 +0900 Subject: 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 +- config/rofi/resolution/1080p/config-compact.rasi | 21 +++-- config/rofi/resolution/1080p/config-long.rasi | 4 +- config/rofi/resolution/1080p/config-wallpaper.rasi | 101 +++++++++----------- config/rofi/resolution/1440p/config-compact.rasi | 21 +++-- config/rofi/resolution/1440p/config-long.rasi | 4 +- config/rofi/resolution/1440p/config-wallpaper.rasi | 101 +++++++++----------- 14 files changed, 189 insertions(+), 211 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 1a8a56b7..7af1275b 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 cf18dbe6..c6d41ab1 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 aed3d781..58d77319 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 d7656e52..c3619509 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 1b99abb9..b86ebe67 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 3c3b6a7d..1c312277 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 3c3b6a7d..1c312277 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 11a96709..6a06eae2 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 9e97306e..c6d41ab1 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 a3d683a0..58d77319 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 0ae66e22..b86ebe67 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 cf18dbe6..d7a0750d 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 aed3d781..bfe8778a 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 1b99abb9..e83e8aa7 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; } -- cgit v1.2.3 From b5bacf3f07680484581566b240d2c160c22e5aed Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 Nov 2023 11:55:53 +0900 Subject: 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 (limited to 'config/hypr') diff --git a/README.md b/README.md index ab6b75de..fb4ebc27 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 23581c94..00000000 --- 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 7af1275b..b83b258f 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 38bcdec8..00000000 --- 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 6d82a919..d868b5d6 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" "" \ "" "" "" \ -- cgit v1.2.3