monitor=,preferred,auto,auto input { kb_layout = us kb_options = caps:escape } ################# ### AUTOSTART ### ################ exec-once = nm-applet & exec-once = systemctl --user start hyprpolkitagent exec-once = dunst & exec-once = waybar exec-once = hypridle exec-once = playerctl daemon & exec-once = xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1 exec-once = xinput set-prop 10 "libinput Natural Scrolling Enabled" 1 exec-once = swww-daemon & exec-once = swww img /home/anand/dots/walls/wallpaper.png exec-once = copyq & exec-once = xrdb ~/.Xresources & ############################# ### ENVIRONMENT VARIABLES ### ############################# env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 ##################### ### LOOK AND FEEL ### ##################### general { gaps_in = 2 gaps_out = 2 border_size = 1 col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) resize_on_border = false allow_tearing = false layout = master } dwindle { force_split=2 } decoration { rounding = 10 # active_opacity = 1.0 # inactive_opacity = 0.8 blur { enabled = false } } animations { enabled = true animation = windows, 1, 3, default animation = windowsOut, 1, 3, default, popin 80% animation = border, 1, 3, default animation = borderangle, 1, 3, default animation = fade, 1, 3, default animation = workspaces, 1, 3, default } master { new_status = inherit } misc { force_default_wallpaper = 0 disable_hyprland_logo = true } ############# ### INPUT ### ############# input { kb_layout = us # kb_options = caps:swapescape follow_mouse = 1 sensitivity = -0.1 touchpad { natural_scroll = true middle_button_emulation = true tap-and-drag = true tap-to-click = true drag_lock = true disable_while_typing = true } # Turning this on fucks with the sensitivity, no clue why # force_no_accel = true } gestures { workspace_swipe_touch = true } device { name = synps/2-synaptics-touchpad sensitivity = 0 } ################### ### KEYBINDINGS ### ################### $mainMod = SUPER # Sets "Windows" key as main modifier $terminal = wezterm $fileManager = thunar $textEditor = $terminal -e nvim $menu = rofi -show drun $browser = firefox bind = $mainMod, Return, exec, $terminal bind = $mainMod, Q, killactive, bind = $mainMod, E, exec, $fileManager bind = $mainMod SHIFT, E, exit bind = $mainMod, A, exec, $textEditor bind = $mainMod, T, togglefloating, bind = $mainMod, SPACE, exec, $menu bind = $mainMod, B, exec, $browser bind = $mainMod, M, fullscreen, 1 bind = $mainMod SHIFT, M, fullscreen, 0 bind = $mainMod, P, exec, passmenu bind = $mainMod, period, exec, rofi -show emoji bind = $mainMod SHIFT, S, exec, .config/hypr/screenshotwayland.sh bind = $mainMod, V, exec, copyq toggle bind = $mainMod SHIFT, P, exec, playerctl play-pause bind = $mainMod SHIFT, left, movewindow, l bind = $mainMod SHIFT, right, movewindow, r bind = $mainMod SHIFT, up, movewindow, u bind = $mainMod SHIFT, down, movewindow, d bind = $mainMod SHIFT, H, movewindow, l bind = $mainMod SHIFT, L, movewindow, r bind = $mainMod SHIFT, K, movewindow, u bind = $mainMod SHIFT, J, movewindow, d bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d bind = $mainMod, H, movefocus, l bind = $mainMod, L, movefocus, r bind = $mainMod, K, movefocus, u bind = $mainMod, J, movefocus, d bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 bind = $mainMod, 4, workspace, 4 bind = $mainMod, 5, workspace, 5 bind = $mainMod, 6, workspace, 6 bind = $mainMod, 7, workspace, 7 bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 bind = $mainMod, 0, workspace, 10 bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 4, movetoworkspace, 4 bind = $mainMod SHIFT, 5, movetoworkspace, 5 bind = $mainMod SHIFT, 6, movetoworkspace, 6 bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # make window wider / narrower bind = SUPER CTRL, L, resizeactive, 20 0 bind = SUPER CTRL, H, resizeactive, -20 0 # make window taller / shorter bind = SUPER CTRL, K, resizeactive, 0 -20 bind = SUPER CTRL, J, resizeactive, 0 20 bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Laptop multimedia keys for volume and LCD brightness bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bindel = ,XF86MonBrightnessUp, exec, brillo -qA 5 bindel = ,XF86MonBrightnessDown, exec, brillo -qU 5 ############################## ### WINDOWS AND WORKSPACES ### ############################## # windowrulev2 = float,class:com.github.hluk.copyq cursor { sync_gsettings_theme = false enable_hyprcursor = true zoom_factor = 1 } xwayland { force_zero_scaling = true use_nearest_neighbor = true }