145 lines
4.7 KiB
Plaintext
145 lines
4.7 KiB
Plaintext
exec-once=hyprpaper
|
|
env = WLR_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1
|
|
monitor=,preferred,auto,1
|
|
exec-once=waybar
|
|
exec-once=sudo wg-quick up wg0
|
|
exec-once=sleep 0.7 && swaylock
|
|
|
|
input {
|
|
kb_layout = us
|
|
follow_mouse = 1
|
|
kb_options = compose:rctrl
|
|
}
|
|
|
|
general {
|
|
gaps_in = 1
|
|
gaps_out = 5
|
|
border_size = 2
|
|
col.active_border = rgba(002f5fee)
|
|
col.inactive_border = rgba(ffffff00)
|
|
layout = dwindle
|
|
}
|
|
|
|
xwayland {
|
|
force_zero_scaling = true
|
|
}
|
|
|
|
misc {
|
|
disable_hyprland_logo = 1
|
|
}
|
|
|
|
decoration {
|
|
|
|
rounding = 1
|
|
|
|
blur {
|
|
enabled = false
|
|
}
|
|
}
|
|
|
|
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 {
|
|
preserve_split = yes
|
|
no_gaps_when_only = 1
|
|
force_split = 2
|
|
}
|
|
|
|
gestures {
|
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
workspace_swipe = on
|
|
workspace_swipe_invert = false
|
|
}
|
|
|
|
$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, /home/user/.config/awesome/scripts/launch_alacritty.sh $(hyprctl activewindow -j | jq .pid)
|
|
bind = $mainMod SHIFT, return, exec, alacritty
|
|
bind = $mainMod, Q, killactive,
|
|
bind = $mainMod, A, exec, nautilus
|
|
bind = $mainMod, B, exec, MOZ_ENABLE_WAYLAND=1 firefox
|
|
bind = $mainMod, M, fullscreen, 1
|
|
bind = $mainMod, F11, fullscreen
|
|
bind = $mainMod, F, togglefloating,
|
|
bind = $mainMod, SPACE, togglesplit, # dwindle
|
|
bind = CONTROL_L ALT_L, L, exec, swaylock
|
|
bind = $mainMod, C, exec, CM_LAUNCHER=rofi-script rofi -modi "clipmenu:/usr/bin/clipmenu" -show clipmenu
|
|
bind = $mainMod, Y, exec, /home/user/.config/rofi/rofi-ykman.sh
|
|
bind = Control Mod2 Mod4, Q, exec, systemctl suspend
|
|
bind = $mainMod, Escape, exec, rofi -show power-menu -modi power-menu:/home/user/.config/awesome/scripts/rofi-power-menu
|
|
|
|
bind = ,XF86PowerOff, exec, rofi -show power-menu -modi power-menu:/home/user/.config/awesome/scripts/rofi-power-menu
|
|
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%-
|
|
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
|
|
|
|
# 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
|
|
bind = $mainMod SHIFT, H, movewindow, l
|
|
bind = $mainMod SHIFT, L, movewindow, r
|
|
bind = $mainMod SHIFT, K, movewindow, u
|
|
bind = $mainMod SHIFT, J, movewindow, d
|
|
bind = $mainMod CONTROL_L, L, resizeactive, 20 0
|
|
bind = $mainMod CONTROL_L, H, resizeactive, -20 0
|
|
bind = $mainMod CONTROL_L, K, resizeactive, 0 -20
|
|
bind = $mainMod CONTROL_L, J, resizeactive, 0 20
|
|
|
|
# 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
|