Remove Scratchpads

This commit is contained in:
stephan.raabe 2023-02-09 16:11:38 +01:00
parent efbc772f0e
commit 6272f1d0f7
2 changed files with 8 additions and 26 deletions

View File

@ -117,19 +117,6 @@ groups = [Group("1", layout='monadtall'),
dgroups_key_binder = simple_key_binder(mod) dgroups_key_binder = simple_key_binder(mod)
# SCRATCHPADS
# Append scratchpad with dropdowns to groups
groups.append(ScratchPad('scratchpad', [
DropDown('terminal', terminal, width=0.8, height=0.8, x=0.1, y=0.1, opacity=1.0),
# DropDown('notes', terminal, width=0.8, height=0.8, x=0.1,y=0.1, opacity=1.0)
]))
# extend keys list with keybinding for scratchpad
keys.extend([
Key(["control"], "1", lazy.group['scratchpad'].dropdown_toggle('terminal')),
# Key(["control"], "2", lazy.gtoup['scratchpad'].dropdown_toggle('notes'))
])
######################## ########################
# Define colors ######## # Define colors ########
######################## ########################
@ -199,27 +186,22 @@ screens = [
fontsize=14 fontsize=14
), ),
widget.Systray(), widget.Systray(),
widget.CPU( widget.TextBox(
fontsize=14 text='',
), desc='Notes',
widget.DF( mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e vim /home/raabe/notes.txt')},
visible_on_warn=False,
fontsize=14 fontsize=14
), ),
widget.TextBox( widget.TextBox(
text='', text='',
fontsize=14 fontsize=14
), ),
widget.TextBox( widget.CPU(
text='',
desc='Start Win10 and RDP',
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e htop')},
fontsize=14 fontsize=14
), ),
widget.TextBox( widget.DF(
text='', visible_on_warn=False,
desc='Notes', mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e htop')},
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e vim /home/raabe/notes.txt')},
fontsize=14 fontsize=14
), ),
widget.TextBox( widget.TextBox(