2023-07-12 16:43:18 +01:00
|
|
|
source = ./macchiato.conf
|
|
|
|
source = ./display.conf
|
|
|
|
|
|
|
|
monitor=,preferred,auto,auto
|
2023-07-11 09:11:48 +01:00
|
|
|
|
|
|
|
env = XDG_CURRENT_DESKTOP=Hyprland
|
|
|
|
env = XDG_SESSION_TYPE=wayland
|
|
|
|
env = XDG_SESSION_DESKTOP=Hyprland
|
|
|
|
env = GDK_BACKEND=wayland,x11
|
|
|
|
env = GTK_THEME,Sweet-Dark
|
|
|
|
env = XCURSOR_THEME,Catppuccin-Macchiato-Dark-Cursors
|
|
|
|
env = XCURSOR_SIZE,24
|
|
|
|
env = QT_AUTO_SCREEN_SCALE_FACTOR=1
|
|
|
|
env = QT_QPA_PLATFORM=wayland;xcb
|
|
|
|
env = QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
2023-07-18 16:24:27 +01:00
|
|
|
env = MOZ_ENABLE_WAYLAND=1
|
2023-07-11 09:11:48 +01:00
|
|
|
|
|
|
|
input {
|
|
|
|
kb_layout = gb
|
|
|
|
follow_mouse = 1
|
|
|
|
touchpad {
|
|
|
|
natural_scroll = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
general {
|
|
|
|
gaps_in = 5
|
2023-07-13 15:26:35 +01:00
|
|
|
gaps_out = 10
|
2023-07-12 16:43:18 +01:00
|
|
|
border_size = 3
|
2023-07-11 09:11:48 +01:00
|
|
|
col.active_border = $mauve
|
|
|
|
col.group_border_active = $mauve
|
|
|
|
col.inactive_border = $surface2
|
|
|
|
col.group_border = $surface2
|
2023-07-12 16:43:18 +01:00
|
|
|
cursor_inactive_timeout = 5
|
2023-07-11 09:33:27 +01:00
|
|
|
layout = dwindle
|
2023-07-11 09:11:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dwindle {
|
|
|
|
force_split = 2
|
|
|
|
preserve_split = true
|
|
|
|
}
|
|
|
|
|
|
|
|
decoration {
|
|
|
|
rounding = 10
|
|
|
|
blur = yes
|
|
|
|
blur_size = 5
|
|
|
|
blur_passes = 3
|
|
|
|
blur_new_optimizations = on
|
|
|
|
blur_xray = off
|
|
|
|
drop_shadow = yes
|
|
|
|
shadow_range = 4
|
|
|
|
shadow_render_power = 3
|
|
|
|
}
|
|
|
|
|
|
|
|
animations {
|
|
|
|
enabled = yes
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2023-07-18 09:15:40 +01:00
|
|
|
XWayland {
|
|
|
|
force_zero_scaling = true
|
|
|
|
}
|
|
|
|
|
2023-07-11 09:11:48 +01:00
|
|
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
|
|
|
bind = SUPER, Return, exec, wezterm
|
2023-07-17 06:58:10 +01:00
|
|
|
bind = SUPER, W, exec, pgrep firefox > /dev/null || firefox
|
2023-07-11 09:11:48 +01:00
|
|
|
bind = SUPER, F1, exec, swaylock
|
2023-07-18 09:26:10 +01:00
|
|
|
|
|
|
|
bind = SUPER, Space, exec, pkill rofi || rofi -show drun
|
|
|
|
bind = SUPER SHIFT, Space, exec, pkill rofi || rofi -show run
|
2023-07-26 11:04:41 +01:00
|
|
|
bind = SUPER, E, exec, emacsclient -c -a 'emacs'
|
2023-07-26 17:25:22 +01:00
|
|
|
bind = SUPER SHIFT, E, exec, pkill rofi || rofi -show file-browser-extended
|
2023-07-18 09:26:10 +01:00
|
|
|
bind = SUPER SHIFT, P, exec, pkill rofi || rofi -show power-menu
|
|
|
|
|
|
|
|
bind = SUPER, V, togglefloating
|
|
|
|
bind = SUPER SHIFT, Q, killactive,
|
2023-07-11 09:11:48 +01:00
|
|
|
bind = SUPER, M, fullscreen, 1
|
|
|
|
bind = SUPER SHIFT, M, fullscreen, 0
|
|
|
|
|
|
|
|
bind=,Print,exec,grim -g "$(slurp)"
|
|
|
|
bind=,XF86AudioMute,exec,pamixer -t
|
|
|
|
binde=,XF86AudioRaiseVolume,exec,pamixer -i 5
|
|
|
|
binde=,XF86AudioLowerVolume,exec,pamixer -d 5
|
|
|
|
binde=,XF86MonBrightnessUp,exec,brightnessctl s +5%
|
|
|
|
binde=,XF86MonBrightnessDown,exec,brightnessctl s -5%
|
|
|
|
|
|
|
|
bind = SUPER, H, movefocus, l
|
|
|
|
bind = SUPER, L, movefocus, r
|
|
|
|
bind = SUPER, K, movefocus, u
|
|
|
|
bind = SUPER, J, movefocus, d
|
|
|
|
bind = SUPER SHIFT, H, movewindow, l
|
|
|
|
bind = SUPER SHIFT, L, movewindow, r
|
|
|
|
bind = SUPER SHIFT, K, movewindow, u
|
|
|
|
bind = SUPER SHIFT, J, movewindow, d
|
|
|
|
|
2023-07-19 09:13:40 +01:00
|
|
|
# 1: home
|
2023-07-28 08:01:09 +01:00
|
|
|
bind = SUPER, A, moveworkspacetomonitor, 1 current
|
2023-07-28 09:09:39 +01:00
|
|
|
bind = SUPER, A, workspace, 1
|
|
|
|
bind = SUPER SHIFT, A, movetoworkspace, 1
|
2023-07-26 11:04:41 +01:00
|
|
|
windowrule = workspace 1,^(steam).*
|
|
|
|
windowrule = workspace 1,(.gamescope-wrapped)
|
|
|
|
|
|
|
|
# 2: browser
|
2023-07-28 08:01:09 +01:00
|
|
|
bind = SUPER, W, moveworkspacetomonitor, 2 current
|
2023-07-28 09:09:39 +01:00
|
|
|
bind = SUPER, W, workspace, 2
|
|
|
|
bind = SUPER SHIFT, W, movetoworkspace, 2
|
2023-07-26 11:04:41 +01:00
|
|
|
windowrule = workspace 2,(firefox)
|
|
|
|
windowrule = workspace 2,(chromium-browser)
|
2023-07-19 09:13:40 +01:00
|
|
|
windowrulev2 = float,title:(File|Picture-in-Picture),class:(firefox)
|
|
|
|
windowrulev2 = pin,title:(File|Picture-in-Picture),class:(firefox)
|
2023-07-26 15:45:24 +01:00
|
|
|
windowrulev2 = float,title:^(about:blank).*,class:(chromium-browser)
|
2023-07-19 09:13:40 +01:00
|
|
|
|
2023-07-26 11:04:41 +01:00
|
|
|
# 3: files
|
2023-07-28 08:01:09 +01:00
|
|
|
bind = SUPER, F, moveworkspacetomonitor, 3 current
|
2023-07-26 11:04:41 +01:00
|
|
|
bind = SUPER, F, workspace, 3
|
2023-07-28 08:01:09 +01:00
|
|
|
bind = SUPER SHIFT, F, movetoworkspace, 3
|
2023-07-26 11:04:41 +01:00
|
|
|
windowrule = workspace 3,^(libreoffice).*
|
|
|
|
windowrule = workspace 3,(Zotero)
|
2023-07-26 17:25:22 +01:00
|
|
|
windowrulev2 = workspace 3,title:(Open),class:(soffice)
|
|
|
|
windowrulev2 = float,title:(Open),class:(soffice)
|
2023-07-26 11:04:41 +01:00
|
|
|
|
|
|
|
# 4: chat
|
2023-07-28 08:01:09 +01:00
|
|
|
bind = SUPER, C, moveworkspacetomonitor, 4 current
|
2023-07-26 11:04:41 +01:00
|
|
|
bind = SUPER, C, workspace, 4
|
2023-07-28 08:01:09 +01:00
|
|
|
bind = SUPER SHIFT, C, movetoworkspace, 4
|
2023-07-26 11:04:41 +01:00
|
|
|
windowrule = workspace 4,(Signal)
|
|
|
|
windowrule = workspace 4,(fractal)
|
|
|
|
windowrule = workspace 4,(discord)
|
|
|
|
|
|
|
|
# 5: remote
|
2023-07-28 08:01:09 +01:00
|
|
|
bind = SUPER, R, moveworkspacetomonitor, 5 current
|
2023-07-26 11:04:41 +01:00
|
|
|
bind = SUPER, R, workspace, 5
|
2023-07-28 08:01:09 +01:00
|
|
|
bind = SUPER SHIFT, R, movetoworkspace, 5
|
2023-07-26 11:04:41 +01:00
|
|
|
windowrule = workspace 5,(Nxplayer.bin)
|
2023-07-19 09:13:40 +01:00
|
|
|
windowrule = float,(Nxplayer.bin)
|
|
|
|
windowrule = center,(Nxplayer.bin)
|
|
|
|
|
2023-07-11 09:11:48 +01:00
|
|
|
bind = SUPER, period, workspace, m+1
|
|
|
|
bind = SUPER SHIFT, period, movetoworkspace, r+1
|
|
|
|
bind = SUPER, comma, workspace, m-1
|
|
|
|
bind = SUPER SHIFT, comma, movetoworkspace, r-1
|
|
|
|
bind = SUPER, bracketright, focusmonitor, +1
|
|
|
|
bind = SUPER SHIFT, bracketright, movecurrentworkspacetomonitor, +1
|
|
|
|
bind = SUPER, bracketleft, focusmonitor, -1
|
|
|
|
bind = SUPER SHIFT, bracketleft, movecurrentworkspacetomonitor, -1
|
|
|
|
|
|
|
|
bind = SUPER, N, workspace, empty
|
|
|
|
bind = SUPER SHIFT, N, movetoworkspace, empty
|
|
|
|
bind = SUPER, minus, togglespecialworkspace
|
|
|
|
bind = SUPER SHIFT, minus, movetoworkspace, special
|
|
|
|
bind = SUPER, tab, workspace, previous
|
|
|
|
bind = SUPER SHIFT, tab, movetoworkspace, previous
|
|
|
|
|
|
|
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
|
|
bindm = SUPER, mouse:272, movewindow
|
|
|
|
bindm = SUPER, mouse:273, resizewindow
|
|
|
|
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
2023-07-12 13:29:04 +01:00
|
|
|
|
2023-07-11 09:11:48 +01:00
|
|
|
windowrule = float,(foot)
|
|
|
|
windowrule = center,(foot)
|
|
|
|
windowrule = float,(pavucontrol)
|
|
|
|
windowrule = size 800 600,(pavucontrol)
|
|
|
|
windowrule = move 100%-820 10%,(pavucontrol)
|
|
|
|
windowrule = float,(.blueman-manager-wrapped)
|
|
|
|
windowrule = size 800 600,(.blueman-manager-wrapped)
|
|
|
|
windowrule = move 100%-820 10%,(.blueman-manager-wrapped)
|
|
|
|
windowrule = float,(nm-connection-editor)
|
|
|
|
windowrule = size 800 600,(nm-connection-editor)
|
|
|
|
windowrule = move 100%-820 10%,(nm-connection-editor)
|
|
|
|
windowrule = float,(otpclient)
|
|
|
|
windowrule = move 10% 10%,(otpclient)
|
2023-07-28 09:09:39 +01:00
|
|
|
|
|
|
|
exec-once = dunst
|
|
|
|
exec-once = hyprpaper
|
|
|
|
exec-once = waybar
|
|
|
|
source = ./autostart.conf
|