diff --git a/.bashrc b/.bashrc index 231e302..120597c 100644 --- a/.bashrc +++ b/.bashrc @@ -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)" diff --git a/qtile/__pycache__/config.cpython-310.pyc b/qtile/__pycache__/config.cpython-310.pyc index 810545c..8fd2586 100644 Binary files a/qtile/__pycache__/config.cpython-310.pyc and b/qtile/__pycache__/config.cpython-310.pyc differ diff --git a/qtile/config.py b/qtile/config.py index b53b71a..d3f6135 100644 --- a/qtile/config.py +++ b/qtile/config.py @@ -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(