# HyprDuma config # Monitor configuration monitor = eDP-1, 1920x1080@60, 0x0, 1 monitor = DP-1, 1920x1080@144, 1920x0, 1, transform, 2 # Workspace assignment workspace = 1, monitor:DP-1 workspace = 2, monitor:DP-1 workspace = 3, monitor:DP-1 workspace = 4, monitor:DP-1 workspace = 5, monitor:eDP-1 workspace = 6, monitor:eDP-1 workspace = 7, monitor:eDP-1 workspace = 8, monitor:eDP-1 workspace = 9, monitor:eDP-1 workspace = 10, monitor:eDP-1 # Autostart exec-once = waypaper --restore exec-once = sleep 1 && ~/.config/hypr/scripts/sync-caelestia-wallpaper.sh exec-once = sleep 1 && caelestia shell -d exec-once = python3 ~/.config/hypr/scripts/monitor-handler.py exec-once = hyprctl setcursor Adwaita 24 exec-once = mkdir -p $HOME/Pictures/Screenshots # Apps $terminal = kitty $fileManager = nautilus $telegram = Telegram $spotify = spotify $vscode = code $browser = flatpak run app.zen_browser.zen # Cursor env = XCURSOR_THEME,Adwaita env = XCURSOR_SIZE,24 # Input configuration input { kb_layout = us, ru kb_options = grp:alt_shift_toggle numlock_by_default = true follow_mouse = 1 touchpad { natural_scroll = false scroll_factor = 0.6 } sensitivity = 0 } # Gestures gesture = 3, horizontal, workspace gesture = 3, vertical, fullscreen # Pywal colors source = ~/.cache/wal/hyprland-colors.conf general { gaps_in = 10 gaps_out = 40 border_size = 3 resize_on_border = false allow_tearing = false layout = dwindle } decoration { rounding = 13 active_opacity = 0.985 inactive_opacity = 0.85 blur { enabled = false size = 3 passes = 1 vibrancy = 0.1696 } } animations { enabled = true bezier = specialWorkSwitch, 0.05, 0.7, 0.1, 1 bezier = emphasizedAccel, 0.3, 0, 0.8, 0.15 bezier = emphasizedDecel, 0.05, 0.7, 0.1, 1 bezier = standard, 0.2, 0, 0, 1 animation = layersIn, 1, 3, emphasizedDecel, slide animation = layersOut, 1, 2, emphasizedAccel, slide animation = fadeLayers, 1, 3, standard animation = windowsIn, 1, 3, emphasizedDecel animation = windowsOut, 1, 2, emphasizedAccel animation = windowsMove, 1, 3, standard animation = workspaces, 1, 3, standard animation = specialWorkspace, 1, 3, specialWorkSwitch, slidefadevert 15% animation = fade, 1, 3, standard animation = fadeDim, 1, 3, standard animation = border, 1, 3, standard } dwindle { pseudotile = true preserve_split = true smart_split = false } misc { force_default_wallpaper = -1 disable_hyprland_logo = true disable_splash_rendering = true key_press_enables_dpms = true mouse_move_enables_dpms = true vfr = true vrr = 0 } binds { disable_keybind_grabbing = false } # Window Rules windowrule { name = suppress-maximize-events match:class = .* suppress_event = maximize } windowrule { name = fix-xwayland-drags match:class = ^$ match:title = ^$ match:xwayland = true match:float = true match:fullscreen = false match:pin = false no_focus = true } # Floating windowrule { name = PulseAudio-float match:class = ^(org.pulseaudio.pavucontrol)$ match:float = true } windowrule { name = Blueman-manager match:title = ^(blueman-manager)$ match:float = true } windowrule { name = Network-Manager-Connection-Editor match:class = ^(nm-connection-editor)$ match:float = true } windowrule { name = waypaper match:class = ^(waypaper)$ match:float = true } windowrule { name = nokyan-Resources match:class = ^(net.nokyan.Resources)$ match:float = true size = 1150 600 } windowrule { name = gnome-calculator match:class = ^(gnome-calculator)$ match:float = true } windowrule { name = Calculator match:class = ^(Calculator)$ match:float = true } # File pickers windowrule { name = OpenFiles match:title = ^(Open Files|File Picker)$ match:class = ^(.*)$ match:float = true } windowrule { name = OpenFolder match:title = ^(Open Folder|File Picker)$ match:class = ^(.*)$ match:float = true } windowrule { name = SelectImage match:title = ^(Select Image|File Picker)$ match:class = ^(.*) match:float = true } windowrule { name = SaveFile match:title = ^(Save File|File Picker)$ match:class = ^(.*)$ match:float = true } windowrule { name = ChangeDownloadLocation match:title = ^(Change Download Location|File Picker)$ match:class = ^(.*)$ match:float = true } windowrule { name = DesktopPortal match:class = ^(xdg-desktop-portal-gtk)$ match:float = true } # PiP windowrule { name = Picture-in-Picture match:title = ^(Picture-in-Picture)$ match:float = true } windowrule { name = Pin-PIP match:title = ^(Picture-in-Picture)$ match:pin = true } windowrule { name = PIP-Position match:title = ^(Picture-in-Picture)$ move = 69.5% 4% } # Layer Rules layerrule { name = Caelestia-drawers match:title = ^caelestia(drawers|background)$ animation = fade } layerrule { name = drawers match:namespace = caelestia-drawers blur = on } layerrule { name = drawers-alpha match:namespace = caelestia-drawers ignore_alpha = 0.57 } layerrule { name = border-exclusion match:title = ^caelestia-(border-exclusion|area-picker)$ no_anim = true } layerrule { name = wofi match:namespace = wofi blur = on } layerrule { name = wofi-ignore-alpha match:namespace = wofi ignore_alpha = 0.2 } # Keybindings $mainMod = SUPER $mainMod2 = ALT bind = $mainMod, C, killactive, bind = $mainMod, M, exit, bind = $mainMod, Z, togglefloating, bind = $mainMod, X, fullscreen bind = $mainMod, L, exec, loginctl lock-session bind = $mainMod, O, togglesplit, bind = $mainMod, P, exec, poweroff bind = $mainMod, RETURN, exec, wlogout bind = $mainMod SHIFT, B, exec, hyprctl keyword decoration:blur:enabled toggle bind = $mainMod, N, exec, swaync-client -t -sw # Apps bind = $mainMod, Q, exec, $terminal bind = $mainMod, F, exec, $fileManager bind = $mainMod, B, exec, $browser bind = $mainMod, V, exec, $vscode bind = $mainMod, T, exec, $telegram bind = $mainMod, S, exec, $spotify bind = $mainMod, W, exec, waypaper bind = $mainMod, R, exec, wofi --show drun bind = CTRL SHIFT, ESCAPE, exec, $terminal htop bind = $mainMod SHIFT, S, exec, hyprshot -m region -o $HOME/Pictures/Screenshots -f Screenshot_$(date "+%Y-%m-%d_%H:%M:%S").png -z # Workspaces 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, left, workspace, r-1 bind = $mainMod, right, workspace, r+1 bind = CTRL, H, workspace, r-1 bind = CTRL, L, workspace, r+1 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 bind = $mainMod SHIFT, left, movetoworkspace, r-1 bind = $mainMod SHIFT, right, movetoworkspace, r+1 bind = $mainMod SHIFT, H, movetoworkspace, r-1 bind = $mainMod SHIFT, L, movetoworkspace, r+1 bind = $mainMod CTRL, 1, movetoworkspacesilent, 1 bind = $mainMod CTRL, 2, movetoworkspacesilent, 2 bind = $mainMod CTRL, 3, movetoworkspacesilent, 3 bind = $mainMod CTRL, 4, movetoworkspacesilent, 4 bind = $mainMod CTRL, 5, movetoworkspacesilent, 5 bind = $mainMod CTRL, 6, movetoworkspacesilent, 6 bind = $mainMod CTRL, 7, movetoworkspacesilent, 7 bind = $mainMod CTRL, 8, movetoworkspacesilent, 8 bind = $mainMod CTRL, 9, movetoworkspacesilent, 9 bind = $mainMod CTRL, 0, movetoworkspacesilent, 10 bind = $mainMod CTRL, left, movetoworkspacesilent, r-1 bind = $mainMod CTRL, right, movetoworkspacesilent, r+1 bind = $mainMod CTRL, H, movetoworkspacesilent, r-1 bind = $mainMod CTRL, L, movetoworkspacesilent, r+1 bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 # Window management bind = $mainMod2, left, movefocus, l bind = $mainMod2, right, movefocus, r bind = $mainMod2, up, movefocus, u bind = $mainMod2, down, movefocus, d bind = $mainMod2, H, movefocus, l bind = $mainMod2, L, movefocus, r bind = $mainMod2, K, movefocus, u bind = $mainMod2, J, movefocus, d bind = $mainMod2, TAB, cyclenext bind = $mainMod, TAB, cyclenext, prev bind = $mainMod2 CTRL, left, resizeactive, -50 0 bind = $mainMod2 CTRL, right, resizeactive, 50 0 bind = $mainMod2 CTRL, up, resizeactive, 0 -50 bind = $mainMod2 CTRL, down, resizeactive, 0 50 bind = $mainMod2 CTRL, H, resizeactive, -50 0 bind = $mainMod2 CTRL, L, resizeactive, 50 0 bind = $mainMod2 CTRL, K, resizeactive, 0 -50 bind = $mainMod2 CTRL, J, resizeactive, 0 50 bind = $mainMod2 SHIFT, left, movewindow, l bind = $mainMod2 SHIFT, right, movewindow, r bind = $mainMod2 SHIFT, up, movewindow, u bind = $mainMod2 SHIFT, down, movewindow, d bind = $mainMod2 SHIFT, H, movewindow, l bind = $mainMod2 SHIFT, L, movewindow, r bind = $mainMod2 SHIFT, K, movewindow, u bind = $mainMod2 SHIFT, J, movewindow, d bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Media keys 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%- bindl = , XF86AudioNext, exec, playerctl next bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPrev, exec, playerctl previous