Add more icons to the bar

This commit is contained in:
stephan.raabe 2023-02-09 14:30:40 +01:00
parent 8a253f50e1
commit efbc772f0e
3 changed files with 23 additions and 9 deletions

View File

@ -35,6 +35,9 @@ alias confq='vim ~/dotfiles/qtile/config.py'
alias confp='vim ~/dotfiles/picom/picom.conf'
alias confb='vim ~/dotfiles/.bashrc'
# EDIT NOTES
alias notes='vim ~/notes.txt'
# START STARSHIP
eval "$(starship init bash)"

View File

@ -122,12 +122,12 @@ dgroups_key_binder = simple_key_binder(mod)
# 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('dmnotes', 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('dmnotes'))
# Key(["control"], "2", lazy.gtoup['scratchpad'].dropdown_toggle('notes'))
])
########################
@ -199,16 +199,27 @@ screens = [
fontsize=14
),
widget.Systray(),
widget.TextBox(
text='',
desc='Start Win10 and RDP',
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e vm')},
widget.CPU(
fontsize=14
),
widget.DF(
visible_on_warn=False,
fontsize=14
),
widget.TextBox(
text='',
desc='Destroy Win10',
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e vmstop')},
text='',
fontsize=14
),
widget.TextBox(
text='',
desc='Start Win10 and RDP',
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e htop')},
fontsize=14
),
widget.TextBox(
text='',
desc='Notes',
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e vim /home/raabe/notes.txt')},
fontsize=14
),
widget.TextBox(