From e0af17bd9cfc081a8e6d8148883d02714a21dfc7 Mon Sep 17 00:00:00 2001 From: ryukamish Date: Sat, 4 Jul 2026 20:48:38 +0530 Subject: fix: fixing the browser binary name and fractional scaling for helium browser --- .config/sway/config | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to '.config') diff --git a/.config/sway/config b/.config/sway/config index 5101f39..7482173 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -33,6 +33,7 @@ output * bg ~/.wallpaper fill output "Chimei Innolux Corporation 0x142B Unknown" { mode 1920x1080@60Hz pos 0 0 + scale 1.25 } output 'Acer Technologies EK220Q H3 14301552C3W01' { @@ -50,9 +51,9 @@ input "1267:12930:PNP0C50:00_04F3:3282_Touchpad" { pointer_accel 0 dwt enabled # disable while typing tap enabled # touch click also works with physical click + scroll_factor 0.4 click_method clickfinger scroll_method two_finger - scroll_factor 0.3 tap_button_map lrm # selection w/o physical click } @@ -80,13 +81,11 @@ bindsym $mod+Space exec $menu bindsym $mod+e exec $file_manager # Open ungoogled chromium -# bindsym $mod+b exec /usr/bin/chromium \ -# --force-dark-mode \ -# --enable-features=WebUIDarkMode +bindsym $mod+b exec /usr/bin/helium \ + --enable-features=WebUIDarkMode \ + --disable-features=WaylandFractionalScaleV1 -bindsym $mod+b exec /usr/bin/helium - -bindsym $mod+Shift+b exec /usr/bin/librewolf +bindsym $mod+Shift+b exec /usr/bin/librewolf-bin # Reload the configuration file bindsym $mod+Shift+c reload @@ -297,7 +296,10 @@ for_window [app_id = "floating"] $float for_window [app_id = "floating_update"] $float for_window [title = "^Open File$"] $float_resize for_window [title = "^Save File$"] $float_resize -for_window [app_id = "mpv"] $float_resize move position center +for_window [app_id = "mpv"] { + floating enable + resize set 850 900 px +} for_window [app_id = "pavucontrol"] $float_resize for_window [app_id = "TUI.float"] $float_resize for_window [app_id="firefox" title="^Picture-in-Picture$"] $popup -- cgit v1.3