fix: fixed mouse scaling issue

This commit is contained in:
moonleay 2024-06-15 00:31:23 +02:00
parent b979eb98bf
commit a057918d24
Signed by: moonleay
GPG key ID: 82667543CCD715FB
7 changed files with 27 additions and 13 deletions

View file

@ -1,6 +1,9 @@
file:///home/moonleay/src
file:///home/moonleay/Downloads
file:///home/moonleay/Documents
file:///home/moonleay/Pictures
file:///home/moonleay/Pictures/Screenshots
file:///home/moonleay/Music
file:///home/moonleay/Videos
file:///home/moonleay/.gradle
file:///home/moonleay/.ssh

View file

@ -2,16 +2,21 @@
env = MOZ_ENABLE_WAYLAND,1
env = MOZ_DISABLE_RDD_SANDBOX,1
env = WLR_DRM_NO_ATOMIC,1
env = GDK_BACKEND=wayland,x11
env = QT_QPA_PLATFORM="wayland;xcb"
env = SDL_VIDEODRIVER=wayland
env = CLUTTER_BACKEND=wayland
env = XDG_CURRENT_DESKTOP=Hyprland
env = XDG_SESSION_TYPE=wayland
env = XDG_SESSION_DESKTOP=Hyprland
env = GDK_BACKEND,wayland,x11
env = QT_QPA_PLATFORM,wayland;xcb
env = SDL_VIDEODRIVER,wayland
env = CLUTTER_BACKEND,wayland
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_QPA_PLATFORMTHEME,qt5ct
env = HYPRCURSOR_THEME,adwaita
env = HYPRCURSOR_SIZE,24
env = XCURSOR_THEME=adwaita
env = XCURSOR_SIZE=24
env = XCURSOR_THEME,adwaita
env = XCURSOR_SIZE,24
# env = ENABLE_DEVICE_CHOOSER_LAYER=1 VULKAN_DEVICE_INDEX=0

View file

@ -23,5 +23,9 @@ misc {
vfr = true
}
debug {
disable_logs = false
}
# Per device configs
# <none>

View file

@ -7,7 +7,7 @@ preload = ~/Pictures/Wallpaper/somerndm.jpg
#set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used
wallpaper = eDP-2,~/Pictures/Wallpaper/cityx4.png
wallpaper = eDP-1,~/Pictures/Wallpaper/somerndm.jpg
wallpaper = DP-1,~/Pictures/Wallpaper/somerndm.jpg
wallpaper = DP-2,~/Pictures/Wallpaper/somerndm.jpg
wallpaper = HDMI-A-1,~/Pictures/Wallpaper/cityx4.png
#if more than one monitor in use, can load a 2nd image
# .. more monitors

View file

@ -1,7 +1,7 @@
# Monitors
# monitor=,preferred,auto,auto
# monitor=eDP-2,preferred,0x0,2
monitor=eDP-1,preferred,0x0,1.6
# monitor=DP-1,3840x2160@120,1280x0,1.2
monitor=eDP-1,2560x1600@160,0x0,1.6 # 1.6
monitor=DP-2,3840x2160@120,1600x0,1.25 # 1.2
# monitor=HDMI-A-1,preferred,4480x0,1
# monitor=HDMI-A-1,3440x1440@100,1280x0,1

View file

@ -23,3 +23,5 @@ windowrulev2 = stayfocused,class:^(jetbrains-.*)$,title:^( )$,floating:1
windowrulev2 = noborder,class:^(jetbrains-.*)$,title:^( )$,floating:1
#! Disable window flicker when autocomplete or tooltips appear
windowrulev2 = nofocus,class:^(jetbrains-.*)$,title:^(win.*)$,floating:1
# windowrulev2 = suppressevent maximize, class:.*

View file

@ -18,7 +18,7 @@ fi
classa=$(playerctl metadata --player=spotify --format '{{lc(status)}}')
if [[ $classa == "playing" ]]; then
icon=""
icon=" "
info=$(playerctl metadata --player=spotify --format '{{artist}} - {{title}}')
if [[ ${#info} > 40 ]]; then
info=$(echo $info | cut -c1-40)"..."