set hyprland input and monitor config to source externally

main
The_miro 2024-12-09 11:32:27 +01:00
parent b835cee39e
commit b9dfb7579b
4 changed files with 30 additions and 30 deletions

View File

@ -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
}
}

View File

@ -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

View File

@ -1,35 +1,7 @@
#############
### INPUT ###
#############
# https://wiki.hyprland.org/Configuring/Variables/#input source = ~/.config/input.conf
input { source = ~/.config/monitors.conf
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
}
}
# 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 # https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures { gestures {

View File

@ -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/wofi/ ~/.config/wofi
ln -s ~/Dotfiles/desktopenvs/hyprland/dunst/ ~/.config/dunst ln -s ~/Dotfiles/desktopenvs/hyprland/dunst/ ~/.config/dunst
cp ~/Dotfiles/desktopenvs/hyprland/hypr-usr/* ~/.config
#zsh setup #zsh setup
echo "Setting up zsh" echo "Setting up zsh"