From 92ca7fcba5f6b6bcfdc2a434dfa064d0583e8b64 Mon Sep 17 00:00:00 2001 From: Florestan Bredow Date: Wed, 8 Apr 2026 10:01:46 +0200 Subject: [PATCH] [hyprland] Move and add some environment var --- .config/hypr/hyprland.conf | 45 +++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 0af4fde..ac8b2a9 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -32,9 +32,29 @@ monitor=,preferred,auto,auto # Set programs that you use $terminal = /usr/bin/footclient -$fileManager = nemo +$fileManager = /usr/bin/nemo $menu = pgrep -x wofi >/dev/null 2>&1 || wofi --gtk-dark --show drun +############################# +### ENVIRONMENT VARIABLES ### +############################# + +# See https://wiki.hypr.land/Configuring/Environment-variables/ + +env = XCURSOR_SIZE,24 +env = HYPRCURSOR_SIZE,24 +env = LIBVA_DRIVER_NAME,nvidia +env = __GLX_VENDOR_LIBRARY_NAME,nvidia + +env = XDG_SESSION_TYPE,wayland +env = XDG_CURRENT_DESKTOP,Hyprland +env = XDG_SESSION_DESKTOP,Hyprland + +# lspci -d ::03xx +# ls -l /dev/dri/by-path + +env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0 + ################# ### AUTOSTART ### @@ -53,22 +73,6 @@ exec-once = keepassxc exec-once = hyprpm reload -n exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP -############################# -### ENVIRONMENT VARIABLES ### -############################# - -# See https://wiki.hypr.land/Configuring/Environment-variables/ - -env = XCURSOR_SIZE,24 -env = HYPRCURSOR_SIZE,24 -env = LIBVA_DRIVER_NAME,nvidia -env = __GLX_VENDOR_LIBRARY_NAME,nvidia - -# lspci -d ::03xx -# ls -l /dev/dri/by-path - -env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0 - ################### ### PERMISSIONS ### ################### @@ -261,7 +265,7 @@ input { kb_options = kb_rules = - follow_mouse = 0 + follow_mouse = 1 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. @@ -400,6 +404,11 @@ binde = , down, resizeactive, 0 10 bind = , Escape,submap,reset submap=reset + +# Moving floating windows with the Super key + Mouse +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + ############################## ### WINDOWS AND WORKSPACES ### ##############################