# ####################################################################################### # AUTOGENERATED HYPRLAND CONFIG. # EDIT THIS CONFIG ACCORDING TO THE WIKI INSTRUCTIONS. # ####################################################################################### # This is an example Hyprland config file. # Refer to the wiki for more information. # https://wiki.hypr.land/Configuring/ # Please note not all available settings / options are set here. # For a full list, see the wiki # You can split this configuration into multiple files # Create your files separately and then link them to this file like this: # source = ~/.config/hypr/myColors.conf ################ ### MONITORS ### ################ # See https://wiki.hypr.land/Configuring/Monitors/ monitor=,preferred,auto,1 ################### ### MY PROGRAMS ### ################### # See https://wiki.hypr.land/Configuring/Keywords/ # Set programs that you use $terminal = kitty $fileManager = nautilus $menu = wofi ################# ### AUTOSTART ### ################# # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: exec-once = sh -c 'if command -v awww-daemon >/dev/null 2>&1; then awww-daemon; elif command -v swww-daemon >/dev/null 2>&1; then swww-daemon; else hyprpaper; fi' exec-once = waybar exec-once = swaync ############################# ### ENVIRONMENT VARIABLES ### ############################# # See https://wiki.hypr.land/Configuring/Environment-variables/ env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 env = QT_QPA_PLATFORMTHEME,qt6ct env = QT_STYLE_OVERRIDE,Fusion # https://wiki.hypr.land/Configuring/Variables/#general general { gaps_in = 6 gaps_out = 25 border_size = 2 col.active_border = rgba(00ff9cee) rgba(00cc88ee) 45deg col.inactive_border = rgba(2a2a2aaa) resize_on_border = false allow_tearing = false layout = dwindle } source = ~/.config/hypr/current-theme.conf # https://wiki.hypr.land/Configuring/Variables/#decoration decoration { rounding = 14 rounding_power = 3 active_opacity = 0.90 inactive_opacity = 0.75 shadow { enabled = true range = 20 render_power = 4 color = rgba(000000aa) } blur { enabled = true size = 6 passes = 2 vibrancy = 0.25 vibrancy_darkness = 0.3 } } # https://wiki.hypr.land/Configuring/Variables/#animations animations { enabled = yes # Curves bezier = smoothOut, 0.22, 1, 0.36, 1 bezier = smoothIn, 0.64, 0, 0.78, 0 bezier = smoothInOut, 0.83, 0, 0.17, 1 bezier = soft, 0.25, 0.1, 0.25, 1 bezier = quick, 0.3, 0, 0.1, 1 # Animations animation = global, 1, 8, soft animation = border, 1, 5, smoothOut animation = fade, 1, 5, soft animation = windows, 1, 6, smoothOut animation = windowsIn, 1, 6, smoothOut, popin 85% animation = windowsOut, 1, 5, smoothIn, popin 85% animation = layers, 1, 5, smoothOut animation = layersIn, 1, 5, smoothOut, fade animation = layersOut, 1, 4, smoothIn, fade animation = fadeIn, 1, 4, soft animation = fadeOut, 1, 4, soft animation = fadeLayersIn, 1, 4, soft animation = fadeLayersOut, 1, 4, soft animation = workspaces, 1, 5, smoothInOut, slide animation = workspacesIn, 1, 5, smoothInOut, slide animation = workspacesOut, 1, 5, smoothInOut, slide animation = zoomFactor, 1, 6, quick } # See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more dwindle { pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # You probably want this } # See https://wiki.hypr.land/Configuring/Master-Layout/ for more master { new_status = master } # https://wiki.hypr.land/Configuring/Variables/#misc misc { force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( } ############# ### INPUT ### ############# # https://wiki.hypr.land/Configuring/Variables/#input input { kb_layout = de kb_variant = kb_model = kb_options = kb_rules = follow_mouse = 1 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. touchpad { natural_scroll = false } } # See https://wiki.hypr.land/Configuring/Gestures gesture = 3, horizontal, workspace # Example per-device config # See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more device { name = epic-mouse-v1 sensitivity = -0.5 } ################### ### KEYBINDINGS ### ################### # See https://wiki.hypr.land/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more bind = $mainMod, T, exec, $terminal bind = $mainMod, Q, killactive, bind = $mainMod, M, exec, ~/.config/hypr/Scripts/main-menu.sh bind = $mainMod, E, exec, $fileManager bind = $mainMod, N, exec, swaync-client -t bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, $menu bind = $mainMod, W, exec, ~/.config/hypr/Scripts/ags-switcher.sh wallpaper bind = $mainMod, P, exec, ~/.config/hypr/Scripts/power-menu.py bind = $mainMod, L, exec, hyprlock bind = $mainMod SHIFT, T, exec, ~/.config/hypr/Scripts/ags-switcher.sh theme bind = $mainMod SHIFT, S, exec, ~/.config/hypr/Scripts/screenshot-menu.sh annotate-region bind = $mainMod SHIFT, P, pseudo, # dwindle bind = $mainMod, J, layoutmsg, togglesplit # dwindle bind = $mainMod, SPACE, exec, ~/.config/hypr/Scripts/toggle-wofi.sh # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # Switch existing workspaces with CTRL + mainMod + arrow keys bind = CTRL $mainMod, left, workspace, e-1 bind = CTRL $mainMod, right, workspace, e+1 # Switch workspaces with mainMod + [0-9] 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 # Move active window to a workspace with mainMod + SHIFT + [0-9] 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 # Example special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic bind = CTRL $mainMod, S, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Laptop multimedia keys for volume and LCD brightness bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @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 -e4 -n2 set 5%+ bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 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 ############################## ### WINDOWS AND WORKSPACES ### ############################## windowrule { # Ignore maximize requests from all apps. You'll probably like this. name = suppress-maximize-events match:class = .* suppress_event = maximize } windowrule { # Fix some dragging issues with XWayland name = fix-xwayland-drags match:class = ^$ match:title = ^$ match:xwayland = true match:float = true match:fullscreen = false match:pin = false no_focus = true } # Hyprland-run windowrule windowrule { name = move-hyprland-run match:class = hyprland-run move = 20 monitor_h-120 float = yes }