Files

418 lines
10 KiB
Plaintext
Raw Permalink Normal View History

# HyprDuma config
2025-11-09 00:06:10 +04:00
# Monitor configuration
monitor = eDP-1, 1920x1080@60, 0x0, 1
monitor = DP-1, 1920x1080@144, 1920x0, 1, transform, 2
2025-11-11 16:28:20 +00:00
# Workspace assignment
workspace = 1, monitor:DP-1
workspace = 2, monitor:DP-1
workspace = 3, monitor:DP-1
workspace = 4, monitor:DP-1
2025-11-09 00:06:10 +04:00
workspace = 5, monitor:eDP-1
2025-11-11 16:28:20 +00:00
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
2025-11-09 00:06:10 +04:00
# 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
2025-11-11 16:28:20 +00:00
exec-once = mkdir -p $HOME/Pictures/Screenshots
# Apps
2025-11-21 20:09:02 +04:00
$terminal = kitty
$fileManager = nautilus
2025-11-21 20:09:02 +04:00
$telegram = Telegram
2025-11-10 20:44:47 +00:00
$spotify = spotify
2025-11-09 00:06:10 +04:00
$vscode = code
2025-11-21 20:09:02 +04:00
$browser = flatpak run app.zen_browser.zen
2025-11-09 00:06:10 +04:00
# Cursor
2025-11-10 20:44:47 +00:00
env = XCURSOR_THEME,Adwaita
env = XCURSOR_SIZE,24
2025-11-09 00:06:10 +04:00
# Input configuration
input {
kb_layout = us, ru
kb_options = grp:alt_shift_toggle
numlock_by_default = true
2025-11-09 00:06:10 +04:00
follow_mouse = 1
2025-11-09 00:06:10 +04:00
touchpad {
natural_scroll = false
scroll_factor = 0.6
}
2026-02-12 00:24:09 +04:00
sensitivity = 0
2025-11-09 00:06:10 +04:00
}
2025-11-09 00:06:10 +04:00
# Gestures
gesture = 3, horizontal, workspace
gesture = 3, vertical, fullscreen
# Pywal colors
source = ~/.cache/wal/hyprland-colors.conf
general {
gaps_in = 10
gaps_out = 40
2025-11-21 20:09:02 +04:00
border_size = 3
resize_on_border = false
allow_tearing = false
layout = dwindle
}
decoration {
rounding = 13
2025-11-11 16:28:20 +00:00
active_opacity = 0.985
inactive_opacity = 0.85
2025-11-09 00:06:10 +04:00
2026-02-12 00:24:09 +04:00
blur {
enabled = false
size = 3
passes = 1
vibrancy = 0.1696
}
}
animations {
2025-11-09 00:06:10 +04:00
enabled = true
2025-11-21 20:09:02 +04:00
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
2025-11-21 20:09:02 +04:00
animation = windowsIn, 1, 3, emphasizedDecel
animation = windowsOut, 1, 2, emphasizedAccel
animation = windowsMove, 1, 3, standard
animation = workspaces, 1, 3, standard
2025-11-21 20:09:02 +04:00
animation = specialWorkspace, 1, 3, specialWorkSwitch, slidefadevert 15%
2025-11-21 20:09:02 +04:00
animation = fade, 1, 3, standard
animation = fadeDim, 1, 3, standard
animation = border, 1, 3, standard
}
dwindle {
2025-11-09 00:06:10 +04:00
pseudotile = true
preserve_split = true
2025-11-11 20:15:17 +00:00
smart_split = false
2025-11-09 00:06:10 +04:00
}
misc {
force_default_wallpaper = -1
2025-11-10 20:44:47 +00:00
disable_hyprland_logo = true
2025-11-09 00:06:10 +04:00
disable_splash_rendering = true
key_press_enables_dpms = true
mouse_move_enables_dpms = true
vfr = true
2025-11-09 00:06:10 +04:00
vrr = 0
}
2025-11-09 00:06:10 +04:00
binds {
disable_keybind_grabbing = false
}
2025-11-09 00:06:10 +04:00
# Window Rules
2026-02-06 11:51:03 -06:00
windowrule {
name = suppress-maximize-events
match:class = .*
suppress_event = maximize
}
windowrule {
name = fix-xwayland-drags
match:class = ^$
2026-02-06 11:51:03 -06:00
match:title = ^$
match:xwayland = true
match:float = true
match:fullscreen = false
match:pin = false
no_focus = true
}
2025-11-09 00:06:10 +04:00
# Floating
2026-02-06 11:51:03 -06:00
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
}
2025-11-09 00:06:10 +04:00
# File pickers
2026-02-06 11:51:03 -06:00
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
}
2025-11-09 00:06:10 +04:00
# PiP
2026-02-06 11:51:03 -06:00
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%
}
2025-11-09 00:06:10 +04:00
# Layer Rules
2026-02-06 11:51:03 -06:00
layerrule {
name = Caelestia-drawers
match:title = ^caelestia(drawers|background)$
animation = fade
2026-02-12 00:24:09 +04:00
}
2026-02-06 11:51:03 -06:00
layerrule {
name = drawers
match:namespace = caelestia-drawers
blur = on
}
layerrule {
name = drawers-alpha
match:namespace = caelestia-drawers
ignore_alpha = 0.57
}
2025-11-15 13:22:24 +04:00
2026-02-06 11:51:03 -06:00
layerrule {
name = border-exclusion
match:title = ^caelestia-(border-exclusion|area-picker)$
no_anim = true
}
2025-11-09 00:06:10 +04:00
2026-02-06 11:51:03 -06:00
layerrule {
name = wofi
match:namespace = wofi
blur = on
}
layerrule {
name = wofi-ignore-alpha
match:namespace = wofi
ignore_alpha = 0.2
}
2025-11-09 00:06:10 +04:00
# Keybindings
$mainMod = SUPER
$mainMod2 = ALT
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
2025-11-09 00:06:10 +04:00
bind = $mainMod, Z, togglefloating,
bind = $mainMod, X, fullscreen
2025-11-22 18:46:42 +04:00
bind = $mainMod, L, exec, loginctl lock-session
bind = $mainMod, O, togglesplit,
2025-11-13 20:38:00 +00:00
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
2025-11-09 00:06:10 +04:00
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, F, exec, $fileManager
bind = $mainMod, B, exec, $browser
2025-11-11 16:28:20 +00:00
bind = $mainMod, V, exec, $vscode
2025-11-09 00:06:10 +04:00
bind = $mainMod, T, exec, $telegram
2025-11-10 20:44:47 +00:00
bind = $mainMod, S, exec, $spotify
2026-02-12 00:24:09 +04:00
bind = $mainMod, W, exec, waypaper
bind = $mainMod, R, exec, wofi --show drun
bind = CTRL SHIFT, ESCAPE, exec, $terminal htop
2025-11-11 16:28:20 +00:00
bind = $mainMod SHIFT, S, exec, hyprshot -m region -o $HOME/Pictures/Screenshots -f Screenshot_$(date "+%Y-%m-%d_%H:%M:%S").png -z
2025-11-09 00:06:10 +04:00
# 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
2025-11-09 00:06:10 +04:00
bind = $mainMod, left, workspace, r-1
bind = $mainMod, right, workspace, r+1
bind = CTRL, H, workspace, r-1
bind = CTRL, L, workspace, r+1
2025-11-09 00:06:10 +04:00
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
2025-11-09 00:06:10 +04:00
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
2025-11-09 00:06:10 +04:00
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
2025-11-09 00:06:10 +04:00
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
2025-11-09 00:06:10 +04:00
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
2025-11-09 00:06:10 +04:00
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
2025-11-09 00:06:10 +04:00
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