From aa612919ec9ee4a5600705bc579659ac4c978f71 Mon Sep 17 00:00:00 2001 From: doloro Date: Fri, 25 Jul 2025 23:09:16 +0100 Subject: [PATCH] hyprland config changes --- hypr/hyprland.conf | 28 +++++++++++++++++++++++++--- hypr/hyprpaper.conf | 0 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 hypr/hyprpaper.conf diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 96d1bf2..e5cda00 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -16,8 +16,8 @@ # See https://wiki.hypr.land/Configuring/Monitors/ -monitor=HDMI-A-1, 1920x1080@60, 0x0, 1 -monitor=DP-3, 1920x1080@144, 1920x0, 1 +monitor=HDMI-A-1, 1920x1080@60, -1920x0, 1 +monitor=DP-3, 1920x1080@144, 0x0, 1 ################# @@ -33,6 +33,11 @@ $notificationDaemon = dunst $screenShot = wayfreeze --after-freeze-cmd 'grim -g "$(slurp -d)" - | wl-copy -t image/png;killall wayfreeze' --hide-cursor $quickshellBar = quickshell $steam = /usr/bin/steam-native +$ar_rpc = /usr/bin/arrpc +$polkit = systemctl --user start hyprpolkitagent +$vesktop = vesktop +$telegram = Telegram + $toggleSpeaker = wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle $toggleMic = wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle @@ -48,6 +53,14 @@ exec-once = $notificationDaemon exec-once = $quickshellBar exec-once = $steam exec-once = hyprpaper +exec-once = $ar_rpc +exec-once = $polkit +exec-once = $vesktop +exec-once = $telegram + +#todo move to proper place +exec-once = pw-loopback -m '[ FL FR]' --capture-props='media.class=Audio/Sink node.name=GameAudioSink' -n GameAudioSink & +exec-once = pw-loopback -m '[ FL FR]' --capture-props='media.class=Audio/Sink node.name=DiscordSink' -n DiscordSink & ############################# ### ENVIRONMENT VARIABLES ### @@ -57,7 +70,9 @@ exec-once = hyprpaper env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 - +# Nvidia # https://wiki.hypr.land/Nvidia/#environment-variables +env = LIBVA_DRIVER_NAME,nvidia +env = __GLX_VENDOR_LIBRARY_NAME,nvidia ################### ### PERMISSIONS ### @@ -184,6 +199,7 @@ master { misc { 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. :( + enable_anr_dialog = false } @@ -303,6 +319,12 @@ windowrule = immediate, class:^(gamescope)$ # Steam on workspace 6 windowrule = workspace 6 silent, class:^(steam)$ +windowrule = workspace 8 silent, class:^(vesktop)$ +windowrule = workspace 8 silent, class:^(org.telegram.desktop)$ + # Fix some dragging issues with XWayland windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 + +# focus polkit +windowrule = stayfocused,class:^(hyprpolkitagent)$ diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf new file mode 100644 index 0000000..e69de29