2023-12-02 00:03:50 +01:00
|
|
|
env = WLR_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1
|
2023-12-02 12:42:53 +01:00
|
|
|
env = WLR_NO_HARDWARE_CURSORS,1
|
2024-01-20 22:01:21 +01:00
|
|
|
env = TERMINAL,alacritty
|
2023-12-05 18:19:50 +01:00
|
|
|
|
|
|
|
$scripts = /home/user/.config/scripts
|
|
|
|
|
|
|
|
exec-once=hyprpaper
|
2023-12-02 12:42:53 +01:00
|
|
|
monitor=DP-2,preferred,0x550,1
|
|
|
|
monitor=DP-1,preferred,1920x0,1,bitdepth,10
|
|
|
|
monitor=HDMI-A-1,preferred,5760x550,1
|
2023-12-02 23:32:42 +01:00
|
|
|
exec-once=wl-paste --type text --watch cliphist store
|
|
|
|
exec-once=wl-paste --type image --watch cliphist store
|
2023-12-04 16:39:27 +01:00
|
|
|
exec-once=sleep 2 && hyprctl dispatch workspace 11
|
2023-12-12 21:05:36 +01:00
|
|
|
exec-once=/usr/lib/mate-polkit/polkit-mate-authentication-agent-1
|
2023-12-02 17:33:12 +01:00
|
|
|
|
2023-12-02 12:42:53 +01:00
|
|
|
workspace=DP-1,11
|
|
|
|
workspace=DP-2,21
|
|
|
|
workspace=HDMI-A-1,1
|
|
|
|
|
|
|
|
workspace=1,monitor:HDMI-A-1, default:true
|
|
|
|
workspace=2,monitor:HDMI-A-1
|
|
|
|
workspace=3,monitor:HDMI-A-1
|
|
|
|
workspace=4,monitor:HDMI-A-1
|
|
|
|
workspace=5,monitor:HDMI-A-1
|
|
|
|
workspace=6,monitor:HDMI-A-1
|
|
|
|
workspace=7,monitor:HDMI-A-1
|
|
|
|
workspace=8,monitor:HDMI-A-1
|
|
|
|
workspace=9,monitor:HDMI-A-1
|
|
|
|
|
|
|
|
workspace=11,monitor:DP-1, default:true
|
|
|
|
workspace=12,monitor:DP-1
|
|
|
|
workspace=13,monitor:DP-1
|
|
|
|
workspace=14,monitor:DP-1
|
|
|
|
workspace=15,monitor:DP-1
|
|
|
|
workspace=16,monitor:DP-1
|
|
|
|
workspace=17,monitor:DP-1
|
|
|
|
workspace=18,monitor:DP-1
|
|
|
|
workspace=19,monitor:DP-1
|
|
|
|
|
2023-12-02 17:33:12 +01:00
|
|
|
workspace=21,monitor:DP-2, default:true
|
2023-12-02 12:42:53 +01:00
|
|
|
workspace=22,monitor:DP-2
|
|
|
|
workspace=23,monitor:DP-2
|
|
|
|
workspace=24,monitor:DP-2
|
|
|
|
workspace=25,monitor:DP-2
|
|
|
|
workspace=26,monitor:DP-2
|
|
|
|
workspace=27,monitor:DP-2
|
|
|
|
workspace=28,monitor:DP-2
|
|
|
|
workspace=29,monitor:DP-2
|
|
|
|
|
2024-02-06 18:36:44 +01:00
|
|
|
# windowrulev2 = tile, class:.*
|
2023-12-08 18:07:06 +01:00
|
|
|
windowrulev2 = float, title:^(rofi)(.*)$
|
|
|
|
windowrulev2 = center,title:^(rofi)(.*)$
|
|
|
|
windowrulev2 = noborder,title:^(rofi)(.*)$
|
2023-12-05 15:02:32 +01:00
|
|
|
windowrulev2 = stayfocused, title:^()$,class:^(steam)$
|
|
|
|
windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
|
2023-12-07 22:24:13 +01:00
|
|
|
windowrulev2 = stayfocused, title:^()$,class:^(steam)$
|
2023-12-08 18:07:06 +01:00
|
|
|
windowrule = noanim,waybar
|
2023-12-02 17:33:12 +01:00
|
|
|
|
2023-12-02 00:03:50 +01:00
|
|
|
exec-once=waybar
|
2023-12-02 12:42:53 +01:00
|
|
|
|
|
|
|
binds {
|
|
|
|
scroll_event_delay=1
|
|
|
|
}
|
2023-12-01 19:06:44 +01:00
|
|
|
|
|
|
|
input {
|
|
|
|
kb_layout = us
|
|
|
|
follow_mouse = 1
|
2023-12-04 16:39:27 +01:00
|
|
|
kb_options = compose:rctrl, caps:super, altwin:swap_alt_win
|
2023-12-02 13:55:28 +01:00
|
|
|
numlock_by_default = true
|
2023-12-01 19:06:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
general {
|
2023-12-02 00:03:50 +01:00
|
|
|
gaps_in = 1
|
2023-12-01 19:06:44 +01:00
|
|
|
gaps_out = 5
|
|
|
|
border_size = 2
|
|
|
|
col.active_border = rgba(002f5fee)
|
|
|
|
col.inactive_border = rgba(ffffff00)
|
|
|
|
layout = dwindle
|
|
|
|
}
|
|
|
|
|
2023-12-02 00:03:50 +01:00
|
|
|
xwayland {
|
|
|
|
force_zero_scaling = true
|
|
|
|
}
|
|
|
|
|
|
|
|
misc {
|
|
|
|
disable_hyprland_logo = 1
|
|
|
|
}
|
|
|
|
|
2023-12-01 19:06:44 +01:00
|
|
|
decoration {
|
|
|
|
|
|
|
|
rounding = 1
|
|
|
|
|
|
|
|
blur {
|
2023-12-01 21:11:36 +01:00
|
|
|
enabled = false
|
2023-12-01 19:06:44 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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, 2, myBezier
|
|
|
|
animation = windowsOut, 1, 2, default, popin 80%
|
|
|
|
animation = border, 1, 2, default
|
|
|
|
animation = borderangle, 1, 2, default
|
|
|
|
animation = fade, 1, 2, default
|
|
|
|
animation = workspaces, 1, 1, default
|
|
|
|
}
|
|
|
|
|
|
|
|
dwindle {
|
2023-12-01 21:11:36 +01:00
|
|
|
preserve_split = yes
|
2023-12-02 17:33:12 +01:00
|
|
|
# no_gaps_when_only = 1
|
2023-12-02 00:03:50 +01:00
|
|
|
force_split = 2
|
2023-12-01 19:06:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
gestures {
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
|
|
workspace_swipe = on
|
2023-12-02 00:03:50 +01:00
|
|
|
workspace_swipe_invert = false
|
2023-12-01 19:06:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
$mainMod = SUPER
|
|
|
|
|
|
|
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
2024-01-20 22:01:21 +01:00
|
|
|
bindr = $mainMod, SUPER_L, exec, pkill rofi || rofi -show drun
|
|
|
|
bindr = $mainMod, SUPER_R, exec, pkill rofi || rofi -show drun
|
2023-12-05 18:19:50 +01:00
|
|
|
bind = $mainMod, return, exec, $scripts/launch_alacritty.sh $(hyprctl activewindow -j | jq .pid)
|
2023-12-01 21:11:36 +01:00
|
|
|
bind = $mainMod SHIFT, return, exec, alacritty
|
2023-12-01 19:06:44 +01:00
|
|
|
bind = $mainMod, Q, killactive,
|
|
|
|
bind = $mainMod, A, exec, nautilus
|
2023-12-02 00:03:50 +01:00
|
|
|
bind = $mainMod, B, exec, MOZ_ENABLE_WAYLAND=1 firefox
|
2023-12-01 21:11:36 +01:00
|
|
|
bind = $mainMod, M, fullscreen, 1
|
|
|
|
bind = $mainMod, F11, fullscreen
|
2023-12-01 19:06:44 +01:00
|
|
|
bind = $mainMod, F, togglefloating,
|
|
|
|
bind = $mainMod, SPACE, togglesplit, # dwindle
|
2023-12-01 21:11:36 +01:00
|
|
|
bind = CONTROL_L ALT_L, L, exec, swaylock
|
2023-12-02 23:32:42 +01:00
|
|
|
bind = $mainMod, C, exec, cliphist list | awk '{print $0, "\0icon\x1fcom.github.davidmhewitt.clipped"}' | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy
|
2023-12-01 21:11:36 +01:00
|
|
|
bind = $mainMod, Y, exec, /home/user/.config/rofi/rofi-ykman.sh
|
2024-01-07 14:55:48 +01:00
|
|
|
|
2023-12-05 18:19:50 +01:00
|
|
|
bind = $mainMod, Escape, exec, rofi -show power-menu -modi power-menu:$scripts/rofi-power-menu
|
2023-12-01 19:06:44 +01:00
|
|
|
|
2023-12-01 21:11:36 +01:00
|
|
|
bind = ,XF86MonBrightnessUp, exec, xbacklight -inc 10
|
|
|
|
bind = ,XF86MonBrightnessDown, exec, xbacklight -dec 10
|
|
|
|
bind = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%+ --limit 1.0
|
|
|
|
bind = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%-
|
2023-12-07 22:24:13 +01:00
|
|
|
bind = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
2023-12-02 12:42:53 +01:00
|
|
|
bind = ,mouse_right, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+ --limit 1.0
|
|
|
|
bind = ,mouse_left, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-
|
2023-12-01 21:11:36 +01:00
|
|
|
bind = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
|
|
bind = ,XF86AudioNext, exec, playerctl next
|
|
|
|
bind = ,XF86AudioPrev, exec, playerctl previous
|
|
|
|
bind = $mainMod,XF86AudioMute, exec, playerctl play-pause
|
|
|
|
bind = $mainMod,XF86AudioRaiseVolume, exec, playerctl next
|
|
|
|
bind = $mainMod,XF86AudioLowerVolume, exec, playerctl previous
|
2023-12-05 15:02:32 +01:00
|
|
|
bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy
|
2023-12-01 19:06:44 +01:00
|
|
|
|
|
|
|
# Move focus with mainMod + arrow keys
|
2023-12-05 18:19:50 +01:00
|
|
|
bind = $mainMod, H, exec, $scripts/vim-hypr-nav.sh l
|
|
|
|
bind = $mainMod, L, exec, $scripts/vim-hypr-nav.sh r
|
|
|
|
bind = $mainMod, K, exec, $scripts/vim-hypr-nav.sh u
|
|
|
|
bind = $mainMod, J, exec, $scripts/vim-hypr-nav.sh d
|
2023-12-02 17:33:12 +01:00
|
|
|
bind = $mainMod CONTROL_L, H, swapwindow, l
|
|
|
|
bind = $mainMod CONTROL_L, L, swapwindow, r
|
|
|
|
bind = $mainMod CONTROL_L, K, swapwindow, u
|
|
|
|
bind = $mainMod CONTROL_L, J, swapwindow, d
|
2023-12-01 21:11:36 +01:00
|
|
|
bind = $mainMod SHIFT, H, movewindow, l
|
|
|
|
bind = $mainMod SHIFT, L, movewindow, r
|
|
|
|
bind = $mainMod SHIFT, K, movewindow, u
|
|
|
|
bind = $mainMod SHIFT, J, movewindow, d
|
2024-01-20 22:01:21 +01:00
|
|
|
binde = $mainMod ALT, L, resizeactive, 20 0
|
|
|
|
binde = $mainMod ALT, H, resizeactive, -20 0
|
|
|
|
binde = $mainMod ALT, K, resizeactive, 0 -20
|
|
|
|
binde = $mainMod ALT, J, resizeactive, 0 20
|
2023-12-01 19:06:44 +01:00
|
|
|
|
2023-12-02 12:42:53 +01:00
|
|
|
bind = $mainMod, 1, exec, hyprsome workspace 1
|
|
|
|
bind = $mainMod, 2, exec, hyprsome workspace 2
|
|
|
|
bind = $mainMod, 3, exec, hyprsome workspace 3
|
|
|
|
bind = $mainMod, 4, exec, hyprsome workspace 4
|
|
|
|
bind = $mainMod, 5, exec, hyprsome workspace 5
|
|
|
|
bind = $mainMod, 6, exec, hyprsome workspace 6
|
|
|
|
bind = $mainMod, 7, exec, hyprsome workspace 7
|
|
|
|
bind = $mainMod, 8, exec, hyprsome workspace 8
|
|
|
|
bind = $mainMod, 9, exec, hyprsome workspace 9
|
|
|
|
|
2023-12-02 13:55:28 +01:00
|
|
|
bind = $mainMod SHIFT, 1, exec, hyprsome movefocus 1
|
|
|
|
bind = $mainMod SHIFT, 2, exec, hyprsome movefocus 2
|
|
|
|
bind = $mainMod SHIFT, 3, exec, hyprsome movefocus 3
|
|
|
|
bind = $mainMod SHIFT, 4, exec, hyprsome movefocus 4
|
|
|
|
bind = $mainMod SHIFT, 5, exec, hyprsome movefocus 5
|
|
|
|
bind = $mainMod SHIFT, 6, exec, hyprsome movefocus 6
|
|
|
|
bind = $mainMod SHIFT, 7, exec, hyprsome movefocus 7
|
|
|
|
bind = $mainMod SHIFT, 8, exec, hyprsome movefocus 8
|
|
|
|
bind = $mainMod SHIFT, 9, exec, hyprsome movefocus 9
|
2023-12-02 12:42:53 +01:00
|
|
|
|
2023-12-02 13:55:28 +01:00
|
|
|
bind = $mainMod SHIFT, T, exec, hyprsome move-empty
|
|
|
|
bind = $mainMod, T, exec, hyprsome focus-empty
|
2023-12-01 19:06:44 +01:00
|
|
|
|
|
|
|
# Scroll through existing workspaces with mainMod + scroll
|
2023-12-02 12:42:53 +01:00
|
|
|
bind = $mainMod, TAB, workspace, m+1
|
|
|
|
bind = $mainMod SHIFT, TAB, workspace, m-1
|
2023-12-01 19:06:44 +01:00
|
|
|
|
|
|
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
|
|
bindm = $mainMod, mouse:273, resizewindow
|