[Build] Prepare for improved rendering capbilities
This commit is contained in:
		| @@ -1,34 +1,64 @@ | ||||
| #----------# | ||||
| # KEYBINDS # | ||||
| #----------# | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| #          ╭────────────────────────────────────────────────╮ | ||||
| #          │                    KEYBINDS                    │ | ||||
| #          ╰────────────────────────────────────────────────╯ | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
|  | ||||
| $mainMod = SUPER | ||||
| # These key-binds are non-specific, laptop config has a separate file that includes  | ||||
| # extra config for it specifically | ||||
| bind = $mainMod, Q, killactive | ||||
| bind = $mainMod SHIFT, Q, exit | ||||
| # bind = $mainMod SHIFT, Q, exit | ||||
| bind = $mainMod, Return, exec, kitty | ||||
| bind = $mainMod, C, killactive,  | ||||
| # bind = $mainMod, E, exec, thunar | ||||
| bind = $mainMod SHIFT, E, exec, thunar | ||||
| bind = $mainMod, E, exec, kitty --hold fish -c "y" | ||||
| bind = $mainMod, V, togglefloating, | ||||
| bind = $mainMod, F, fullscreen, | ||||
|  | ||||
| # Launch commands | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| #          ╭────────────────────────────────────────────────╮ | ||||
| #          │                      AGS                       │ | ||||
| #          ╰────────────────────────────────────────────────╯ | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
|  | ||||
| # ┌                                                ┐ | ||||
| # │                 Notifications                  │ | ||||
| # └                                                ┘ | ||||
| bind = $mainMod, N, exec, astal -i notifier toggle | ||||
| bind = $mainMod, C, exec, astal -i notifier clear-newest | ||||
| bind = $mainMod SHIFT, C, exec, astal -i notifier clear | ||||
| bind = $mainMod SHIFT, N, exec, astal -i notifier show | ||||
| bind = $mainMod CTRL SHIFT, N, exec, astal -i notifier hide | ||||
|  | ||||
|  | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| #          ╭────────────────────────────────────────────────╮ | ||||
| #          │                    General                     │ | ||||
| #          ╰────────────────────────────────────────────────╯ | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
|  | ||||
|  | ||||
| # ┌                                                ┐ | ||||
| # │                Launch commands                 │ | ||||
| # └                                                ┘ | ||||
| bind = $mainMod SHIFT, L, exec, librewolf | ||||
| bind = $mainMod SHIFT, D, exec, vesktop | ||||
| bind = $mainMod SHIFT, V, exec, vscodium | ||||
| bind = $mainMod SHIFT, T, exec, thunderbird | ||||
| bind = $mainMod SHIFT, H, exec, heroic | ||||
| bind = $mainMod SHIFT, I, exec, notify-send 'AirPlay video server starting...' && terminator -e "systemctl start avahi-daemon && sleep 5 && uxplay -n LinuxVideoPlay -nh" | ||||
| bind = $mainMod SHIFT, A, exec, notify-send 'AirPlay server starting...' && terminator -T "hidden-terminator" -e "systemctl start avahi-daemon && shairport-sync -a LinuxPlay" | ||||
| bind = $mainMod SHIFT, G, exec, notify-send 'Preparing system for gaming...' && corectrl | ||||
| bind = $mainMod SHIFT, P, exec, notify-send 'Steam is launching...' && steam | ||||
| bind = $mainMod SHIFT, R, exec, notify-send 'Launching in Remoteplay optimised session' && steam -pipewire | ||||
| bind = $mainMod CTRL, K, exec, notify-send 'Insta-Kill activated' && hyprctl kill | ||||
| bind = $mainMod SHIFT, Z, exec, zathura | ||||
| bind = $mainMod SHIFT, I, exec, notify-send 'AirPlay video server starting...' --app-name="AirPlay Video" && terminator -e "systemctl start avahi-daemon && sleep 5 && uxplay -n LinuxVideoPlay -nh" | ||||
| bind = $mainMod SHIFT, A, exec, notify-send 'AirPlay server starting...' --app-name="AirPlay Audio" && terminator -T "hidden-terminator" -e "systemctl start avahi-daemon && shairport-sync -a LinuxPlay" | ||||
| bind = $mainMod SHIFT, G, exec, notify-send 'Preparing system for gaming...' --app-name="Util" && corectrl | ||||
| bind = $mainMod SHIFT, P, exec, notify-send 'Steam is launching...' --app-name="Steam" && steam | ||||
| bind = $mainMod SHIFT, R, exec, notify-send 'Launching in Remoteplay optimised session' --app-name="Steam" && steam -pipewire | ||||
| bind = $mainMod CTRL, K, exec, notify-send 'Insta-Kill activated' --app-name="Hyprctl" && hyprctl kill | ||||
| bind = $mainMod SHIFT, O, exec, terminator -e "~/projects/dotfiles/ai.sh" | ||||
|  | ||||
| # Screenshots | ||||
| # ┌                                                ┐ | ||||
| # │                  Screenshots                   │ | ||||
| # └                                                ┘ | ||||
| bind = $mainMod SHIFT, S, exec, grimblast --notify copy area | ||||
| bind = $mainMod CTRL, S, exec, grimblast --notify copysave area | ||||
| bind = $mainMod ALT, S, exec, grimblast --notify save area | ||||
| @@ -36,33 +66,46 @@ bind = , PRINT, exec, grimblast --notify copy screen | ||||
| bind = CTRL, PRINT, exec, grimblast --notify copysave screen | ||||
| bind = SHIFT, PRINT, exec, grimblast --notify save screen | ||||
|  | ||||
| # Rofi commands | ||||
| # ┌                                                ┐ | ||||
| # │                 Rofi commands                  │ | ||||
| # └                                                ┘ | ||||
| bind = $mainMod, Space, exec, killall rofi || rofi -show combi -modes combi -combi-modes "window,drun,run" | ||||
| bind = $mainMod SHIFT, Space, exec, rofi -modi "Global Search":"~/.config/rofi/spotlight/rofi-spotlight.sh" -show "Global Search" -config ~/.config/rofi/spotlight/rofi.rasi | ||||
| bind = $mainMod, P, exec, killall rofi || rofi -show p -modi p:rofi-power-menu -theme ~/.config/rofi/themes/power.rasi | ||||
|  | ||||
| # Logout commands | ||||
| # ┌                                                ┐ | ||||
| # │                Logout commands                 │ | ||||
| # └                                                ┘ | ||||
| bind = $mainMod, escape, exec, wlogout | ||||
| bind = $mainMod ALT CTRL, L, exec, hyprlock --immediate | ||||
|  | ||||
|  | ||||
| #--------------# | ||||
| # Layout binds # | ||||
| #--------------# | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| #          ╭────────────────────────────────────────────────╮ | ||||
| #          │                  Layout binds                  │ | ||||
| #          ╰────────────────────────────────────────────────╯ | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
|  | ||||
| # Move focus with mainMod + arrow keys | ||||
|  | ||||
| # ┌                                                ┐ | ||||
| # │      Move focus with mainMod + arrow keys      │ | ||||
| # └                                                ┘ | ||||
| bind = $mainMod, left, movefocus, l | ||||
| bind = $mainMod, right, movefocus, r | ||||
| bind = $mainMod, up, movefocus, u | ||||
| bind = $mainMod, down, movefocus, d | ||||
|  | ||||
| # Same with vim-motions | ||||
| # ┌                                                ┐ | ||||
| # │             Same with vim-motions              │ | ||||
| # └                                                ┘ | ||||
| bind = $mainMod, h, movefocus, l | ||||
| bind = $mainMod, l, movefocus, r | ||||
| bind = $mainMod, j, movefocus, d | ||||
| bind = $mainMod, k, movefocus, u | ||||
|  | ||||
| # Switch workspaces with mainMod + [0-9] | ||||
| # ┌                                                ┐ | ||||
| # │     Switch workspaces with mainMod + [0-9]     │ | ||||
| # └                                                ┘ | ||||
| bind = $mainMod, 1, workspace, 1 | ||||
| bind = $mainMod, 2, workspace, 2 | ||||
| bind = $mainMod, 3, workspace, 3 | ||||
| @@ -73,13 +116,16 @@ bind = $mainMod, 7, workspace, 7 | ||||
| bind = $mainMod, 8, workspace, 8 | ||||
| bind = $mainMod, 9, workspace, 9 | ||||
| bind = $mainMod, 0, workspace, 10 | ||||
| bind = $mainMod ALT, left, workspace, e-1 | ||||
| bind = $mainMod ALT, right, workspace, e+1 | ||||
| bind = $mainMod ALT, h, workspace, e-1 | ||||
| bind = $mainMod ALT, l, workspace, e+1 | ||||
| bind = $mainMod CTRL, left, workspace, e-1 | ||||
| bind = $mainMod CTRL, right, workspace, e+1 | ||||
| bind = $mainMod CTRL, h, workspace, e-1 | ||||
| bind = $mainMod CTRL, l, workspace, e+1 | ||||
|  | ||||
|  | ||||
| # Move active window to a workspace with mainMod + SHIFT + [0-9] | ||||
| # ┌                                                ┐ | ||||
| # │     Move active window to a workspace with     │ | ||||
| # │            mainMod + SHIFT + [0-9]             │ | ||||
| # └                                                ┘ | ||||
| bind = $mainMod SHIFT, 1, movetoworkspace, 1 | ||||
| bind = $mainMod SHIFT, 2, movetoworkspace, 2 | ||||
| bind = $mainMod SHIFT, 3, movetoworkspace, 3 | ||||
| @@ -95,46 +141,72 @@ bind = $mainMod SHIFT, right, movetoworkspace, e+1 | ||||
| bind = $mainMod SHIFT, j, movetoworkspace, e-1 | ||||
| bind = $mainMod SHIFT, k, movetoworkspace, e+1 | ||||
|  | ||||
| # Scroll through existing workspaces with mainMod + scroll | ||||
|  | ||||
| # ┌                                                ┐ | ||||
| # │    Scroll through existing workspaces with     │ | ||||
| # │                mainMod + scroll                │ | ||||
| # └                                                ┘ | ||||
| bind = $mainMod, mouse_down, workspace, e+1 | ||||
| bind = $mainMod, mouse_up, workspace, e-1 | ||||
|  | ||||
| # Tile window to a part of the screen | ||||
| bind = $mainMod CTRL, left, movewindow, left | ||||
| bind = $mainMod CTRL, right, movewindow, right | ||||
|  | ||||
| # move to next window / previous window with ALT + Tab / SHIFT + ALT + Tab | ||||
| # ┌                                                ┐ | ||||
| # │      Tile window to a part of the screen       │ | ||||
| # └                                                ┘ | ||||
| # bind = $mainMod CTRL, left, movewindow, left | ||||
| # bind = $mainMod CTRL, right, movewindow, right | ||||
|  | ||||
|  | ||||
| # ┌                                                ┐ | ||||
| # │   move to next window / previous window with   │ | ||||
| # │         ALT + Tab / SHIFT + ALT + Tab          │ | ||||
| # └                                                ┘ | ||||
| bind = ALT SHIFT, tab, cyclenext, prev | ||||
| # bind = ALT, tab, cyclenext, next | ||||
| # bind = ALT CTRL, tab, focusurgentorlast | ||||
| bind = ALT, tab, focusurgentorlast | ||||
|  | ||||
| # Master layout commands | ||||
|  | ||||
| # ┌                                                ┐ | ||||
| # │             Master layout commands             │ | ||||
| # └                                                ┘ | ||||
| bind = $mainMod CTRL, M, layoutmsg, swapwithmaster | ||||
| bind = $mainMod SHIFT, A, layoutmsg, addmaster | ||||
| bind = $mainMod SHIFT CTRL, right, layoutmsg, orientationnext | ||||
| bind = $mainMod SHIFT CTRL, left, layoutmsg, orientationprev | ||||
|  | ||||
| # Move/resize windows with mainMod + LMB/RMB and dragging | ||||
|  | ||||
| # ┌                                                ┐ | ||||
| # │   Move/resize windows with mainMod + LMB/RMB   │ | ||||
| # │                  and dragging                  │ | ||||
| # └                                                ┘ | ||||
| bindm = $mainMod, mouse:272, movewindow | ||||
| bindm = $mainMod, mouse:273, resizewindow | ||||
|  | ||||
|  | ||||
| # Freeze | ||||
| # ┌                                                ┐ | ||||
| # │                     Freeze                     │ | ||||
| # └                                                ┘ | ||||
| bind = $mainMod SHIFT, escape, exec, hyprfreeze -a | ||||
|  | ||||
|  | ||||
| # Volume control | ||||
| # ┌                                                ┐ | ||||
| # │                 Volume control                 │ | ||||
| # └                                                ┘ | ||||
| bind = ,code:123, exec, pamixer -i 5 | ||||
| bind = ,code:122, exec, pamixer -d 5 | ||||
| bind = ,code:121, exec, pamixer -t | ||||
|  | ||||
|  | ||||
| # Brightness-Control | ||||
| bind = ,code:232, exec, light -U 5 && notify-send 'Display brightness decreased by 5%' | ||||
| bind = ,code:233, exec, light -A 5 && notify-send 'Display brightness increased by 5%' | ||||
| # ┌                                                ┐ | ||||
| # │               Brightness-Control               │ | ||||
| # └                                                ┘ | ||||
| bind = ,code:232, exec, light -U 5 && notify-send 'Display brightness decreased by 5%' --app-name="Brightness" | ||||
| bind = ,code:233, exec, light -A 5 && notify-send 'Display brightness increased by 5%' --app-name="Brightness" | ||||
|  | ||||
|  | ||||
| # Monitor config binds | ||||
| bind = $mainMod CTRL, D, exec, hyprctl keyword monitor HDMI-A-1, 1280x720@60, 1920x0, 1, mirror, DP-1 && notify-send 'Set FPV goggles to mirror main screen' | ||||
| bind = $mainMod CTRL, E, exec, hyprctl keyword monitor HDMI-A-1, 1280x720@60, 3840x0, 1 && notify-send 'Set to expand FPV goggles' | ||||
| # ┌                                                ┐ | ||||
| # │              Monitor config binds              │ | ||||
| # └                                                ┘ | ||||
| bind = $mainMod CTRL, D, exec, hyprctl keyword monitor HDMI-A-1, 1280x720@60, 1920x0, 1, mirror, DP-1 && notify-send 'Set FPV goggles to mirror main screen' --app-name="Hyprctl" | ||||
| bind = $mainMod CTRL, E, exec, hyprctl keyword monitor HDMI-A-1, 1280x720@60, 3840x0, 1 && notify-send 'Set to expand FPV goggles' --app-name="Hyprctl" | ||||
|   | ||||
| @@ -1,14 +0,0 @@ | ||||
| #---------# | ||||
| # COLOURS # | ||||
| #---------# | ||||
|  | ||||
| general { | ||||
|     col.active_border = {{ accent_colour_1 }} {{ accent_colour_2 }} {{ accent_colour_3 }} 45deg | ||||
|     col.inactive_border = {{ inactive_colour }} | ||||
| } | ||||
|  | ||||
| decoration { | ||||
|     shadow { | ||||
|         color = {{ shadow_colour }} | ||||
|     } | ||||
| } | ||||
| @@ -1,12 +1,16 @@ | ||||
| #-----------------------# | ||||
| # LAUNCHING OF PROGRAMS # | ||||
| #-----------------------# | ||||
| exec-once = dunst --startup_notification | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| #          ╭────────────────────────────────────────────────╮ | ||||
| #          │             LAUNCHING OF PROGRAMS              │ | ||||
| #          ╰────────────────────────────────────────────────╯ | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| # exec-once = dunst --startup_notification | ||||
| exec-once = ags run ~/projects/active/dotfiles/config/ags/notifications/ | ||||
| exec-once = ~/.config/hypr/xdg-portal-hyprland | ||||
| exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XAUTHORITY DISPLAY | ||||
| exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP | ||||
| exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 | ||||
| exec-once = waybar | ||||
| # exec-once = waybar | ||||
| exec-once = ags run ~/projects/active/dotfiles/config/astal --gtk4 | ||||
| exec-once = hypridle | ||||
|  | ||||
| exec-once = nm-applet | ||||
| @@ -18,9 +22,11 @@ env = QT_QPA_PLATFORM,wayland | ||||
| env = QT_QPA_PLATFORM_THEME,qt6ct | ||||
| env = OLLAMA_HOST,0.0.0.0 | ||||
|  | ||||
| #-------# | ||||
| # INPUT # | ||||
| #-------# | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| #          ╭────────────────────────────────────────────────╮ | ||||
| #          │                     INPUT                      │ | ||||
| #          ╰────────────────────────────────────────────────╯ | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| input { | ||||
|     kb_layout = ch | ||||
|     kb_options = caps:swapescape | ||||
| @@ -48,15 +54,19 @@ gestures { | ||||
| } | ||||
|  | ||||
|  | ||||
| #----------------# | ||||
| # GENERAL CONFIG # | ||||
| #----------------# | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| #          ╭────────────────────────────────────────────────╮ | ||||
| #          │                 GENERAL CONFIG                 │ | ||||
| #          ╰────────────────────────────────────────────────╯ | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| general { | ||||
|     # See https://wiki.hyprland.org/Configuring/Variables/ for more | ||||
|  | ||||
|     gaps_in = 3 | ||||
|     gaps_out = 10 | ||||
|     border_size = 1 | ||||
|     col.active_border = rgba(cc5c00ff) rgba(cc5c00ff) rgba(ff0000ff) 45deg | ||||
|     col.inactive_border = rgba(595959aa) | ||||
|  | ||||
|     layout = master | ||||
|     no_border_on_floating = false | ||||
| @@ -70,6 +80,7 @@ decoration { | ||||
|     shadow { | ||||
|         enabled = true | ||||
|         range = 4 | ||||
|         color = rgba(1a1a1aee) | ||||
|     } | ||||
|  | ||||
|     blur { | ||||
|   | ||||
| @@ -1,108 +1,123 @@ | ||||
| #-----------------# | ||||
| # WORKSPACE RULES # | ||||
| #-----------------# | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| #          ╭────────────────────────────────────────────────╮ | ||||
| #          │                WORKSPACE RULES                 │ | ||||
| #          ╰────────────────────────────────────────────────╯ | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
|  | ||||
| # Display full sized (without gaps), if only window on screen | ||||
| workspace = w[tv1], gapsout:0, gapsin:0 | ||||
| workspace = f[1], gapsout:0, gapsin:0 | ||||
| windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1] | ||||
| windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1] | ||||
| windowrulev2 = bordersize 0, floating:0, onworkspace:f[1] | ||||
| windowrulev2 = rounding 0, floating:0, onworkspace:f[1] | ||||
| windowrule = bordersize 0, floating:0, onworkspace:w[tv1] | ||||
| windowrule = rounding 0, floating:0, onworkspace:w[tv1] | ||||
| windowrule = bordersize 0, floating:0, onworkspace:f[1] | ||||
| windowrule = rounding 0, floating:0, onworkspace:f[1] | ||||
|  | ||||
| $mainMod = SUPER | ||||
|  | ||||
| #--------------# | ||||
| # WINDOW RULES # | ||||
| #--------------# | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| #          ╭────────────────────────────────────────────────╮ | ||||
| #          │                  WINDOW RULES                  │ | ||||
| #          ╰────────────────────────────────────────────────╯ | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| windowrule = float, title:.*(rofi).* | ||||
| windowrulev2 = animation popin, title:.*(rofi).* | ||||
| windowrulev2 = center, title:(rofi)(.*) | ||||
| windowrule = animation popin, title:.*(rofi).* | ||||
| windowrule = center, title:(rofi)(.*) | ||||
|  | ||||
| windowrulev2 = move 1450 50, title:^(.*)(Power menu)$ | ||||
| windowrule = workspace 2, evince | ||||
| windowrulev2 = workspace 2, title:.*(Okular).* | ||||
| windowrulev2 = fullscreen, title:wlogout | ||||
| windowrule = workspace 2, librewolf | ||||
| windowrulev2 = workspace 2, title:LibreWolf | ||||
| windowrulev2 = workspace 2, title:(.*)(Discord)(.*) | ||||
| windowrulev2 = workspace 3, title:^(Steam)(.*)$ | ||||
| windowrulev2 = workspace 1, title:^(.*)(VSCodium)$ | ||||
| windowrulev2 = center, title:^(.*)(VSCodium)$ | ||||
| windowrule = workspace 3, minecraft-launcher | ||||
| windowrule = tile, minecraft-launcher | ||||
| windowrulev2 = fullscreen, title:^(.*)(Minecraft)(.*)$ | ||||
| windowrulev2 = workspace 3, title:^(.*)(Minecraft)(.*)$ | ||||
| windowrule = move 1450 50, title:^(.*)(Power menu)$ | ||||
| windowrule = workspace 2, class:evince | ||||
| windowrule = workspace 2, title:.*(Okular).* | ||||
| windowrule = workspace 2, class:org.pwmt.zathura | ||||
| windowrule = fullscreen, title:wlogout | ||||
| windowrule = workspace 2, class:librewolf | ||||
| windowrule = workspace 2, title:LibreWolf | ||||
| windowrule = workspace 2, title:(.*)(Discord)(.*) | ||||
| windowrule = workspace 3, title:^(Steam)(.*)$ | ||||
| windowrule = workspace 1, title:^(.*)(VSCodium)$ | ||||
| windowrule = center, title:^(.*)(VSCodium)$ | ||||
| windowrule = workspace 3, class:minecraft-launcher | ||||
| windowrule = tile, class:minecraft-launcher | ||||
| windowrule = fullscreen, title:^(.*)(Minecraft)(.*)$ | ||||
| windowrule = workspace 3, title:^(.*)(Minecraft)(.*)$ | ||||
|  | ||||
| windowrulev2 = workspace 1, title:^(.*)hidden-terminator*(.*)$ | ||||
| windowrulev2 = size 0 0, title:^(.*)hidden-terminator*(.*)$ | ||||
| windowrulev2 = move 0 0, title:^(.*)hidden-terminator*(.*)$ | ||||
| windowrulev2 = float, title:^(.*)hidden-terminator*(.*)$ | ||||
| windowrule = workspace 1, title:^(.*)hidden-terminator*(.*)$ | ||||
| windowrule = size 0 0, title:^(.*)hidden-terminator*(.*)$ | ||||
| windowrule = move 0 0, title:^(.*)hidden-terminator*(.*)$ | ||||
| windowrule = float, title:^(.*)hidden-terminator*(.*)$ | ||||
|  | ||||
| # Set floating windows & position them centered | ||||
| windowrule = float, file_progress | ||||
| windowrule = center, file_progress | ||||
| # ┌                                                ┐ | ||||
| # │          Set rule for yazi filepicker          │ | ||||
| # └                                                ┘ | ||||
| windowrule = float, title:^(.*)termfilechooser*(.*)$ | ||||
| windowrule = size 1400 800, title:^(.*)termfilechooser*(.*)$ | ||||
| windowrule = center, title:^(.*)termfilechooser*(.*)$ | ||||
|  | ||||
| windowrule = float, confirm | ||||
| windowrule = center, confirm | ||||
| # ┌                                                ┐ | ||||
| # │ Set floating windows & position them centered  │ | ||||
| # └                                                ┘ | ||||
| windowrule = float, class:file_progress | ||||
| windowrule = center, class:file_progress | ||||
|  | ||||
| windowrule = float, dialog | ||||
| windowrule = center, dialog | ||||
| windowrule = float, class:confirm | ||||
| windowrule = center, class:confirm | ||||
|  | ||||
| windowrule = float, download | ||||
| windowrule = center, download | ||||
| windowrule = float, class:dialog | ||||
| windowrule = center, class:dialog | ||||
|  | ||||
| windowrule = float, notification | ||||
| windowrule = center, notification | ||||
| windowrule = float, class:download | ||||
| windowrule = center, class:download | ||||
|  | ||||
| windowrule = float, error | ||||
| windowrule = center, error | ||||
| windowrule = float, class:notification | ||||
| windowrule = center, class:notification | ||||
|  | ||||
| windowrule = float, splash | ||||
| windowrule = center, splash | ||||
| windowrule = float, class:error | ||||
| windowrule = center, class:error | ||||
|  | ||||
| windowrule = float, confirmreset | ||||
| windowrule = center, confirmreset | ||||
| windowrule = float, class:splash | ||||
| windowrule = center, class:splash | ||||
|  | ||||
| windowrulev2 = float, title:Open File | ||||
| windowrulev2 = center, title:Open File | ||||
| windowrule = float, class:confirmreset | ||||
| windowrule = center, class:confirmreset | ||||
|  | ||||
| windowrulev2 = float, title:branchdialog | ||||
| windowrulev2 = center, title:branchdialog | ||||
| windowrule = float, title:Open File | ||||
| windowrule = center, title:Open File | ||||
|  | ||||
| windowrule = float, Lxappearance | ||||
| windowrule = center, Lxappearance | ||||
| windowrule = float, title:branchdialog | ||||
| windowrule = center, title:branchdialog | ||||
|  | ||||
| windowrulev2 = float, title:^(Media viewer)$ | ||||
| windowrulev2 = center, title:^(Media viewer)$ | ||||
| windowrule = float, class:Lxappearance | ||||
| windowrule = center, class:Lxappearance | ||||
|  | ||||
| windowrulev2 = float, title:^(Volume Control)$ | ||||
| windowrulev2 = center, title:^(Volume Control)$ | ||||
| windowrule = float, title:^(Media viewer)$ | ||||
| windowrule = center, title:^(Media viewer)$ | ||||
|  | ||||
| windowrulev2 = float, title:^(Picture-in-Picture)$ | ||||
| windowrulev2 = center, title:^(Picture-in-Picture)$ | ||||
| windowrule = float, title:^(Volume Control)$ | ||||
| windowrule = center, title:^(Volume Control)$ | ||||
|  | ||||
| windowrulev2 = float, title:^(File Operation Progress)$ | ||||
| windowrulev2 = center, title:^(File Operation Progress)$ | ||||
| windowrule = float, title:^(Picture-in-Picture)$ | ||||
| windowrule = center, title:^(Picture-in-Picture)$ | ||||
|  | ||||
| windowrulev2 = float, title:^(Loading)(.*)$ | ||||
| windowrulev2 = center, title:^(Loading)(.*)$ | ||||
| windowrule = float, title:^(File Operation Progress)$ | ||||
| windowrule = center, title:^(File Operation Progress)$ | ||||
|  | ||||
| windowrule = float, pavucontrol-qt | ||||
| windowrule = center, pavucontrol-qt | ||||
| windowrule = float, title:^(Loading)(.*)$ | ||||
| windowrule = center, title:^(Loading)(.*)$ | ||||
|  | ||||
| windowrule = float, pavucontrol | ||||
| windowrule = center, pavucontrol | ||||
| windowrule = float, class:pavucontrol-qt | ||||
| windowrule = center, class:pavucontrol-qt | ||||
|  | ||||
| windowrule = float, file-roller | ||||
| windowrule = center, file-roller | ||||
| windowrule = float, class:pavucontrol | ||||
| windowrule = center, class:pavucontrol | ||||
|  | ||||
| windowrulev2 = idleinhibit focus, title:^(Rocket League)(.*)$ | ||||
| windowrulev2 = fullscreen, title:^(Steam Big Picture)$ | ||||
| windowrule = idleinhibit always, steam | ||||
| windowrule = idleinhibit always, lutris | ||||
| windowrule = idleinhibit focus, vlc | ||||
| windowrule = idleinhibit focus, supertuxkart | ||||
| windowrulev2 = idleinhibit fullscreen, title:^(.*)(Discord)(.*)$ | ||||
| windowrulev2 = idleinhibit fullscreen, title:^(.*)(~)(.*)$ | ||||
| windowrulev2 = idleinhibit focus, title:^(.*)(~)(.*)$ | ||||
| windowrulev2 = idleinhibit focus, title:^(.*)(LibreWolf)(.*)$ | ||||
| windowrule = float, class:file-roller | ||||
| windowrule = center, class:file-roller | ||||
|  | ||||
| windowrule = idleinhibit focus, title:^(Rocket League)(.*)$ | ||||
| windowrule = fullscreen, title:^(Steam Big Picture)$ | ||||
| windowrule = idleinhibit always, class:steam | ||||
| windowrule = idleinhibit always, class:lutris | ||||
| windowrule = idleinhibit focus, class:vlc | ||||
| windowrule = idleinhibit focus, class:supertuxkart | ||||
| windowrule = idleinhibit fullscreen, title:^(.*)(Discord)(.*)$ | ||||
| windowrule = idleinhibit fullscreen, title:^(.*)(~)(.*)$ | ||||
| windowrule = idleinhibit focus, title:^(.*)(~)(.*)$ | ||||
| windowrule = idleinhibit focus, title:^(.*)(LibreWolf)(.*)$ | ||||
|   | ||||
| @@ -11,9 +11,11 @@ | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| #----------# | ||||
| # MONITORS # | ||||
| #----------# | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| #          ╭────────────────────────────────────────────────╮ | ||||
| #          │                    MONITORS                    │ | ||||
| #          ╰────────────────────────────────────────────────╯ | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| 
 | ||||
