This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from libqtile.manager import Key, Screen, Group | |
from libqtile.command import lazy | |
from libqtile import layout, bar, widget, hook | |
import subprocess | |
import shlex | |
alt = 'mod1' | |
windowskey = 'mod4' | |
active_colour = '9bff8b' | |
inactive_colour = '6db462' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from libqtile.command import Client | |
c = Client() | |
def cb(user_input): | |
c.spawn('firefox "http://ddg.gg/?q=%s"' % user_input) | |
c.widget['prompt1'].startInput('ddg: ', cb) |
