From 98984bfc7fdd77898560affbf955b787e2d94393 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Tue, 1 Apr 2025 17:21:04 +1100 Subject: [PATCH] feat: Add initial hyprland config --- .config/.gitignore | 4 + .config/hypr/before-exit.conf | 2 + .config/hypr/hyprland.conf | 43 +++- .config/hypr/hyprlock.conf | 2 +- .config/hypr/hyprpaper.conf | 3 + .config/hypr/start-exec.conf | 23 ++ .config/hypr/windowrules.conf | 38 +++ .config/rofi/.current_wallpaper | 2 + .config/rofi/config-calc.rasi | 22 ++ .config/rofi/config-clipboard.rasi | 16 ++ .config/rofi/config-compact.rasi | 46 ++++ .config/rofi/config-emoji.rasi | 16 ++ .config/rofi/config-rofi-Beats-menu.rasi | 22 ++ .config/rofi/config-rofi-Beats.rasi | 14 ++ .config/rofi/config-search.rasi | 28 +++ .config/rofi/config-wallpaper-effect.rasi | 27 ++ .config/rofi/config-wallpaper.rasi | 50 ++++ .config/rofi/config-waybar-layout.rasi | 10 + .config/rofi/config-waybar-style.rasi | 26 ++ .config/rofi/config-zsh-theme.rasi | 59 +++++ .config/rofi/config.rasi | 38 +++ .config/rofi/master-config.rasi | 235 ++++++++++++++++++ .config/rofi/resolution/1080p/config.rasi | 38 +++ .../rofi/resolution/1080p/master-config.rasi | 235 ++++++++++++++++++ .config/rofi/resolution/1440p/config.rasi | 44 ++++ .../rofi/resolution/1440p/master-config.rasi | 235 ++++++++++++++++++ .config/rofi/wallust/colors-rofi.rasi | 28 +++ 27 files changed, 1295 insertions(+), 11 deletions(-) create mode 100644 .config/hypr/before-exit.conf create mode 100644 .config/hypr/hyprpaper.conf create mode 100644 .config/hypr/start-exec.conf create mode 100644 .config/hypr/windowrules.conf create mode 120000 .config/rofi/.current_wallpaper create mode 100644 .config/rofi/config-calc.rasi create mode 100644 .config/rofi/config-clipboard.rasi create mode 100644 .config/rofi/config-compact.rasi create mode 100644 .config/rofi/config-emoji.rasi create mode 100644 .config/rofi/config-rofi-Beats-menu.rasi create mode 100644 .config/rofi/config-rofi-Beats.rasi create mode 100644 .config/rofi/config-search.rasi create mode 100644 .config/rofi/config-wallpaper-effect.rasi create mode 100644 .config/rofi/config-wallpaper.rasi create mode 100644 .config/rofi/config-waybar-layout.rasi create mode 100644 .config/rofi/config-waybar-style.rasi create mode 100644 .config/rofi/config-zsh-theme.rasi create mode 100755 .config/rofi/config.rasi create mode 100644 .config/rofi/master-config.rasi create mode 100755 .config/rofi/resolution/1080p/config.rasi create mode 100644 .config/rofi/resolution/1080p/master-config.rasi create mode 100755 .config/rofi/resolution/1440p/config.rasi create mode 100644 .config/rofi/resolution/1440p/master-config.rasi create mode 100644 .config/rofi/wallust/colors-rofi.rasi diff --git a/.config/.gitignore b/.config/.gitignore index 74b29b4..2aad4a9 100644 --- a/.config/.gitignore +++ b/.config/.gitignore @@ -10,3 +10,7 @@ !alacritty/** !hypr !hypr/** +!rofi +!rofi/** +!backgrounds +!backgrounds/** diff --git a/.config/hypr/before-exit.conf b/.config/hypr/before-exit.conf new file mode 100644 index 0000000..301f26c --- /dev/null +++ b/.config/hypr/before-exit.conf @@ -0,0 +1,2 @@ +# Gracefully close brave +# exec-shutdown = "brave-browser --quit" \ No newline at end of file diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 545902a..b887ce6 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -17,17 +17,16 @@ monitor=,preferred,auto,1 # See https://wiki.hyprland.org/Configuring/Keywords/ for more -# Execute your favorite apps at launch -exec-once = /usr/share/libpam-kwallet-common/pam_kwallet_init & systemctl --user start xdg-desktop-portal-hyprland & /usr/lib/x86_64-linux-gnu/libexec/kdeconnectd & waybar -#& hyprpaper - -# Source a file (multi-file configs) -# source = ~/.config/hypr/myColors.conf +source = ~/.config/hypr/start-exec.conf +source = ~/.config/hypr/windowrules.conf +source = ~/.config/hypr/before-exit.conf +env = HYPRSHOT_DIR,/home/$USER/Pictures/Screenshots # Set programs that you use $terminal = alacritty $fileManager = dolphin -$menu = wofi --show drun +$menu = rofi -show drun +# wofi --show drun # Some default env vars. env = XCURSOR_SIZE,24 @@ -146,11 +145,16 @@ $mainMod = SUPER bind = CTRL ALT, T, exec, $terminal bind = $mainMod, Q, killactive, bind = $mainMod, E, exec, $fileManager -bind = $mainMod, V, togglefloating, +bind = $mainMod, F, togglefloating, bind = $mainMod, space, exec, $menu bind = CTRL ALT, Delete, exit +bind = $mainMod, L, exec, hyprlock -bind = $mainMod, P, pseudo, # dwindle +bind = $mainMod, V, exec, [float] alacritty --class clipse -e /home/nathan/.local/bin/clipse + + + +# bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle # Move focus with mainMod + arrow keys @@ -185,7 +189,12 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Example special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic -bind = $mainMod SHIFT, S, movetoworkspace, special:magic +bind = $mainMod CTRL, S, movetoworkspace, special:magic + + + + +bind = $mainMod SHIFT, S, exec, /home/nathan/.local/bin/hyprshot -m region # Scroll through existing workspaces with mainMod + scroll # bind = $mainMod, mouse_down, workspace, e+1 @@ -197,6 +206,20 @@ bind = $mainMod SHIFT, TAB, workspace, e-1 bind = ALT, TAB, workspace, e+1 bind = ALT SHIFT, TAB, workspace, e-1 +# Media control keys +bindle=, XF86AudioRaiseVolume, exec, vol --up +bindle=, XF86AudioLowerVolume, exec, vol --downxe +bindle=, XF86MonBrightnessUp, exec, brightnessctl s +5% +bindle=, XF86MonBrightnessDown, exec, brightnessctl s 5%- +bindle=, XF86Search, exec, $menu +# bindl=, XF86AudioMute, exec, amixer set Master toggle +bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindl=, XF86AudioPlay, exec, playerctl play-pause # the stupid key is called play , but it toggles +bindl=, XF86AudioNext, exec, playerctl next +bindl=, XF86AudioPrev, exec, playerctl previous + + + # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf index 4e94262..738afd5 100644 --- a/.config/hypr/hyprlock.conf +++ b/.config/hypr/hyprlock.conf @@ -10,7 +10,7 @@ general { background { # monitor = path = $HOME/.config/hypr/hyprlock.png - blur_passes = 0 + blur_passes = 1 # color = $base } diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf new file mode 100644 index 0000000..bbd52a6 --- /dev/null +++ b/.config/hypr/hyprpaper.conf @@ -0,0 +1,3 @@ +preload = ~/.config/backgrounds/background.png +wallpaper = , ~/.config/backgrounds/background.png +ipc = on \ No newline at end of file diff --git a/.config/hypr/start-exec.conf b/.config/hypr/start-exec.conf new file mode 100644 index 0000000..e705e51 --- /dev/null +++ b/.config/hypr/start-exec.conf @@ -0,0 +1,23 @@ +exec-once = /usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1 +exec-once = systemctl --user start plasma-kwallet-pam.service plasma-polkit-agent.service +exec-once = /usr/bin/kwalletd6 +exec-once = systemctl --user start xdg-desktop-portal-hyprland +exec-once = /usr/lib/x86_64-linux-gnu/libexec/kdeconnectd +exec-once = swaync + +# Start apps in .autostart +exec-once = /home/$USER/.config/autostart/com.impervious.fingertip.desktop +exec-once = /home/$USER/.config/autostart/Nextcloud.desktop +exec-once = /usr/bin/python3 /usr/bin/solaar --window=hide + + +# Start windows +exec-once = alacritty --class alacritty-init +exec-once = brave-browser +exec-once = discord-ptb +exec-once = slack + + +exec-once = waybar +exec-once = hyprpaper +exec-once = clipse -listen & clipse --listen diff --git a/.config/hypr/windowrules.conf b/.config/hypr/windowrules.conf new file mode 100644 index 0000000..260a4c7 --- /dev/null +++ b/.config/hypr/windowrules.conf @@ -0,0 +1,38 @@ +windowrulev2 = float,class:(clipse) +windowrulev2 = size 622 652,class:(clipse) +windowrulev2 = stayfocused,class:(clipse) + + +windowrule = float, polkit-kde-authentication-agent-1 +windowrule = center,polkit-kde-authentication-agent-1 +windowrule = size 800 500,polkit-kde-authentication-agent-1 +windowrule = stayfocused,polkit-kde-authentication-agent-1 + + +windowrule = float, io.github.kaii_lb.Overskride +windowrule = center,io.github.kaii_lb.Overskride +windowrule = size 1000 800,io.github.kaii_lb.Overskride +windowrule = float, overskride +windowrule = center,overskride +windowrule = size 700 500,overskride + + +windowrule = float, iwgtk +windowrule = center,iwgtk +windowrule = size 800 500,iwgtk + +windowrule = float, org.kde.gwenview +windowrule = center,org.kde.gwenview +windowrule = size 800 500,org.kde.gwenview + +windowrule = float, kdesystemsettings +windowrule = center,kdesystemsettings +windowrule = size 1500 1000,kdesystemsettings + + +# Start windows +windowrulev2 = workspace 1, class:alacritty-init +windowrulev2 = workspace 3, class:Brave-browser +windowrulev2 = workspace 5, class:discord +windowrulev2 = workspace 5, class:Slack + diff --git a/.config/rofi/.current_wallpaper b/.config/rofi/.current_wallpaper new file mode 120000 index 0000000..090b11e --- /dev/null +++ b/.config/rofi/.current_wallpaper @@ -0,0 +1,2 @@ +Lanczos3 +/home/nathan/Nextcloud/Photos/wallpapers/Dynamic-Wallpapers/Dark/Fuji-Dark.png \ No newline at end of file diff --git a/.config/rofi/config-calc.rasi b/.config/rofi/config-calc.rasi new file mode 100644 index 0000000..9f663e8 --- /dev/null +++ b/.config/rofi/config-calc.rasi @@ -0,0 +1,22 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Main Config Calculator */ +/* Submitted by: https://github.com/JosephArmas */ + +@import "~/.config/rofi/master-config.rasi" + +/* ---- Entry ---- */ +entry { + width: 27%; + placeholder: "๐Ÿงฎ Calculate"; +} + +/* ---- Window ---- */ +window { + width: 30%; +} + +/* ---- Message ---- */ +textbox { + background-color: @selected; + text-color: @background; +} \ No newline at end of file diff --git a/.config/rofi/config-clipboard.rasi b/.config/rofi/config-clipboard.rasi new file mode 100644 index 0000000..81362d2 --- /dev/null +++ b/.config/rofi/config-clipboard.rasi @@ -0,0 +1,16 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Clipboard Config - Clipboard */ + +@import "~/.config/rofi/master-config.rasi" + +/* ---- Entry ---- */ +entry { + width: 37%; + placeholder: "๐Ÿ“‹ Search Clipboard **note** ๐Ÿ‘€ CTRL Del - Cliphist del or Alt Del - cliphist wipe"; +} + +/* ---- Listview ---- */ +listview { + columns: 1; + lines: 8; +} \ No newline at end of file diff --git a/.config/rofi/config-compact.rasi b/.config/rofi/config-compact.rasi new file mode 100644 index 0000000..42b09f3 --- /dev/null +++ b/.config/rofi/config-compact.rasi @@ -0,0 +1,46 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Main Config (compact) */ + +@import "~/.config/rofi/master-config.rasi" + +/* ---- Configuration ---- */ +configuration { + modi: "drun"; +} + +/* ---- Window ---- */ +window { + width: 50%; + border-radius: 15px; +} + +/* ---- Inputbar ---- */ +inputbar { + background-image: url("~/.config/rofi/.current_wallpaper", width); +} + +/* ---- Imagebox ---- */ +imagebox { + orientation: vertical; + children: [ "entry", "listview"]; +} + +/* ---- Entry input ---- */ +entry { + width: 23%; + placeholder: "๐Ÿ‘€ View / Edit Hyprland Configs"; +} + +/* ---- Listview ---- */ +listview { + columns: 2; + lines: 6; + spacing: 4px; + scrollbar: false; + border-radius: 12px; +} + +/* ---- Element ---- */ +element { + border-radius: 10px; +} diff --git a/.config/rofi/config-emoji.rasi b/.config/rofi/config-emoji.rasi new file mode 100644 index 0000000..0fe6e70 --- /dev/null +++ b/.config/rofi/config-emoji.rasi @@ -0,0 +1,16 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Main Config - emoji */ + +@import "~/.config/rofi/master-config.rasi" + +/* ---- Entry ---- */ +entry { + width: 37%; + placeholder: "๐Ÿ’ซ Search Emoji's **note** ๐Ÿ‘€ Click or Return to choose | Ctrl V to Paste"; +} + +/* ---- Listview ---- */ +listview { + columns: 1; + lines: 8; +} \ No newline at end of file diff --git a/.config/rofi/config-rofi-Beats-menu.rasi b/.config/rofi/config-rofi-Beats-menu.rasi new file mode 100644 index 0000000..af81e57 --- /dev/null +++ b/.config/rofi/config-rofi-Beats-menu.rasi @@ -0,0 +1,22 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Rofi Beats Config (compact) */ + +@import "~/.config/rofi/master-config.rasi" + +/* ---- Entry ---- */ +entry { + width: 20%; + placeholder: "๐Ÿ“ป Choose Music Source"; +} + +/* ---- Window ---- */ +window { + width: 24%; +} + +/* ---- Listview ---- */ +listview { + fixed-columns: false; + colums: 1; + lines: 3; +} diff --git a/.config/rofi/config-rofi-Beats.rasi b/.config/rofi/config-rofi-Beats.rasi new file mode 100644 index 0000000..354ff5b --- /dev/null +++ b/.config/rofi/config-rofi-Beats.rasi @@ -0,0 +1,14 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Rofi Beats Config (compact) */ + +@import "~/.config/rofi/config-compact.rasi" + +/* ---- Entry ---- */ +entry { + placeholder: "๐Ÿ“ป Choose Media or Stations to play"; +} + +/* ---- Listview ---- */ +listview { + lines: 7; +} diff --git a/.config/rofi/config-search.rasi b/.config/rofi/config-search.rasi new file mode 100644 index 0000000..a1f5576 --- /dev/null +++ b/.config/rofi/config-search.rasi @@ -0,0 +1,28 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Rofi Config for Google Search) */ + +@import "~/.config/rofi/master-config.rasi" + +/* ---- Window ---- */ +window { + width: 40%; + y-offset: 6px; + location: north; +} + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; +} + +/* ---- Mainbox ---- */ +mainbox { + padding: 0px; + children: [ "entry"]; +} + +/* ---- Entry ---- */ +entry { + placeholder: "๐Ÿ”Ž Google Search"; +} + diff --git a/.config/rofi/config-wallpaper-effect.rasi b/.config/rofi/config-wallpaper-effect.rasi new file mode 100644 index 0000000..25dd272 --- /dev/null +++ b/.config/rofi/config-wallpaper-effect.rasi @@ -0,0 +1,27 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Wallpaper Effects */ + +@import "~/.config/rofi/master-config.rasi" + +/* ---- Entry ---- */ +entry { + width: 20%; + placeholder: "๐Ÿ™๏ธ Choose desired wallpaper effect"; +} + +/* ---- Window ---- */ +window { + width: 24%; +} + +/* ---- Listview ---- */ +listview { + fixed-columns: false; + colums: 2; + lines: 8; +} + +/* ---- Inputbar ---- */ +inputbar { + background-image: url("~/.config/hypr/wallpaper_effects/.wallpaper_modified", width); +} \ No newline at end of file diff --git a/.config/rofi/config-wallpaper.rasi b/.config/rofi/config-wallpaper.rasi new file mode 100644 index 0000000..fd00948 --- /dev/null +++ b/.config/rofi/config-wallpaper.rasi @@ -0,0 +1,50 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Main Config (wallpaper) */ + +@import "~/.config/rofi/master-config.rasi" + +/* ---- Configuration ---- */ +configuration { + modi: "drun"; +} + +window { + width: 60%; +} + +/* ---- Imagebox ---- */ +imagebox { + orientation: vertical; + children: + [ "entry", "listbox"]; +} + + +entry { + expand: false; + placeholder: "๐ŸŽž๏ธ Choose Wallpaper"; +} + +/* ---- Listview ---- */ +listview { + columns: 4; + lines: 3; +} + +/* ---- Element ---- */ +element { + orientation: vertical; + padding: 0px; + spacing: 0px; + border-radius: 15px; +} + +element-icon { + size: 20%; +} + +element-text { + font: "Fira Code SemiBold 12"; + vertical-align: 0.5; + horizontal-align: 0.5; +} diff --git a/.config/rofi/config-waybar-layout.rasi b/.config/rofi/config-waybar-layout.rasi new file mode 100644 index 0000000..6720fcc --- /dev/null +++ b/.config/rofi/config-waybar-layout.rasi @@ -0,0 +1,10 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Layout Config (Waybar) */ + +@import "~/.config/rofi/config-waybar-style.rasi" + +/* ---- Entry ---- */ +entry { + placeholder: "๐Ÿ–ผ๏ธ Choose Waybar Layout"; +} + diff --git a/.config/rofi/config-waybar-style.rasi b/.config/rofi/config-waybar-style.rasi new file mode 100644 index 0000000..0760710 --- /dev/null +++ b/.config/rofi/config-waybar-style.rasi @@ -0,0 +1,26 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Main Config (waybar) */ + +@import "~/.config/rofi/master-config.rasi" + +/* ---- Configuration ---- */ +configuration { + modi: "drun"; +} + +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "listview"]; +} + +entry { + expand: true; + placeholder: "๐Ÿ–ผ๏ธ Choose Waybar Style"; +} + +/* ---- Listview ---- */ +listview { + columns: 2; + lines: 6; +} diff --git a/.config/rofi/config-zsh-theme.rasi b/.config/rofi/config-zsh-theme.rasi new file mode 100644 index 0000000..936ce56 --- /dev/null +++ b/.config/rofi/config-zsh-theme.rasi @@ -0,0 +1,59 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Main Config (compact) */ + +@import "~/.config/rofi/master-config.rasi" + +/* ---- Configuration ---- */ +configuration { + modi: "drun"; +} + +/* ---- Window ---- */ +window { + width: 40%; + border-radius: 15px; +} + +/* ---- Imagebox ---- */ +imagebox { + orientation: vertical; + children: + [ "inputbar", "listbox"]; +} + +/* ---- Listbox ---- */ +listbox { + border-radius: 12px; +} + +/* ---- Inputbar ---- */ +inputbar { + padding: 14px; + border-radius: 10px; +} + +entry { + placeholder: "๓ฐธ‰ Choose ZSH theme"; +} + +/* ---- Listview ---- */ +listview { + columns: 3; + lines: 3; + spacing: 4px; + border-radius: 10px; +} + +/* ---- Element ---- */ +element { + border-radius: 10px; +} + +/*****----- Message -----*****/ +message { + border-radius: 10px; +} + +textbox { + padding: 15px; +} diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100755 index 0000000..e675a84 --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,38 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Main Config 1080p */ + +@import "~/.config/rofi/master-config.rasi" + +/* ---- Configuration ---- */ +configuration { + font: "Fira Code SemiBold 12"; +} + +/* ---- Window ---- */ +window { + width: 60%; +} +/* ---- Listview ---- */ +listview { + columns: 6; + lines: 4; + fixed-height: true; +} + +/* ---- Element ---- */ +element { + orientation: vertical; + padding: 12px; + spacing: 6px; + border-radius: 20px; +} + +element-icon { + size: 6%; +} + +element-text { + font: "Fira Code SemiBold 12"; + vertical-align: 0.5; + horizontal-align: 0.5; +} \ No newline at end of file diff --git a/.config/rofi/master-config.rasi b/.config/rofi/master-config.rasi new file mode 100644 index 0000000..c014a37 --- /dev/null +++ b/.config/rofi/master-config.rasi @@ -0,0 +1,235 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Master Config 1080p*/ + +/* ---- Configuration ---- */ + +configuration { + font: "Fira Code SemiBold 12"; + modi: "drun,run,filebrowser"; + show-icons: true; + display-drun: "Apps"; + display-run: "Run"; + display-filebrowser: "Files"; + display-window: "Windows"; + drun-display-format: "{name}"; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; + window-format: "{w} ยท {c} ยท {t}"; + dpi: 1; +} + +/* ---- Load wallust colors ---- */ +@theme "~/.config/rofi/wallust/colors-rofi.rasi" + +/* ---- Global Properties ---- */ +* { + + background-alt: @selected-active-background; // Buttons background + selected: @selected-urgent-background; // Button selected + active: @selected-normal-background; // Window activated + urgent: @selected; // When hovering the activated window (maybe more?) + + text-selected: @background; + text-color: @foreground; + border-color: @selected; +} + +/* ---- Window ---- */ +window { + // Default + enabled: true; + fullscreen: false; + transparency: "real"; + cursor: "default"; + spacing: 0px; + border: 2px; + border-radius: 30px; + location: center; + anchor: center; + + // Style Values + width: 50%; + background-color: @background; +} + +/* ----- Main Box ----- */ +mainbox { + padding: 15px; + enabled: true; + orientation: vertical; + children: [ "inputbar", "listbox" ]; + background-color: transparent; +} + + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + padding: 10px 10px 100px 10px; + margin: 10px; + background-color: transparent; + border-radius: 25px; + orientation: horizontal; + children: ["entry", "dummy", "mode-switcher" ]; + background-image: url("~/.config/rofi/.current_wallpaper", width); +} + +/* ---- Entry input ---- */ +entry { + enabled: true; + expand: false; + width: 20%; + padding: 10px; + border-radius: 12px; + background-color: @selected; + text-color: @text-selected; + cursor: text; + placeholder: "๐Ÿ–ฅ๏ธ Search "; // << Search symbol + placeholder-color: inherit; +} + +/* ---- Listbox ---- */ +listbox { + spacing: 10px; + padding: 10px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 2; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: false; + fixed-columns: true; + spacing: 10px; + background-color: transparent; + +// Adapt rofi theme + border: 0px; +} + +/* ---- Dummy ---- */ +dummy { + expand: true; + background-color: transparent; +} + +/* ---- Mode Switcher ---- */ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; +} +button { + width: 5%; + padding: 12px; + border-radius: 12px; + background-color: @text-selected; + text-color: @text-color; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @text-selected; +} + +/* ---- Scrollbar ---- */ +scrollbar { + width: 4px ; + border: 0; + handle-color: @border-color; + handle-width: 8px ; + padding: 0; +} + +/* ---- Elements ---- */ +element { + enabled: true; + spacing: 10px; + padding: 10px; + border-radius: 12px; + background-color: transparent; + cursor: pointer; +} + +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} + +element selected.normal { + background-color: @selected; + text-color: @text-selected; +} +element selected.urgent { + background-color: @urgent; + text-color: @text-selected; +} +element selected.active { + background-color: @urgent; + text-color: @text-selected; +} +// Adapt rofi theme +element alternate.normal { + background-color: transparent; + text-color: inherit; +} +element alternate.urgent { + background-color: transparent; + text-color: inherit; +} +element alternate.active { + background-color: transparent; + text-color: inherit; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 36px; + cursor: inherit; +} +element-text { + font: "Fira Code SemiBold 12"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/* ---- Message ---- */ +message { + background-color: transparent; + border: 0px; +} +textbox { + padding: 12px; + border-radius: 10px; + background-color: @background-alt; + text-color: @background; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 20px; + background-color: @background-alt; + text-color: @background; +} diff --git a/.config/rofi/resolution/1080p/config.rasi b/.config/rofi/resolution/1080p/config.rasi new file mode 100755 index 0000000..e675a84 --- /dev/null +++ b/.config/rofi/resolution/1080p/config.rasi @@ -0,0 +1,38 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Main Config 1080p */ + +@import "~/.config/rofi/master-config.rasi" + +/* ---- Configuration ---- */ +configuration { + font: "Fira Code SemiBold 12"; +} + +/* ---- Window ---- */ +window { + width: 60%; +} +/* ---- Listview ---- */ +listview { + columns: 6; + lines: 4; + fixed-height: true; +} + +/* ---- Element ---- */ +element { + orientation: vertical; + padding: 12px; + spacing: 6px; + border-radius: 20px; +} + +element-icon { + size: 6%; +} + +element-text { + font: "Fira Code SemiBold 12"; + vertical-align: 0.5; + horizontal-align: 0.5; +} \ No newline at end of file diff --git a/.config/rofi/resolution/1080p/master-config.rasi b/.config/rofi/resolution/1080p/master-config.rasi new file mode 100644 index 0000000..c014a37 --- /dev/null +++ b/.config/rofi/resolution/1080p/master-config.rasi @@ -0,0 +1,235 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Master Config 1080p*/ + +/* ---- Configuration ---- */ + +configuration { + font: "Fira Code SemiBold 12"; + modi: "drun,run,filebrowser"; + show-icons: true; + display-drun: "Apps"; + display-run: "Run"; + display-filebrowser: "Files"; + display-window: "Windows"; + drun-display-format: "{name}"; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; + window-format: "{w} ยท {c} ยท {t}"; + dpi: 1; +} + +/* ---- Load wallust colors ---- */ +@theme "~/.config/rofi/wallust/colors-rofi.rasi" + +/* ---- Global Properties ---- */ +* { + + background-alt: @selected-active-background; // Buttons background + selected: @selected-urgent-background; // Button selected + active: @selected-normal-background; // Window activated + urgent: @selected; // When hovering the activated window (maybe more?) + + text-selected: @background; + text-color: @foreground; + border-color: @selected; +} + +/* ---- Window ---- */ +window { + // Default + enabled: true; + fullscreen: false; + transparency: "real"; + cursor: "default"; + spacing: 0px; + border: 2px; + border-radius: 30px; + location: center; + anchor: center; + + // Style Values + width: 50%; + background-color: @background; +} + +/* ----- Main Box ----- */ +mainbox { + padding: 15px; + enabled: true; + orientation: vertical; + children: [ "inputbar", "listbox" ]; + background-color: transparent; +} + + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + padding: 10px 10px 100px 10px; + margin: 10px; + background-color: transparent; + border-radius: 25px; + orientation: horizontal; + children: ["entry", "dummy", "mode-switcher" ]; + background-image: url("~/.config/rofi/.current_wallpaper", width); +} + +/* ---- Entry input ---- */ +entry { + enabled: true; + expand: false; + width: 20%; + padding: 10px; + border-radius: 12px; + background-color: @selected; + text-color: @text-selected; + cursor: text; + placeholder: "๐Ÿ–ฅ๏ธ Search "; // << Search symbol + placeholder-color: inherit; +} + +/* ---- Listbox ---- */ +listbox { + spacing: 10px; + padding: 10px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 2; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: false; + fixed-columns: true; + spacing: 10px; + background-color: transparent; + +// Adapt rofi theme + border: 0px; +} + +/* ---- Dummy ---- */ +dummy { + expand: true; + background-color: transparent; +} + +/* ---- Mode Switcher ---- */ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; +} +button { + width: 5%; + padding: 12px; + border-radius: 12px; + background-color: @text-selected; + text-color: @text-color; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @text-selected; +} + +/* ---- Scrollbar ---- */ +scrollbar { + width: 4px ; + border: 0; + handle-color: @border-color; + handle-width: 8px ; + padding: 0; +} + +/* ---- Elements ---- */ +element { + enabled: true; + spacing: 10px; + padding: 10px; + border-radius: 12px; + background-color: transparent; + cursor: pointer; +} + +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} + +element selected.normal { + background-color: @selected; + text-color: @text-selected; +} +element selected.urgent { + background-color: @urgent; + text-color: @text-selected; +} +element selected.active { + background-color: @urgent; + text-color: @text-selected; +} +// Adapt rofi theme +element alternate.normal { + background-color: transparent; + text-color: inherit; +} +element alternate.urgent { + background-color: transparent; + text-color: inherit; +} +element alternate.active { + background-color: transparent; + text-color: inherit; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 36px; + cursor: inherit; +} +element-text { + font: "Fira Code SemiBold 12"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/* ---- Message ---- */ +message { + background-color: transparent; + border: 0px; +} +textbox { + padding: 12px; + border-radius: 10px; + background-color: @background-alt; + text-color: @background; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 20px; + background-color: @background-alt; + text-color: @background; +} diff --git a/.config/rofi/resolution/1440p/config.rasi b/.config/rofi/resolution/1440p/config.rasi new file mode 100755 index 0000000..07809fb --- /dev/null +++ b/.config/rofi/resolution/1440p/config.rasi @@ -0,0 +1,44 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Main Config 1440p */ + +@import "~/.config/rofi/master-config.rasi" + +/* ---- Window ---- */ +window { + width: 60%; +} + +/* ---- Entry input ---- */ +entry { + width: 18%; +} + +/* ---- Mode Switcher ---- */ +button { + width: 110px; +} + +/* ---- Listview ---- */ +listview { + columns: 6; + lines: 4; + fixed-height: true; +} + +/* ---- Element ---- */ +element { + orientation: vertical; + padding: 12px; + spacing: 6px; + border-radius: 20px; +} + +element-icon { + size: 5%; +} + +element-text { + font: "Fira Code SemiBold 12"; + vertical-align: 0.5; + horizontal-align: 0.5; +} diff --git a/.config/rofi/resolution/1440p/master-config.rasi b/.config/rofi/resolution/1440p/master-config.rasi new file mode 100644 index 0000000..62fba44 --- /dev/null +++ b/.config/rofi/resolution/1440p/master-config.rasi @@ -0,0 +1,235 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Master Config 1440p*/ + +/* ---- Configuration ---- */ + +configuration { + font: "Fira Code SemiBold 13"; + modi: "drun,run,filebrowser"; + show-icons: true; + display-drun: "Apps"; + display-run: "Run"; + display-filebrowser: "Files"; + display-window: "Windows"; + drun-display-format: "{name}"; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; + window-format: "{w} ยท {c} ยท {t}"; + dpi: 1; +} + +/* ---- Load wallust colors ---- */ +@theme "~/.config/rofi/wallust/colors-rofi.rasi" + +/* ---- Global Properties ---- */ +* { + + background-alt: @selected-active-background; // Buttons background + selected: @selected-urgent-background; // Button selected + active: @selected-normal-background; // Window activated + urgent: @selected; // When hovering the activated window (maybe more?) + + text-selected: @background; + text-color: @foreground; + border-color: @selected; +} + +/* ---- Window ---- */ +window { + // Default + enabled: true; + fullscreen: false; + transparency: "real"; + cursor: "default"; + spacing: 0px; + border: 2px; + border-radius: 30px; + location: center; + anchor: center; + + // Style Values + width: 50%; + background-color: @background; +} + +/* ----- Main Box ----- */ +mainbox { + padding: 15px; + enabled: true; + orientation: vertical; + children: [ "inputbar", "listbox" ]; + background-color: transparent; +} + + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + padding: 10px 10px 100px 10px; + margin: 10px; + background-color: transparent; + border-radius: 25px; + orientation: horizontal; + children: ["entry", "dummy", "mode-switcher" ]; + background-image: url("~/.config/rofi/.current_wallpaper", width); +} + +/* ---- Entry input ---- */ +entry { + enabled: true; + expand: false; + width: 20%; + padding: 10px; + border-radius: 12px; + background-color: @selected; + text-color: @text-selected; + cursor: text; + placeholder: "๐Ÿ–ฅ๏ธ Search "; // << Search symbol + placeholder-color: inherit; +} + +/* ---- Listbox ---- */ +listbox { + spacing: 10px; + padding: 10px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 2; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: false; + fixed-columns: true; + spacing: 10px; + background-color: transparent; + +// Adapt rofi theme + border: 0px; +} + +/* ---- Dummy ---- */ +dummy { + expand: true; + background-color: transparent; +} + +/* ---- Mode Switcher ---- */ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; +} +button { + width: 5%; + padding: 12px; + border-radius: 12px; + background-color: @text-selected; + text-color: @text-color; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @text-selected; +} + +/* ---- Scrollbar ---- */ +scrollbar { + width: 4px ; + border: 0; + handle-color: @border-color; + handle-width: 8px ; + padding: 0; +} + +/* ---- Elements ---- */ +element { + enabled: true; + spacing: 10px; + padding: 10px; + border-radius: 12px; + background-color: transparent; + cursor: pointer; +} + +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} + +element selected.normal { + background-color: @selected; + text-color: @text-selected; +} +element selected.urgent { + background-color: @urgent; + text-color: @text-selected; +} +element selected.active { + background-color: @urgent; + text-color: @text-selected; +} +// Adapt rofi theme +element alternate.normal { + background-color: transparent; + text-color: inherit; +} +element alternate.urgent { + background-color: transparent; + text-color: inherit; +} +element alternate.active { + background-color: transparent; + text-color: inherit; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 36px; + cursor: inherit; +} +element-text { + font: "Fira Code SemiBold 16"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/* ---- Message ---- */ +message { + background-color: transparent; + border: 0px; +} +textbox { + padding: 12px; + border-radius: 10px; + background-color: @background-alt; + text-color: @background; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 20px; + background-color: @background-alt; + text-color: @background; +} diff --git a/.config/rofi/wallust/colors-rofi.rasi b/.config/rofi/wallust/colors-rofi.rasi new file mode 100644 index 0000000..c613cc7 --- /dev/null +++ b/.config/rofi/wallust/colors-rofi.rasi @@ -0,0 +1,28 @@ +* { +active-background: #2E1F1A; +active-foreground: #ABD4C5; +normal-background: #231D1D; +normal-foreground: #ABD4C5; +urgent-background: #783C2B; +urgent-foreground: #ABD4C5; + +alternate-active-background: #154430; +alternate-active-foreground: #ABD4C5; +alternate-normal-background: #231D1D; +alternate-normal-foreground: #ABD4C5; +alternate-urgent-background: #231D1D; +alternate-urgent-foreground: #ABD4C5; + +selected-active-background: #2E1F1A; +selected-active-foreground: #ABD4C5; +selected-normal-background: #7EB9A4; +selected-normal-foreground: #ABD4C5; +selected-urgent-background: #783C2B; +selected-urgent-foreground: #ABD4C5; + +background-color: #231D1D; +background: rgba(0,0,0,0.7); +foreground: #7EB9A4; +border-color: #2E1F1A; +} +