more screenconfig

master
Arne Schauf 9 years ago
parent 9d69429d1f
commit 6adb8a8540
  1. 7
      qtile_config.py

@ -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"),
), ),

Loading…
Cancel
Save