set hyprland input and monitor config to source externally
parent
b835cee39e
commit
b9dfb7579b
|
|
@ -0,0 +1,16 @@
|
|||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||
input {
|
||||
kb_layout = de
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
left_handed = true
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
touchpad {
|
||||
natural_scroll = false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
# change monitor to high resolution, the last argument is the scale factor
|
||||
monitor = , highres, auto, 2
|
||||
|
||||
# unscale XWayland
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
|
||||
# toolkit-specific scale
|
||||
env = GDK_SCALE,2
|
||||
env = XCURSOR_SIZE,32
|
||||
|
|
@ -1,35 +1,7 @@
|
|||
#############
|
||||
### INPUT ###
|
||||
#############
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||
input {
|
||||
kb_layout = de
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
#left_handed = true
|
||||
follow_mouse = 1
|
||||
source = ~/.config/input.conf
|
||||
source = ~/.config/monitors.conf
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
touchpad {
|
||||
natural_scroll = false
|
||||
}
|
||||
}
|
||||
|
||||
# change monitor to high resolution, the last argument is the scale factor
|
||||
monitor = , highres, auto, 2
|
||||
|
||||
# unscale XWayland
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
|
||||
# toolkit-specific scale
|
||||
env = GDK_SCALE,2
|
||||
env = XCURSOR_SIZE,32
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
gestures {
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ ln -s ~/Dotfiles/desktopenvs/hyprland/hypr/ ~/.config/hypr
|
|||
ln -s ~/Dotfiles/desktopenvs/hyprland/wofi/ ~/.config/wofi
|
||||
ln -s ~/Dotfiles/desktopenvs/hyprland/dunst/ ~/.config/dunst
|
||||
|
||||
cp ~/Dotfiles/desktopenvs/hyprland/hypr-usr/* ~/.config
|
||||
|
||||
#zsh setup
|
||||
echo "Setting up zsh"
|
||||
|
|
|
|||
Loading…
Reference in New Issue