diff --git a/desktopenvs/hyprland/hypr-usr/input.conf b/desktopenvs/hyprland/hypr-usr/input.conf new file mode 100644 index 0000000..3bb06ac --- /dev/null +++ b/desktopenvs/hyprland/hypr-usr/input.conf @@ -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 + } +} diff --git a/desktopenvs/hyprland/hypr-usr/monitors.conf b/desktopenvs/hyprland/hypr-usr/monitors.conf new file mode 100644 index 0000000..75dc459 --- /dev/null +++ b/desktopenvs/hyprland/hypr-usr/monitors.conf @@ -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 diff --git a/desktopenvs/hyprland/hypr/hyprland.conf b/desktopenvs/hyprland/hypr/hyprland.conf index a661ac0..e6dca5a 100644 --- a/desktopenvs/hyprland/hypr/hyprland.conf +++ b/desktopenvs/hyprland/hypr/hyprland.conf @@ -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 { diff --git a/hyprland-eww-wofi-installer.sh b/hyprland-eww-wofi-installer.sh index 9930f39..e3d9667 100644 --- a/hyprland-eww-wofi-installer.sh +++ b/hyprland-eww-wofi-installer.sh @@ -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"