Hyprland dotfiles
| 1 | # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # |
| 2 | # User Settings |
| 3 | # This is where you put your own settings as this will not be touched during update |
| 4 | # if the upgrade.sh is used. |
| 5 | |
| 6 | # refer to Hyprland wiki for more info https://wiki.hyprland.org/Configuring/Variables/ |
| 7 | |
| 8 | # NOTE: some settings are in ~/.config/hypr/UserConfigs/UserDecorAnimations.conf |
| 9 | |
| 10 | dwindle { |
| 11 | # pseudotile = yes |
| 12 | preserve_split = yes |
| 13 | special_scale_factor = 0.8 |
| 14 | } |
| 15 | |
| 16 | master { |
| 17 | new_status = master |
| 18 | new_on_top = 1 |
| 19 | mfact = 0.5 |
| 20 | } |
| 21 | |
| 22 | general { |
| 23 | resize_on_border = true |
| 24 | |
| 25 | layout = dwindle |
| 26 | } |
| 27 | |
| 28 | input { |
| 29 | kb_layout = us,us |
| 30 | kb_variant = ,dvorak |
| 31 | kb_model = |
| 32 | kb_options = grp:ctrls_toggle |
| 33 | kb_rules = |
| 34 | repeat_rate = 50 |
| 35 | repeat_delay = 300 |
| 36 | |
| 37 | sensitivity = 0 #mouse sensitivity |
| 38 | #accel_profile = # flat or adaptive or blank or EMPTY means libinput’s default mode |
| 39 | numlock_by_default = true |
| 40 | left_handed = false |
| 41 | follow_mouse = true |
| 42 | float_switch_override_focus = false |
| 43 | |
| 44 | touchpad { |
| 45 | disable_while_typing = true |
| 46 | natural_scroll = true |
| 47 | clickfinger_behavior = false |
| 48 | middle_button_emulation = true |
| 49 | tap-to-click = true |
| 50 | drag_lock = false |
| 51 | } |
| 52 | |
| 53 | # below for devices with touchdevice ie. touchscreen |
| 54 | touchdevice { |
| 55 | enabled = true |
| 56 | } |
| 57 | |
| 58 | # below is for table see link above for proper variables |
| 59 | tablet { |
| 60 | transform = 0 |
| 61 | left_handed = 0 |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | gestures { |
| 66 | # workspace_swipe = true |
| 67 | # workspace_swipe_fingers = 3 |
| 68 | workspace_swipe_distance = 500 |
| 69 | workspace_swipe_invert = true |
| 70 | workspace_swipe_min_speed_to_force = 30 |
| 71 | workspace_swipe_cancel_ratio = 0.5 |
| 72 | workspace_swipe_create_new = true |
| 73 | workspace_swipe_forever = true |
| 74 | #workspace_swipe_use_r = true #uncomment if wanted a forever create a new workspace with swipe right |
| 75 | } |
| 76 | |
| 77 | misc { |
| 78 | disable_hyprland_logo = true |
| 79 | disable_splash_rendering = true |
| 80 | # vfr = true |
| 81 | vrr = 2 |
| 82 | mouse_move_enables_dpms = true |
| 83 | enable_swallow = off |
| 84 | swallow_regex = ^(kitty)$ |
| 85 | focus_on_activate = false |
| 86 | initial_workspace_tracking = 0 |
| 87 | middle_click_paste = false |
| 88 | } |
| 89 | |
| 90 | #opengl { |
| 91 | # nvidia_anti_flicker = true |
| 92 | #} |
| 93 | |
| 94 | binds { |
| 95 | workspace_back_and_forth = true |
| 96 | allow_workspace_cycles = true |
| 97 | pass_mouse_when_bound = false |
| 98 | } |
| 99 | |
| 100 | #Could help when scaling and not pixelating |
| 101 | xwayland { |
| 102 | enabled = true |
| 103 | force_zero_scaling = true |
| 104 | } |
| 105 | |
| 106 | render { |
| 107 | # explicit_sync = 2 |
| 108 | # explicit_sync_kms = 2 |
| 109 | direct_scanout = 0 |
| 110 | } |
| 111 | |
| 112 | cursor { |
| 113 | sync_gsettings_theme = true |
| 114 | no_hardware_cursors = 1 # change to 1 if want to disable |
| 115 | enable_hyprcursor = true |
| 116 | warp_on_change_workspace = 2 |
| 117 | no_warps = true |
| 118 | } |