more screenconfig

This commit is contained in:
Arne Schauf committed 2016-02-03 14:04:25 +01:00
1 parent 9d69429d1f
commit 6adb8a8540
1 file changed
+5 -2
+5 -2
View File
@@ -25,11 +25,10 @@
# SOFTWARE. # SOFTWARE.
import os import os
import subprocess
from libqtile.config import Key, Screen, Group, Drag, Click from libqtile.config import Key, Screen, Group, Drag, Click
from libqtile.command import lazy from libqtile.command import lazy
from libqtile import layout, bar, widget, hook from libqtile import layout, bar, widget
mod = "mod4" mod = "mod4"
@@ -38,6 +37,10 @@ home = os.path.expanduser('~')
keys = [ keys = [
Key( Key(
[mod, "control"], "1", [mod, "control"], "1",
lazy.spawn("sh -c " + home + "/.screenlayout/1screen.sh"),
),
Key(
[mod, "control"], "2",
lazy.spawn("sh -c " + home + "/.screenlayout/office.sh"), lazy.spawn("sh -c " + home + "/.screenlayout/office.sh"),
), ),