135 lines
3.9 KiB
Plaintext
135 lines
3.9 KiB
Plaintext
monitor=,preferred,auto,1
|
|
exec-once=hyprpaper
|
|
|
|
input {
|
|
kb_layout = us
|
|
follow_mouse = 1
|
|
}
|
|
|
|
general {
|
|
gaps_in = 2
|
|
gaps_out = 5
|
|
border_size = 2
|
|
col.active_border = rgba(002f5fee)
|
|
col.inactive_border = rgba(ffffff00)
|
|
layout = dwindle
|
|
}
|
|
|
|
decoration {
|
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
|
|
rounding = 1
|
|
|
|
blur {
|
|
enabled = true
|
|
size = 3
|
|
passes = 1
|
|
}
|
|
|
|
drop_shadow = yes
|
|
shadow_range = 2
|
|
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, 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 {
|
|
# 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
|
|
no_gaps_when_only=1
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
# Example windowrule v1
|
|
# windowrule = float, ^(kitty)$
|
|
# Example windowrule v2
|
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
|
$mainMod = SUPER
|
|
|
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
|
bindr = $mainMod, SUPER_L, exec, /home/user/.config/awesome/scripts/toggle_rofi.sh
|
|
bind = $mainMod, return, exec, alacritty
|
|
bind = $mainMod, Q, killactive,
|
|
bind = $mainMod, A, exec, nautilus
|
|
bind = $mainMod, B, exec, firefox
|
|
bind = $mainMod, F, togglefloating,
|
|
bind = $mainMod, SPACE, togglesplit, # dwindle
|
|
bind = $mainMod, C, exec, CM_LAUNCHER=rofi-script rofi -modi "clipmenu:/usr/bin/clipmenu" -show clipmenu
|
|
bind = $mainMod, Escape, exec, rofi -show power-menu -modi power-menu:/home/user/.config/awesome/scripts/rofi-power-menu
|
|
|
|
|
|
# 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, 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, T, movetoworkspace, empty
|
|
|
|
|
|
# Scroll through existing workspaces with mainMod + scroll
|
|
bind = $mainMod, TAB, workspace, e+1
|
|
bind = $mainMod SHIFT, TAB, workspace, e-1
|
|
bind = $mainMod, T, workspace, empty
|
|
|
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
bindm = $mainMod, mouse:273, resizewindow
|