ee5673246d
Ported from https://github.com/hyprwm/Hyprland/blob/main/nix/hm-module.nix which was adapted from the sway module. Co-authored-by: Robert Helgesson <robert@rycee.net>
31 lines
856 B
Plaintext
31 lines
856 B
Plaintext
exec-once = /nix/store/00000000000000000000000000000000-dbus/bin/dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && systemctl --user start hyprland-session.target
|
|
decoration {
|
|
col.shadow=rgba(00000099)
|
|
shadow_offset=0 5
|
|
}
|
|
|
|
input {
|
|
touchpad {
|
|
scroll_factor=0.300000
|
|
}
|
|
accel_profile=flat
|
|
follow_mouse=1
|
|
kb_layout=ro
|
|
}
|
|
$mod=SUPER
|
|
bindm=$mod, mouse:272, movewindow
|
|
bindm=$mod, mouse:273, resizewindow
|
|
bindm=$mod ALT, mouse:272, resizewindow
|
|
plugin=/path/to/plugin1
|
|
plugin=/nix/store/00000000000000000000000000000000-foo/lib/libfoo.so
|
|
# window resize
|
|
bind = $mod, S, submap, resize
|
|
|
|
submap = resize
|
|
binde = , right, resizeactive, 10 0
|
|
binde = , left, resizeactive, -10 0
|
|
binde = , up, resizeactive, 0 -10
|
|
binde = , down, resizeactive, 0 10
|
|
bind = , escape, submap, reset
|
|
submap = reset
|