summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-02-22 11:48:36 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-02-22 11:48:36 +0100
commit101192af702154dc3f95fd0e8b1d7a1892dec90a (patch)
treeced9e83d9eabf57cd5aee6caa06fa527156a53ee
parent6b2067683c96978af6f9f5255fd73061377e7a15 (diff)
downloaddotfiles-101192af702154dc3f95fd0e8b1d7a1892dec90a.tar.gz
dotfiles-101192af702154dc3f95fd0e8b1d7a1892dec90a.tar.bz2
dotfiles-101192af702154dc3f95fd0e8b1d7a1892dec90a.zip
Rename swIcon.py to switch-icon.py
-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