summaryrefslogtreecommitdiffstats
path: root/config/awesome/functions.lua
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-04-17 01:32:11 +0200
committerGravatar Tom Willemsen2011-04-17 01:32:11 +0200
commit033f4f162d3b25100d78e24a560eb0fd950be7ef (patch)
tree16a231beb1df39e8d8751b1ddafe41997c5f0716 /config/awesome/functions.lua
parent62a2f412be3009b04cdc540e1a0bffdf15c5bcb5 (diff)
downloaddotfiles-033f4f162d3b25100d78e24a560eb0fd950be7ef.tar.gz
dotfiles-033f4f162d3b25100d78e24a560eb0fd950be7ef.zip
AWESOME: removed configs
I haven't been using awesome for a while now and I don't think I will again.
Diffstat (limited to 'config/awesome/functions.lua')
-rw-r--r--config/awesome/functions.lua39
1 files changed, 0 insertions, 39 deletions
diff --git a/config/awesome/functions.lua b/config/awesome/functions.lua
deleted file mode 100644
index ee9594d..0000000
--- a/config/awesome/functions.lua
+++ /dev/null
@@ -1,39 +0,0 @@
--- Functions
-function switch_tag (i)
- local screen = mouse.screen
- if tags[screen][i] then
- awful.tag.viewonly(tags[screen][i])
- end
-end
-
-function toggle_tag (i)
- local screen = mouse.screen
- if tags[screen][i] then
- awful.tag.viewtoggle(tags[screen][i])
- end
-end
-
-function move_to_tag (i)
- if client.focus and tags[client.focus.screen][i] then
- awful.client.movetotag(tags[client.focus.screen][i])
- end
-end
-
-function toggle_client_tag (i)
- if client.focus and tags[client.focus.screen][i] then
- awful.client.toggletag(tags[client.focus.screen][i])
- end
-end
-
-function fexists (n)
- local f = io.open(n)
-
- if f == nil then
- return false
- end
-
- io.close(f)
- return true
-end
-
-module("functions")