summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/awesome/cmds.lua2
-rw-r--r--.config/systemd/user/switch-icon.service9
-rwxr-xr-x.local/bin/switch-icon.py (renamed from .local/bin/swIcon.py)0
3 files changed, 10 insertions, 1 deletions
diff --git a/.config/awesome/cmds.lua b/.config/awesome/cmds.lua
index 01e035e..0c570eb 100644
--- a/.config/awesome/cmds.lua
+++ b/.config/awesome/cmds.lua
@@ -4,7 +4,7 @@ module("eminent")
local cmds = {
urxvtd = "urxvtd -q -o -f",
- swIcon = os.getenv("HOME") .. "/.local/bin/swIcon.py",
+ swIcon = os.getenv("HOME") .. "/.local/bin/switch-icon.py",
tggle_tpd = os.getenv("HOME") .. "/.scripts/toggle_touchpad.sh"
}
diff --git a/.config/systemd/user/switch-icon.service b/.config/systemd/user/switch-icon.service
new file mode 100644
index 0000000..1ac2ab6
--- /dev/null
+++ b/.config/systemd/user/switch-icon.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Apply icon quirks to broken X11 programs
+After=xorg.target
+
+[Service]
+ExecStart=/usr/bin/python2 %h/.local/bin/switch-icon.py
+
+[Install]
+WantedBy=graphical.target
diff --git a/.local/bin/swIcon.py b/.local/bin/switch-icon.py
index 7142a54..7142a54 100755
--- a/.local/bin/swIcon.py
+++ b/.local/bin/switch-icon.py