diff --git a/config.py b/config.py index 374a988..4c514a7 100644 --- a/config.py +++ b/config.py @@ -24,7 +24,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -from libqtile.config import Key, Screen, Group, Drag, Click +from libqtile.config import Key, Screen, Group, Drag, Click, ScratchPad, DropDown from libqtile.command import lazy from libqtile import layout, bar, widget, extension, hook from os.path import expanduser @@ -119,6 +119,16 @@ for i, g in enumerate(groups): Key([MOD, "shift"], k, lazy.window.togroup(g.name), lazy.group[g.name].toscreen()), ]) +groups.append( + ScratchPad("scratchpad", [ + DropDown("music", "st mocp", x=0.25, y=0.25, height=0.5, width=0.5, opacity=0.8), + ]), +) + +keys.extend([ + Key([MOD], "m", lazy.group["scratchpad"].dropdown_toggle("music")), +]) + layouts = [ layout.Max(), layout.VerticalTile(), @@ -150,7 +160,7 @@ screens = [ [ widget.GroupBox(), widget.Prompt(), - widget.WindowName(), + # widget.WindowName(), widget.Clock(format='%A %d %B %Y %I:%M %p'), widget.Systray(), #widget.CurrentLayoutIcon(scale=0.5),