# # Please note not all available settings / options are set here. # For a full list, see the wiki # # Execute your favorite apps at launch # exec-once = waybar & hyprpaper & firefox # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf # default env vars. env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_DESKTOP,Hyprland env = XCURSOR_SIZE,24 env = PATH,$HOME/.local/bin:$HOME/.cargo/bin:$PATH env = QT_QPA_PLATFORM,wayland;xcb env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = QT_QPA_PLATFORMTHEME,qt5ct env = GTK_USE_PORTAL,1 env = BROWSER,firefox env = MOZ_ENABLE_WAYLAND,1 env = EDITOR,nvim # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = se kb_variant = kb_model = kb_options = caps:escape kb_rules = follow_mouse = 1 touchpad { natural_scroll = no } # mouse sensitivity, -1.0 - 1.0, 0 means no modification. {% if hostname == "sputnik" %} sensitivity = -0.9 {% else %} sensitivity = 0 {% end %} } # DIY keyboard config device:tux-tangentbord1 { kb_layout = us kb_variant = kb_model = kb_options = compose:menu kb_rules = } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_in = 5 {% if hostname == "sputnik" %} gaps_out = 10 {% elif hostname == "buran" %} gaps_out = 5 {% else %} gaps_out = 20 {% end %} border_size = 2 col.active_border = rgba(f5deb3ff) rgba(f5deb3ee) 45deg col.inactive_border = rgba(595959aa) layout = dwindle } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 10 blur { enabled = true size = 3 passes = 1 } drop_shadow = yes shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) } animations { enabled = yes # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more bezier = myBezier, 0.05, 0.9, 0.1, 1.05 animation = windows, 1, 7, myBezier animation = windowsOut, 1, 7, default, popin 80% animation = border, 1, 10, default animation = borderangle, 1, 8, default animation = fade, 1, 7, default animation = workspaces, 1, 6, default } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = yes # you probably want this } master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more new_is_master = true } gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = on } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more device:epic-mouse-v1 { sensitivity = -0.5 } # See https://wiki.hyprland.org/Configuring/Window-Rules/ windowrule=float,title:Volume windowrule=size 300 100,title:Volume windowrule=move 100%-375 75,title:Volume windowrule=rounding 35,title:Volume windowrule=nofocus,title:Volume # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = ALT # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Return, exec, alacritty bind = $mainMod_SHIFT, Q, killactive, #bind = $mainMod, M, exit, bind = $mainMod_SHIFT, Plus, exec, screenlock #bind = $mainMod, E, exec, dolphin bind = $mainMod, Space, togglefloating, bind = $mainMod, D, exec, trigger-findex bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, E, togglesplit, # dwindle bind = $mainMod, F, fullscreen, {% if hostname == "buran" %} bindl=,switch:Lid Switch,exec,screenlock {% end %} bindl = , xf86audiolowervolume, exec, voldown bindl = , xf86audioraisevolume, exec, volup bindl = , xf86audiomute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle bindl = , xf86audiomicmute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle bindl = , xf86monbrightnessdown, exec, brightnessctl --min-value=10 set 10%- bindl = , xf86monbrightnessup, exec, brightnessctl --min-value=10 set +10% bindl = , xf86audioplay, exec, playerctl play-pause bindl = , xf86audionext, exec, playerctl next bindl = , xf86audioprev, exec, playerctl previous bind = , Print, exec, scap # Move focus with mainMod + arrow keys bind = $mainMod, H, movefocus, l bind = $mainMod, L, movefocus, r bind = $mainMod, K, movefocus, u bind = $mainMod, J, movefocus, d # 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, movetoworkspacesilent, 1 bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2 bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3 bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4 bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5 bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6 bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7 bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8 bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9 bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10 # 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 # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,preferred,auto,auto {% if hostname == "sputnik" %} monitor=DP-2,3440x1440@144.00000,auto,auto {% end %} {% if hostname == "buran" %} monitor=eDP-1,3456x2160@60.00100,0x680,2.0 monitor=DP-1,5120x2160@59.98500,1728x450,1.3 monitor=DP-3,2560x1440@59.95100,5666x0,1.0,transform,3 # transform list # normal (no transforms) -> 0 # 90 degrees -> 1 # 180 degrees -> 2 # 270 degrees -> 3 # flipped -> 4 # flipped + 90 degrees -> 5 # flipped + 180 degrees -> 6 # flipped + 270 degrees -> 7 {% end %} exec-once=hyprpaper {% if hostname == "buran" %} exec-once=waybar {% else %} exec-once=eww daemon exec-once=eww open bar {% end %} exec-once=findex-daemon exec-once=nextcloud