My dotfiles for Arch Linux

Move environment and window rules into hyprland.conf

Signed-off-by: Jan Ehrhardt <59441+jehrhardt@users.noreply.github.com>

+19 -45
-2
dot_config/hypr/envs.conf
··· 1 - # Extra env variables 2 - # env = MY_GLOBAL_ENV,setting
+18 -3
dot_config/hypr/hyprland.conf
··· 4 4 source = ~/.config/hypr/omarchy-default/media.conf 5 5 source = ~/.config/hypr/omarchy-default/tiling.conf 6 6 source = ~/.config/hypr/omarchy-default/utilities.conf 7 - source = ~/.config/hypr/omarchy-default/envs.conf 8 7 source = ~/.config/hypr/omarchy-default/looknfeel.conf 9 8 source = ~/.config/hypr/omarchy-default/input.conf 10 - source = ~/.config/hypr/omarchy-default/windows.conf 11 9 source = ~/.config/hypr/omarchy-hyprland-theme.conf 12 10 13 11 # Change your own setup in these files (and overwrite any settings from defaults!) 14 12 source = ~/.config/hypr/input.conf 15 - source = ~/.config/hypr/envs.conf 16 13 source = ~/.config/hypr/looknfeel.conf 17 14 18 15 ··· 66 63 67 64 # See https://wiki.hypr.land/Configuring/Environment-variables/ 68 65 66 + # Cursor size 69 67 env = XCURSOR_SIZE,24 70 68 env = HYPRCURSOR_SIZE,24 71 69 70 + # Force all apps to use Wayland 71 + env = GDK_BACKEND,wayland,x11,* 72 + env = QT_QPA_PLATFORM,wayland;xcb 73 + env = QT_STYLE_OVERRIDE,kvantum 74 + env = SDL_VIDEODRIVER,wayland 75 + env = MOZ_ENABLE_WAYLAND,1 76 + env = ELECTRON_OZONE_PLATFORM_HINT,wayland 77 + env = OZONE_PLATFORM,wayland 78 + env = XDG_SESSION_TYPE,wayland 79 + 80 + # Allow better support for screen sharing (Google Meet, Discord, etc) 81 + env = XDG_CURRENT_DESKTOP,Hyprland 82 + env = XDG_SESSION_DESKTOP,Hyprland 83 + 84 + xwayland { 85 + force_zero_scaling = true 86 + } 72 87 73 88 ################### 74 89 ### PERMISSIONS ###
-29
dot_config/hypr/omarchy-default/envs.conf
··· 1 - # Cursor size 2 - env = XCURSOR_SIZE,24 3 - env = HYPRCURSOR_SIZE,24 4 - 5 - # Force all apps to use Wayland 6 - env = GDK_BACKEND,wayland,x11,* 7 - env = QT_QPA_PLATFORM,wayland;xcb 8 - env = QT_STYLE_OVERRIDE,kvantum 9 - env = SDL_VIDEODRIVER,wayland 10 - env = MOZ_ENABLE_WAYLAND,1 11 - env = ELECTRON_OZONE_PLATFORM_HINT,wayland 12 - env = OZONE_PLATFORM,wayland 13 - env = XDG_SESSION_TYPE,wayland 14 - 15 - # Allow better support for screen sharing (Google Meet, Discord, etc) 16 - env = XDG_CURRENT_DESKTOP,Hyprland 17 - env = XDG_SESSION_DESKTOP,Hyprland 18 - 19 - xwayland { 20 - force_zero_scaling = true 21 - } 22 - 23 - # Use XCompose file 24 - env = XCOMPOSEFILE,~/.XCompose 25 - 26 - # Don't show update on first launch 27 - ecosystem { 28 - no_update_news = true 29 - }
-11
dot_config/hypr/omarchy-default/windows.conf
··· 1 - # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more 2 - windowrule = suppressevent maximize, class:.* 3 - 4 - # Just dash of opacity by default 5 - windowrule = opacity 0.97 0.9, class:.* 6 - 7 - # Fix some dragging issues with XWayland 8 - windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 9 - 10 - # App-specific tweaks 11 - source = ~/.local/share/omarchy/default/hypr/apps.conf
+1
run_once_after_setup.sh
··· 84 84 alacritty \ 85 85 atuin \ 86 86 bat \ 87 + less \ 87 88 chezmoi \ 88 89 mise \ 89 90 yazi \