summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-10-12 09:15:35 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-10-12 09:15:35 +0200
commit02fc2262e60ff84d531f8b9a5a71f104e34ed8b6 (patch)
treece4e9d05802d7df359d730c3bf8ef3c172372acb /.config
parented4da65f2ddbc31b24c6047f46e4c574ff5b3681 (diff)
downloaddotfiles-02fc2262e60ff84d531f8b9a5a71f104e34ed8b6.tar.gz
dotfiles-02fc2262e60ff84d531f8b9a5a71f104e34ed8b6.tar.bz2
dotfiles-02fc2262e60ff84d531f8b9a5a71f104e34ed8b6.zip
awesome: got back to non-systemd user session usage
That scheme is broken in terms of processes that are part of systemd --user wont be part of the active x11 session. so no access to network,suspend,audio,..
Diffstat (limited to '.config')
-rw-r--r--.config/awesome/awesome.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/.config/awesome/awesome.lua b/.config/awesome/awesome.lua
index f2e3a1a..3d9de1d 100644
--- a/.config/awesome/awesome.lua
+++ b/.config/awesome/awesome.lua
@@ -19,12 +19,12 @@ beautiful.init(os.getenv("HOME") .. "/.local/share/awesome/themes/zenburn/theme.
local cmd = require("cmds")
-function spawn_once(unit, cmd)
- awful.util.spawn("systemd-run --user --scope --unit " .. unit .. " -- " .. cmd, false)
-end
+--function spawn_once(unit, cmd)
+-- awful.util.spawn("systemd-run --user --scope --unit " .. unit .. " -- " .. cmd, false)
+--end
---local runonce = require("runonce")
---local spawn_once = function(unit, cmd) runonce.run(cmd) end
+local runonce = require("runonce")
+local spawn_once = function(unit, cmd) runonce.run(cmd) end
spawn_once("urxvtd", cmd.urxvtd)
spawn_once("pulseaudio", "start-pulseaudio-x11")
@@ -43,9 +43,9 @@ local spawn_from_awesome = awful.util.spawn
-- spawn_from_awesome("launch " .. s, false)
--end
-awful.util.spawn = function(cmd, n)
- spawn_from_awesome("systemd-run --user --scope -- " .. cmd, n)
-end
+--awful.util.spawn = function(cmd, n)
+-- spawn_from_awesome("systemd-run --user --scope -- " .. cmd, n)
+--end
awful.util.spawn("xsetroot -cursor_name left_ptr", false)
-- Default modkey.