]> Freerunner's - dotfiles.git/commitdiff
hypr: update keybinds and scripts main
authorAndre Ramnitz <tux.rising@gmail.com>
Wed, 10 Dec 2025 04:04:37 +0000 (05:04 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Wed, 10 Dec 2025 04:07:22 +0000 (05:07 +0100)
dot-config/hypr/fragments/keybinds.conf
dot-config/hypr/hyprland.conf
dot-config/hypr/scripts/accel.py
dot-config/hypr/scripts/xdg-desktop-portal.sh

index ce8ab46ced7bf6499181cc933e906c782f2682eb..fb43633e1a15862d991a11252269055cfa71011b 100644 (file)
@@ -60,7 +60,7 @@ bind = CTRL ALT,                        K, togglespecialworkspace, keys
 
 # suremod keys (prevent fat-fingering 'em by accident)
 # ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
-bind = $suremod,                        E, exit,
+bind = $suremod,                        M, exit,
 bind = $suremod,                        Return, exec, konsole # fallback terminal app
 bind = $suremod,                        G, exec, ~/.config/hypr/scripts/gamemode.sh
 bind = $suremod,                        L, exec, ~/.config/hypr/scripts/powermenu.sh
index d4be34aaf4d0ab10efb2b384ef25d613b32b4d0c..44f1e3b1f5411fe112eaaedd6e87e09825c9df64 100644 (file)
@@ -32,7 +32,7 @@ exec-once = /usr/libexec/pam_kwallet_init
 exec-once = openrc --user hyprland # AFTER pam_kwallet_init!!!
 exec-once = hyprpm reload
 exec-once = env XDG_MENU_PREFIX=plasma- kbuildsycoca6
-exec-once = matugen -t neutral image /home/andy/Wallpapers/3440x1440-jffmy9eofxof1.jpg
+exec-once = matugen -t scheme-neutral image /home/andy/Wallpapers/3440x1440-jffmy9eofxof1.jpg
 exec-once = openrgb -p default
 
 # Unset variables on exit
@@ -136,14 +136,12 @@ input {
 device {
     name = razer-razer-basilisk-v3
     sensitivity = 0
-    # accel_profile = custom 0.3308622437 0.000 0.224 0.449 0.673 0.997 1.335 1.672 2.010 2.348 2.685 3.186 3.699 4.212 4.725 5.237 5.750 6.263 6.776 7.288 7.801 8.314 8.827 9.339 9.852 10.365 10.878 11.390 11.903 12.416 13.476
-    accel_profile = custom 0.0965014878 0.000 0.099 0.198 0.297 0.396 0.495 0.627 0.776 0.925 1.074 1.223 1.372 1.521 1.670 1.819 1.969 2.153 2.379 2.606 2.832 3.058 3.285 3.511 3.738 3.964 4.190 4.417 4.643 4.870 5.096 5.322 5.549 5.775 6.002 6.228 6.454 6.681 6.907 7.133 7.360 7.586 7.813 8.039 8.265 8.492 8.718 8.945 9.171 9.397 9.865
-       # accel_profile = flat
+    accel_profile = custom 0.0965014878 0.000 0.110 0.220 0.330 0.440 0.550 0.697 0.862 1.028 1.194 1.359 1.525 1.690 1.856 2.022 2.187 2.392 2.597 2.802 3.05 3.335 3.650 3.901 4.153 4.404 4.656 4.908 5.159 5.411 5.662 5.914 6.165 6.417 6.668 6.920 7.171 7.423 7.675 7.926 8.178 8.429 8.681 8.932 9.184 9.435 9.687 9.938 10.190 10.442 10.961
 }
 
 device {
        name = zsa-technology-labs-moonlander-mark-i-1
-       sensitivity = -0.1
+       sensitivity = -0.2
        accel_profile = flat
 }
 
@@ -193,7 +191,7 @@ misc {
     key_press_enables_dpms = 1
     vfr = 1 # set to 1 for battery savings
        vrr = 2
-    render_unfocused_fps = 59
+    render_unfocused_fps = 15
     allow_session_lock_restore = 1
     initial_workspace_tracking = 1
     font_family = ZedMono NFP
@@ -217,15 +215,15 @@ render {
     cm_fs_passthrough = 2
     cm_enabled = 1
     send_content_type = 1
-    cm_auto_hdr = 2
-    new_render_scheduling = 0
+    cm_auto_hdr = 0
+    new_render_scheduling = 1
 }
 
 cursor {
     enable_hyprcursor = 1
     no_warps = 0
     no_hardware_cursors = 2
-    no_break_fs_vrr = 2
+    no_break_fs_vrr = 1
     warp_on_change_workspace = 1
     warp_on_toggle_special = 1
     use_cpu_buffer = 2 # 2=nvidia-only
index b438b4de23c4a968a6b08eaad49113bea441af83..f8acd76a9e205d939267134c0355491a030ad6af 100755 (executable)
@@ -15,11 +15,11 @@ import sys
 
 # ===== PARAMETERS =====
 # set according to your device:
-device_dpi = 1200 # mouse dpi
+device_dpi = 1000 # mouse dpi
 screen_dpi = 110
 screen_scaling_factor = 1
 sample_point_count = 50 # should be enough but you can try to increase for accuracy of windows function
-sensitivity_factor = 4.5
+sensitivity_factor = 5
 # sensitivity factor translation table: (windows slider notches)
 # 1 = 0.1
 # 2 = 0.2
index b2ab7ed083b96105f68918f42b0205cca37c636a..74d34adbd22881fd10ea7b8a5d91920995d110e0 100755 (executable)
@@ -1,15 +1,16 @@
 #!/bin/bash
-killall xdg-desktop-portal-hyprland
-killall xdg-desktop-portal-gnome
-killall xdg-desktop-portal-gnome
-killall xdg-desktop-portal-kde
-killall xdg-desktop-portal-wlr
-killall xdg-desktop-portal
+export XDG_CURRENT_DESKTOP=Hyprland
+export XDG_SESSION_TYPE=wayland
+export XDG_SESSION_DESKTOP=Hyprland
+
+pkill -f /usr/libexec/xdg-desktop-portal-hyprland
+pkill -f /usr/libexec/xdg-desktop-portal-gnome
+pkill -f /usr/libexec/xdg-desktop-portal-gnome
+pkill -f /usr/libexec/xdg-desktop-portal-kde
+pkill -f /usr/libexec/xdg-desktop-portal-wlr
+pkill -f /usr/libexec/xdg-desktop-portal
 logger 'killed all xdg-desktop'
 sleep 1
-/usr/lib64/libexec/xdg-desktop-portal-kde &
-logger 'xdg-desktop-portal-kde started'
-sleep 1
 /usr/libexec/xdg-desktop-portal-hyprland &
 logger 'xdg-desktop-portal-hyprland started'
 sleep 2