# This is the Hyprland config file. # Refer to the wiki for more information. # https://wiki.hyprland.org/Configuring/Configuring-Hyprland/ ################ ### MONITORS ### ################ # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=, preferred, auto, 1 ################### ### MY PROGRAMS ### ################### # See https://wiki.hyprland.org/Configuring/Keywords/ $terminal = kitty $fileManager = pcmanfm $menu = wofi --show drun ################# ### AUTOSTART ### ################# exec-once = nm-applet exec-once = blueman-applet exec-once = dunst exec-once = waybar exec-once = ~/.local/hypr_autostart.sh exec-once = hypridle exec-once = hyprpaper exec-once = wl-paste --watch ~/.bin/cliphist-filter exec-once = wl-paste --primary --watch ~/.bin/cliphist-filter ############################# ### ENVIRONMENT VARIABLES ### ############################# # See https://wiki.hyprland.org/Configuring/Environment-variables/ env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 ##################### ### LOOK AND FEEL ### ##################### source = src_hyprland/lookNfeel.conf ############# ### INPUT ### ############# # https://wiki.hyprland.org/Configuring/Variables/#input input { kb_layout = de kb_variant = nodeadkeys kb_model = kb_options = kb_rules = follow_mouse = 1 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. touchpad { natural_scroll = true drag_lock = true clickfinger_behavior = true } } # https://wiki.hyprland.org/Configuring/Variables/#gestures gestures { workspace_swipe = false } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more device { name = epic-mouse-v1 sensitivity = -0.5 } ################### ### KEYBINDINGS ### ################### # See https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier # See https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod SHIFT, E, exit, bind = $mainMod SHIFT, C, killactive, bind = $mainMod SHIFT, F, togglefloating, bind = $mainMod, F, fullscreen, bind = $mainMod SHIFT, P, pseudo, # dwindle bind = $mainMod SHIFT, J, togglesplit, # dwindle bind = $mainMod, D, exec, $menu bind = $mainMod, RETURN, exec, $terminal bind = $mainMod, L , exec, loginctl lock-session bind = $mainMod, X, exec, $fileManager bind = $mainMod, C, exec, plus42 bind = $mainMod SHIFT, B, exec, ~/.bin/waybar_restart.sh bind = $mainMod, B, exec, ~/.bin/startBrowser.sh bind = $mainMod, N, exec, ~/.bin/startBrowserPrivat.sh bind = $mainMod, V, exec, cliphist list | wofi -p Clipboard -S dmenu | cliphist decode | wl-copy # 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, brightnessctl s 5%+ bindel = , XF86MonBrightnessDown, exec, brightnessctl s 5%- # Requires playerctl bindl = , XF86AudioNext, exec, playerctl next bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPrev, exec, playerctl previous # Screenshots bind = , Print, exec, HYPRSHOT_DIR=~ hyprshot -m window bind = SHIFT, Print, exec, HYPRSHOT_DIR=~ hyprshot -m region # Import windowmovement keys source = src_hyprland/windowmgm_keys.conf ############################## ### WINDOWS AND WORKSPACES ### ############################## # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules # Ignore maximize requests from apps. You'll probably like this. windowrulev2 = suppressevent maximize, class:.* # Fix some dragging issues with XWayland windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 windowrulev2 = float,class:^(plus42)$ windowrulev2 = float,class:^(org.pulseaudio.pavucontrol)$