hypr: expect non-uwsm launch

This commit is contained in:
Robert Perce 2026-04-04 21:34:31 -05:00
parent 36abadbd2b
commit 91d12b68aa
4 changed files with 108 additions and 74 deletions

View file

@ -1,13 +1,11 @@
# ####################################################################################### # #######################################################################################
# AUTOGENERATED HYPRLAND CONFIG. # EDIT THIS CONFIG ACCORDING TO THE WIKI INSTRUCTIONS.
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hyprland.conf AND EDIT IT,
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
# ####################################################################################### # #######################################################################################
# This is an example Hyprland config file. # This is an example Hyprland config file.
# Refer to the wiki for more information. # Refer to the wiki for more information.
# https://wiki.hyprland.org/Configuring/ # https://wiki.hypr.land/Configuring/
# Please note not all available settings / options are set here. # Please note not all available settings / options are set here.
# For a full list, see the wiki # For a full list, see the wiki
@ -21,7 +19,7 @@
### MONITORS ### ### MONITORS ###
################ ################
# See https://wiki.hyprland.org/Configuring/Monitors/ # See https://wiki.hypr.land/Configuring/Monitors/
monitor=,preferred,auto,auto monitor=,preferred,auto,auto
@ -29,7 +27,7 @@ monitor=,preferred,auto,auto
### MY PROGRAMS ### ### MY PROGRAMS ###
################### ###################
# See https://wiki.hyprland.org/Configuring/Keywords/ # See https://wiki.hypr.land/Configuring/Keywords/
# Set programs that you use # Set programs that you use
$terminal = alacritty -e tmux -2 $terminal = alacritty -e tmux -2
@ -43,8 +41,13 @@ $menu = wofi --show drun
# Autostart necessary processes (like notifications daemons, status bars, etc.) # Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this: # Or execute your favorite apps at launch like this:
exec-once = syncthingtray-qt6 --wait
exec-once = clipse -listen # exec-once = $terminal
exec-once = nm-applet &
exec-once = waybar &
exec-once = hyprpaper &
exec-once = syncthingtray-qt6 --wait &
exec-once = clipse -listen &
windowrule { windowrule {
name = float-clipse name = float-clipse
match:class = clipse match:class = clipse
@ -55,11 +58,12 @@ windowrule {
bind = SUPER, V, exec, alacritty --class clipse -e clipse bind = SUPER, V, exec, alacritty --class clipse -e clipse
############################# #############################
### ENVIRONMENT VARIABLES ### ### ENVIRONMENT VARIABLES ###
############################# #############################
# See https://wiki.hyprland.org/Configuring/Environment-variables/ # See https://wiki.hypr.land/Configuring/Environment-variables/
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24
@ -69,7 +73,7 @@ env = HYPRCURSOR_SIZE,24
### PERMISSIONS ### ### PERMISSIONS ###
################### ###################
# See https://wiki.hyprland.org/Configuring/Permissions/ # See https://wiki.hypr.land/Configuring/Permissions/
# Please note permission changes here require a Hyprland restart and are not applied on-the-fly # Please note permission changes here require a Hyprland restart and are not applied on-the-fly
# for security reasons # for security reasons
@ -86,29 +90,29 @@ env = HYPRCURSOR_SIZE,24
### LOOK AND FEEL ### ### LOOK AND FEEL ###
##################### #####################
# Refer to https://wiki.hyprland.org/Configuring/Variables/ # Refer to https://wiki.hypr.land/Configuring/Variables/
# https://wiki.hyprland.org/Configuring/Variables/#general # https://wiki.hypr.land/Configuring/Variables/#general
general { general {
gaps_in = 5 gaps_in = 5
gaps_out = 20 gaps_out = 20
border_size = 2 border_size = 2
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors # https://wiki.hypr.land/Configuring/Variables/#variable-types for info about colors
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa) col.inactive_border = rgba(595959aa)
# Set to true enable resizing windows by clicking and dragging on borders and gaps # Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = false resize_on_border = false
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on # Please see https://wiki.hypr.land/Configuring/Tearing/ before you turn this on
allow_tearing = false allow_tearing = false
layout = dwindle layout = dwindle
} }
# https://wiki.hyprland.org/Configuring/Variables/#decoration # https://wiki.hypr.land/Configuring/Variables/#decoration
decoration { decoration {
rounding = 10 rounding = 10
rounding_power = 2 rounding_power = 2
@ -124,7 +128,7 @@ decoration {
color = rgba(1a1a1aee) color = rgba(1a1a1aee)
} }
# https://wiki.hyprland.org/Configuring/Variables/#blur # https://wiki.hypr.land/Configuring/Variables/#blur
blur { blur {
enabled = true enabled = true
size = 3 size = 3
@ -134,58 +138,74 @@ decoration {
} }
} }
# https://wiki.hyprland.org/Configuring/Variables/#animations # https://wiki.hypr.land/Configuring/Variables/#animations
animations { animations {
enabled = yes, please :) enabled = yes, please :)
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more # Default curves, see https://wiki.hypr.land/Configuring/Animations/#curves
# NAME, X0, Y0, X1, Y1
bezier = easeOutQuint, 0.23, 1, 0.32, 1
bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1
bezier = linear, 0, 0, 1, 1
bezier = almostLinear, 0.5, 0.5, 0.75, 1
bezier = quick, 0.15, 0, 0.1, 1
bezier = easeOutQuint,0.23,1,0.32,1 # Default animations, see https://wiki.hypr.land/Configuring/Animations/
bezier = easeInOutCubic,0.65,0.05,0.36,1 # NAME, ONOFF, SPEED, CURVE, [STYLE]
bezier = linear,0,0,1,1 animation = global, 1, 10, default
bezier = almostLinear,0.5,0.5,0.75,1.0 animation = border, 1, 5.39, easeOutQuint
bezier = quick,0.15,0,0.1,1 animation = windows, 1, 4.79, easeOutQuint
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
animation = global, 1, 10, default animation = windowsOut, 1, 1.49, linear, popin 87%
animation = border, 1, 5.39, easeOutQuint animation = fadeIn, 1, 1.73, almostLinear
animation = windows, 1, 4.79, easeOutQuint animation = fadeOut, 1, 1.46, almostLinear
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% animation = fade, 1, 3.03, quick
animation = windowsOut, 1, 1.49, linear, popin 87% animation = layers, 1, 3.81, easeOutQuint
animation = fadeIn, 1, 1.73, almostLinear animation = layersIn, 1, 4, easeOutQuint, fade
animation = fadeOut, 1, 1.46, almostLinear animation = layersOut, 1, 1.5, linear, fade
animation = fade, 1, 3.03, quick animation = fadeLayersIn, 1, 1.79, almostLinear
animation = layers, 1, 3.81, easeOutQuint animation = fadeLayersOut, 1, 1.39, almostLinear
animation = layersIn, 1, 4, easeOutQuint, fade animation = workspaces, 1, 1.94, almostLinear, fade
animation = layersOut, 1, 1.5, linear, fade animation = workspacesIn, 1, 1.21, almostLinear, fade
animation = fadeLayersIn, 1, 1.79, almostLinear animation = workspacesOut, 1, 1.94, almostLinear, fade
animation = fadeLayersOut, 1, 1.39, almostLinear animation = zoomFactor, 1, 7, quick
animation = workspaces, 1, 1.94, almostLinear, fade
animation = workspacesIn, 1, 1.21, almostLinear, fade
animation = workspacesOut, 1, 1.94, almostLinear, fade
} }
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/ # Ref https://wiki.hypr.land/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only" # "Smart gaps" / "No gaps when only"
# uncomment all if you wish to use that. # uncomment all if you wish to use that.
# workspace = w[tv1], gapsout:0, gapsin:0 # workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0 # workspace = f[1], gapsout:0, gapsin:0
# windowrule = bordersize 0, floating:0, onworkspace:w[tv1] # windowrule {
# windowrule = rounding 0, floating:0, onworkspace:w[tv1] # name = no-gaps-wtv1
# windowrule = bordersize 0, floating:0, onworkspace:f[1] # match:float = false
# windowrule = rounding 0, floating:0, onworkspace:f[1] # match:workspace = w[tv1]
#
# border_size = 0
# rounding = 0
# }
#
# windowrule {
# name = no-gaps-f1
# match:float = false
# match:workspace = f[1]
#
# border_size = 0
# rounding = 0
# }
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more # See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more
dwindle { dwindle {
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # You probably want this preserve_split = true # You probably want this
} }
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more # See https://wiki.hypr.land/Configuring/Master-Layout/ for more
master { master {
new_status = master new_status = master
} }
# https://wiki.hyprland.org/Configuring/Variables/#misc # https://wiki.hypr.land/Configuring/Variables/#misc
misc { misc {
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
@ -196,7 +216,7 @@ misc {
### INPUT ### ### INPUT ###
############# #############
# https://wiki.hyprland.org/Configuring/Variables/#input # https://wiki.hypr.land/Configuring/Variables/#input
input { input {
kb_layout = us kb_layout = us
kb_variant = kb_variant =
@ -213,13 +233,11 @@ input {
} }
} }
# https://wiki.hyprland.org/Configuring/Variables/#gestures # See https://wiki.hypr.land/Configuring/Gestures
gestures { gesture = 3, horizontal, workspace
# workspace_swipe = false
}
# Example per-device config # Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more # See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more
device { device {
name = epic-mouse-v1 name = epic-mouse-v1
sensitivity = -0.5 sensitivity = -0.5
@ -234,24 +252,23 @@ binds {
movefocus_cycles_fullscreen = true movefocus_cycles_fullscreen = true
} }
# See https://wiki.hyprland.org/Configuring/Keywords/ # See https://wiki.hypr.land/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier $mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
bind = $mainMod, Return, exec, $terminal bind = $mainMod, Return, exec, $terminal
bind = $mainMod SHIFT, C, killactive, bind = $mainMod SHIFT, C, killactive,
bind = $mainMod CTRL, Q, exit, bind = $mainMod CTRL, Q, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
bind = $mainMod, E, exec, $fileManager bind = $mainMod, E, exec, $fileManager
bind = $mainMod, F, togglefloating, bind = $mainMod, F, togglefloating,
bind = $mainMod, R, exec, $menu bind = $mainMod, R, exec, $menu
# bind = $mainMod, P, pseudo, # dwindle
# bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, M, fullscreen, 1 bind = $mainMod, M, fullscreen, 1
bind = $mainMod SHIFT, M, fullscreen bind = $mainMod SHIFT, M, fullscreen
bind = , PRINT, exec, hyprshot -m region --clipboard-only bind = , PRINT, exec, hyprshot -m region --clipboard-only
bind = $mainMod, P, exec, wofi-pass -ait bind = $mainMod, P, exec, wofi-pass -ait
bind = $mainMod SHIFT, P, exec, wofi-pass -ic bind = $mainMod SHIFT, P, exec, wofi-pass -ic
# Move focus with mainMod + vimkeys # Move focus with mainMod + vimkeys
bind = $mainMod, h, movefocus, l bind = $mainMod, h, movefocus, l
bind = $mainMod, l, movefocus, r bind = $mainMod, l, movefocus, r
@ -312,19 +329,38 @@ bindl = , XF86AudioPrev, exec, playerctl previous
### WINDOWS AND WORKSPACES ### ### WINDOWS AND WORKSPACES ###
############################## ##############################
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hypr.land/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules # See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
# Example windowrule # Example windowrules that are useful
# windowrule = float,class:^(kitty)$,title:^(kitty)$
# Ignore maximize requests from apps. You'll probably like this. windowrule {
windowrule = match:class .*, suppress_event maximize # Ignore maximize requests from all apps. You'll probably like this.
name = suppress-maximize-events
match:class = .*
# Fix some dragging issues with XWayland suppress_event = maximize
# windowrule = match:xwayland on, float on, fullscreen off, pin off }
xwayland { windowrule {
force_zero_scaling = true # Fix some dragging issues with XWayland
name = fix-xwayland-drags
match:class = ^$
match:title = ^$
match:xwayland = true
match:float = true
match:fullscreen = false
match:pin = false
no_focus = true
}
# Hyprland-run windowrule
windowrule {
name = move-hyprland-run
match:class = hyprland-run
move = 20 monitor_h-120
float = yes
} }
# env = GDK_scale,1.25

View file

@ -1,6 +1,6 @@
ipc = on ipc = on
wallpaper { wallpaper {
monitor = monitor =
path = ~/pictures/wallpaper/tokyogenso-bus_stop.png path = ~/pictures/wallpaper/uma_manhattan-cafe-forest.png
fit_mode = cover fit_mode = cover
} }

View file

@ -1 +0,0 @@
# this file must be present, even if empty, or hyprland will fail to start

View file

@ -1 +0,0 @@
# this file must be present, even if empty, or hyprland will fail to start