Enable Chromium OverlayScrollbars
This commit is contained in:
commit
578132c54b
|
@ -0,0 +1,4 @@
|
||||||
|
# Chromium-Custom
|
||||||
|
Patches the following behavior:
|
||||||
|
|
||||||
|
* Enable OverlayScrollbars experimental feature
|
|
@ -0,0 +1,26 @@
|
||||||
|
--- /usr/share/applications/chromium.desktop 2020-03-04 10:49:57.162352704 +0100
|
||||||
|
+++ a/chromium.desktop 2020-03-04 10:50:01.112359613 +0100
|
||||||
|
@@ -105,7 +105,7 @@
|
||||||
|
Comment[zh_CN]=访问互联网
|
||||||
|
Comment[zh_HK]=連線到網際網路
|
||||||
|
Comment[zh_TW]=連線到網際網路
|
||||||
|
-Exec=/usr/bin/chromium %U
|
||||||
|
+Exec=/usr/bin/chromium --enable-features=OverlayScrollbar %U
|
||||||
|
StartupNotify=true
|
||||||
|
Terminal=false
|
||||||
|
Icon=chromium
|
||||||
|
@@ -166,7 +166,7 @@
|
||||||
|
Name[vi]=Cửa sổ Mới
|
||||||
|
Name[zh_CN]=新建窗口
|
||||||
|
Name[zh_TW]=開新視窗
|
||||||
|
-Exec=/usr/bin/chromium
|
||||||
|
+Exec=/usr/bin/chromium --enable-features=OverlayScrollbar
|
||||||
|
|
||||||
|
[Desktop Action new-private-window]
|
||||||
|
Name=New Incognito Window
|
||||||
|
@@ -218,4 +218,4 @@
|
||||||
|
Name[vi]=Cửa sổ ẩn danh mới
|
||||||
|
Name[zh_CN]=新建隐身窗口
|
||||||
|
Name[zh_TW]=新增無痕式視窗
|
||||||
|
-Exec=/usr/bin/chromium --incognito
|
||||||
|
+Exec=/usr/bin/chromium --enable-features=OverlayScrollbar --incognito
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "`whoami`" != "root" ]; then
|
||||||
|
echo "Need to be root."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
(cd / && patch -p0) < desktop.patch
|
Loading…
Reference in New Issue