102 lines
2.4 KiB
Django/Jinja
102 lines
2.4 KiB
Django/Jinja
# hyprland.conf - managed by Ansible
|
|
|
|
# Monitors
|
|
# Monitor names for Wayland: DP-1, HDMI-A-1, DVI-D-1
|
|
# Layout: Left (DP-1), Center (HDMI-A-1), Right (DVI-D-1)
|
|
monitor=DP-1, 1920x1080@60, 0x0, 1
|
|
monitor=HDMI-A-1, 1920x1080@60, 1920x0, 1
|
|
monitor=DVI-D-1, 1920x1080@60, 3840x0, 1
|
|
|
|
# Execute on start
|
|
exec-once = waybar
|
|
exec-once = dunst
|
|
exec-once = hypridle
|
|
exec-once = wl-paste --type text --watch cliphist store
|
|
exec-once = wl-paste --type image --watch cliphist store
|
|
|
|
# Environment variables for NVIDIA
|
|
env = LIBVA_DRIVER_NAME,nvidia
|
|
env = XDG_SESSION_TYPE,wayland
|
|
env = GBM_BACKEND,nvidia-drm
|
|
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
|
env = WLR_NO_HARDWARE_CURSORS,1
|
|
env = NVD_BACKEND,direct
|
|
|
|
# Input
|
|
input {
|
|
kb_layout = de
|
|
follow_mouse = 1
|
|
sensitivity = 0
|
|
}
|
|
|
|
# General
|
|
general {
|
|
gaps_in = 5
|
|
gaps_out = 10
|
|
border_size = 2
|
|
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
|
col.inactive_border = rgba(595959aa)
|
|
layout = dwindle
|
|
}
|
|
|
|
# Decoration
|
|
decoration {
|
|
rounding = 10
|
|
blur {
|
|
enabled = true
|
|
size = 3
|
|
passes = 1
|
|
}
|
|
}
|
|
|
|
# Animations
|
|
animations {
|
|
enabled = yes
|
|
}
|
|
|
|
# Dwindle layout
|
|
dwindle {
|
|
preserve_split = yes
|
|
}
|
|
|
|
# Keybindings
|
|
$mainMod = SUPER
|
|
|
|
bind = $mainMod, Return, exec, kitty
|
|
bind = $mainMod, Q, killactive,
|
|
bind = $mainMod, M, exit,
|
|
bind = $mainMod, E, exec, dolphin
|
|
bind = $mainMod, V, togglefloating,
|
|
bind = $mainMod, D, exec, wofi --show drun
|
|
bind = $mainMod, P, pseudo
|
|
bind = $mainMod, J, layoutmsg, togglesplit
|
|
bind = $mainMod, L, exec, hyprlock
|
|
|
|
# Focus
|
|
bind = $mainMod, left, movefocus, l
|
|
bind = $mainMod, right, movefocus, r
|
|
bind = $mainMod, up, movefocus, u
|
|
bind = $mainMod, down, movefocus, d
|
|
|
|
# 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
|
|
|
|
# Move to workspace
|
|
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
|