summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorSolomon Choina2018-02-06 22:19:46 -0500
committerSolomon Choina2018-02-06 22:19:46 -0500
commitffb920b4feb3ae63c985431c3d33b4aa19ea7914 (patch)
tree86cd354b95a736fa0ff67c42b44a4b8ba0809a78 /install
downloadaur-ffb920b4feb3ae63c985431c3d33b4aa19ea7914.tar.gz
initial commit
Diffstat (limited to 'install')
-rwxr-xr-xinstall14
1 files changed, 14 insertions, 0 deletions
diff --git a/install b/install
new file mode 100755
index 000000000000..a811bac80728
--- /dev/null
+++ b/install
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+post_install() {
+ sed -i '/^#0nyX$/,+1 d' /etc/environment
+ printf '\n#0nyX\nGTK_OVERLAY_SCROLLING=0\n#0nyX\nLIBOVERLAY_SCROLLBAR=0'>> /etc/environment
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ sed -i '/^#0nyX$/,+1 d' /etc/environment
+} \ No newline at end of file