| # monitor=DP-1, preferred, 0x0, 1, vrr, 2 | ||||
| monitor=DP-1, 1920x1080@144, 0x0, 1, vrr, 2 | ||||
| @@ -29,9 +31,10 @@ source=./hyprland/binds.conf | ||||
| source=./hyprland/general.conf | ||||
| source=./hyprland/windowrules.conf | ||||
| 
 | ||||
| #---------# | ||||
| # DESKTOP # | ||||
| #---------# | ||||
| 
 | ||||
| # ┌                                                ┐ | ||||
| # │                    DESKTOP                     │ | ||||
| # └                                                ┘ | ||||
| workspace = 1, monitor:DP-1, default:1 | ||||
| workspace = 2, monitor:DP-2, default:1 | ||||
| workspace = 3, monitor:DP-1 | ||||
							
								
								
									
										74
									
								
								config/hypr/hyprland_laptop.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										74
									
								
								config/hypr/hyprland_laptop.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,74 @@ | ||||
| #░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | ||||
| #░   ░░░░   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░   ░░░░░░░░░░░░░░░░░░░░░░░░░░░   ░░░░░░░░░░░░   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   ░░░░░░░░░░░░░░ | ||||
| #▒   ▒▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒   ▒▒▒▒▒▒▒▒▒   ▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  ▒▒▒▒▒▒  ▒▒▒▒▒▒▒▒▒ | ||||
| #▒   ▒▒▒▒   ▒   ▒▒▒   ▒  ▒   ▒▒▒  ▒    ▒   ▒▒▒▒   ▒▒▒▒▒   ▒   ▒▒▒▒▒▒▒▒   ▒▒▒▒▒▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒   ▒▒▒▒▒   ▒   ▒▒▒    ▒  ▒▒▒▒▒▒▒     ▒▒ | ||||
| #▓          ▓▓   ▓   ▓▓  ▓▓   ▓▓▓   ▓▓▓▓   ▓▓   ▓▓   ▓▓▓   ▓▓   ▓▓   ▓   ▓▓▓▓▓▓▓▓   ▓▓▓▓▓▓▓▓▓   ▓▓   ▓▓▓   ▓▓   ▓▓▓   ▓▓▓▓   ▓   ▓▓    | ||||
| #▓   ▓▓▓▓   ▓▓▓▓    ▓▓▓  ▓▓▓   ▓▓   ▓▓▓▓   ▓   ▓▓▓   ▓▓▓   ▓▓   ▓  ▓▓▓   ▓▓▓▓▓▓▓▓   ▓▓▓▓▓▓▓▓   ▓▓▓▓   ▓▓   ▓▓   ▓▓▓   ▓▓▓▓   ▓  ▓▓▓    | ||||
| #▓   ▓▓▓▓   ▓▓▓▓▓   ▓▓▓   ▓   ▓▓▓   ▓▓▓▓   ▓   ▓▓▓   ▓▓▓   ▓▓   ▓  ▓▓▓   ▓▓▓▓▓▓▓▓▓   ▓▓▓   ▓▓   ▓▓   ▓▓▓   ▓▓   ▓▓▓   ▓▓▓▓   ▓    ▓    | ||||
| #█   ████   ████   ████   ██████    ████   ███   █    █    ██   ██   █   ███████████     ██████   █████    ██   ███   ████   █████   █ | ||||
| #██████████████   █████   ██████████████████████████████████████████████████████████████████████████████████████████████████████    ██ | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
| #          ╭────────────────────────────────────────────────╮ | ||||
| #          │                    MONITORS                    │ | ||||
| #          ╰────────────────────────────────────────────────╯ | ||||
| # ──────────────────────────────────────────────────────────────────── | ||||
|  | ||||
| monitor=eDP-1, 2880x1800@60, 0x0, 1.5 | ||||
| # monitor=,highres highrr, auto, 1 | ||||
|  | ||||
|  | ||||
| exec = swaybg -m fill -i /home/janis/Pictures/arch-bg.png | ||||
|  | ||||
|  | ||||
| source=./hyprland/binds.conf | ||||
| source=./hyprland/general.conf | ||||
| source=./hyprland/windowrules.conf | ||||
|  | ||||
| # ┌                                                ┐ | ||||
| # │                     LAPTOP                     │ | ||||
| # └                                                ┘ | ||||
| exec = hyprctl setcursor oreo_spark_blue_cursors 36 | ||||
| env = HYPRCURSOR_THEME, Oreo_spark_blue_cursor | ||||
| env = X_CURSOR_THEME, Oreo_spark_blue_cursor | ||||
| env = XCURSOR_SIZE,24 | ||||
| env = ELECTRON_ENABLE_HIGHDPI_SUPPORT, 1 | ||||
| env = XDG_SESSION_TYPE, wayland | ||||
| env = QT_QPA_PLATFORM,wayland | ||||
| # env = QT_QPA_PLATFORM_THEME,qt6ct | ||||
| env = ELECTRON_OZONE_PLATFORM_HINT,wayland | ||||
| env = GDK_SCALE,2 | ||||
| exec-once = hyprpm reload -nn | ||||
|  | ||||
| xwayland { | ||||
|     force_zero_scaling = true | ||||
| } | ||||
|  | ||||
| # ── Volume control ────────────────────────────────────────────────── | ||||
| bind = ,code:123, exec, pamixer -i 5 | ||||
| bind = ,code:122, exec, pamixer -d 5 | ||||
| bind = ,code:121, exec, pamixer -t | ||||
|  | ||||
|  | ||||
| # ── Brightness-Control ────────────────────────────────────────────── | ||||
| bind = ,code:232, exec, light -U 5 && notify-send 'Display brightness decreased by 5%' | ||||
| bind = ,code:233, exec, light -A 5 && notify-send 'Display brightness increased by 5%' | ||||
|  | ||||
|  | ||||
| # ── Monitor config binds ──────────────────────────────────────────── | ||||
| bind = $mainMod CTRL, D, exec, hyprctl keyword monitor HDMI-A-1, 1920x1080@60, 1920x0, 1, mirror, eDP-1 && notify-send 'Set to mirror internal display' | ||||
| bind = $mainMod CTRL, E, exec, hyprctl keyword monitor HDMI-A-1, 1920x1080@60, 1920x0, 1 && notify-send 'Set to expand external display' | ||||
|  | ||||
|  | ||||
| # ── Internal display controls ─────────────────────────────────────── | ||||
| bind = $mainMod ALT, E, exec, hyprctl keyword monitor eDP-1, 2880x1800@60, 0x0, 1.5 && cpupower-gui -b && notify-send 'Set to battery optimized settings' | ||||
| bind = $mainMod ALT, P, exec, hyprctl keyword monitor eDP-1, 2880x1800@120, 0x0, 1.5 && cpupower-gui -p && notify-send 'Set to performance optimized settings' | ||||
|  | ||||
|  | ||||
| # ── Vivado inversion ──────────────────────────────────────────────── | ||||
| windowrule = plugin:invertwindow, class:Vivado | ||||
| windowrule = tile, title:(.*)Vivado(.*) | ||||
| @@ -1,96 +0,0 @@ | ||||
| #░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | ||||
| #░   ░░░░   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░   ░░░░░░░░░░░░░░░░░░░░   ░░░░░░░░░░░░░░░░   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   ░░░░░░░░░░░░░░ | ||||
| #▒   ▒▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒▒▒   ▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  ▒▒▒▒▒▒  ▒▒▒▒▒▒▒▒▒ | ||||
| #▒   ▒▒▒▒   ▒   ▒▒▒   ▒  ▒   ▒▒▒  ▒    ▒   ▒▒▒▒   ▒▒▒▒▒▒▒▒    ▒   ▒▒   ▒▒▒▒▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒   ▒▒▒▒▒   ▒   ▒▒▒    ▒  ▒▒▒▒▒▒▒     ▒▒ | ||||
| #▓          ▓▓   ▓   ▓▓  ▓▓   ▓▓▓   ▓▓▓▓   ▓▓   ▓▓   ▓▓▓   ▓▓▓▓   ▓   ▓▓▓▓▓▓▓▓   ▓▓▓▓▓▓▓▓▓   ▓▓   ▓▓▓   ▓▓   ▓▓▓   ▓▓▓▓   ▓   ▓▓    | ||||
| #▓   ▓▓▓▓   ▓▓▓▓    ▓▓▓  ▓▓▓   ▓▓   ▓▓▓▓   ▓   ▓▓▓▓   ▓   ▓▓▓▓▓     ▓▓▓▓▓▓▓▓▓▓   ▓▓▓▓▓▓▓▓   ▓▓▓▓   ▓▓   ▓▓   ▓▓▓   ▓▓▓▓   ▓  ▓▓▓    | ||||
| #▓   ▓▓▓▓   ▓▓▓▓▓   ▓▓▓   ▓   ▓▓▓   ▓▓▓▓   ▓▓   ▓▓   ▓▓▓   ▓▓▓▓   ▓   ▓▓▓▓▓▓▓▓▓   ▓▓▓   ▓▓   ▓▓   ▓▓▓   ▓▓   ▓▓▓   ▓▓▓▓   ▓    ▓    | ||||
| #█   ████   ████   ████   ██████    ████   ████   ████████    █   ██   ██████████     ██████   █████    ██   ███   ████   █████   █ | ||||
| #██████████████   █████   ███████████████████████████████████████████████████████████████████████████████████████████████████    ██ | ||||
|  | ||||
|  | ||||
| general { | ||||
|     grace = 15 | ||||
| } | ||||
|  | ||||
| # BACKGROUND | ||||
| background { | ||||
|     monitor =  | ||||
|     path = {{ lockpaper-path }} # Or screenshot | ||||
|  | ||||
|     blur_passes = 1 | ||||
| } | ||||
|  | ||||
| # PASSWORD INPUT | ||||
| input-field { | ||||
|     monitor = | ||||
|     size = 300, 40 | ||||
|     outline_thickness = 3 | ||||
|     dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 | ||||
|     dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 | ||||
|     dots_center = false | ||||
|     outer_color = {{ accent_colour_1 }} | ||||
|     inner_color = rgb(200, 200, 200) | ||||
|     font_color = rgb(10, 10, 10) | ||||
|     fade_on_empty = true | ||||
|     placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty. | ||||
|     hide_input = false | ||||
|  | ||||
|     position = 0, -80 | ||||
|     halign = center | ||||
|     valign = center | ||||
| } | ||||
|  | ||||
| label { | ||||
|     monitor = | ||||
|     text = <b>$TIME</b> | ||||
|     color = {{ colour-primary-rgb }} | ||||
|     font_size = 100 | ||||
|     font_family = {{ font-primary }} | ||||
|  | ||||
|     position = 0, 80 | ||||
|     halign = center | ||||
|     valign = center | ||||
| } | ||||
|  | ||||
| label { | ||||
|     monitor = | ||||
|     text = $LAYOUT | ||||
|     color = rgba(200, 200, 200, 1.0) | ||||
|     font_size = 12 | ||||
|     font_family = {{ font-primary }} | ||||
|  | ||||
|     position = 0, 0 | ||||
|     halign = right | ||||
|     valign = bottom | ||||
| } | ||||
|  | ||||
| label { | ||||
|     monitor = | ||||
|     text = $USER | ||||
|     color = rgba(200, 200, 200, 1.0) | ||||
|     font_size = 12 | ||||
|     font_family = {{ font-primary }} | ||||
|  | ||||
|     position = 0, 0 | ||||
|     halign = left | ||||
|     valign = bottom | ||||
|     shadow_passes = 3 | ||||
| } | ||||
|  | ||||
| label { | ||||
|     monitor = | ||||
|     text = <i>Failed attempts: $ATTEMPTS</i> | ||||
|     color = rgba(200, 0, 0, 1.0) | ||||
|     font_size = 12 | ||||
|     font_family = {{ font-accent }} | ||||
|  | ||||
|     position = 0, 20 | ||||
|     halign = center | ||||
|     valign = bottom | ||||
|     shadow_passes = 3 | ||||
|     shadow_size = 5 | ||||
|     shadow_boost = 3 | ||||
|     shadow_color = rgb(255,255,255) | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user