qtile: small fixes

This commit is contained in:
Aleksey Samoilov 2025-06-22 01:38:13 +04:00
parent 7437e13c96
commit b2247e06e7

View file

@ -1,6 +1,6 @@
# The primary config for Qtile on TileOS # The primary config for Qtile on TileOS
from libqtile import bar, hook, layout from libqtile import bar, hook, layout, widget
from libqtile.config import Group, Key, Match, Screen from libqtile.config import Group, Key, Match, Screen
from libqtile.lazy import lazy from libqtile.lazy import lazy
# Make sure 'qtile-extras' is installed or this config will not work. # Make sure 'qtile-extras' is installed or this config will not work.
@ -188,9 +188,7 @@ screens = [
border_width = [0, 0, 2, 0], border_width = [0, 0, 2, 0],
) )
], ],
mouse_callbacks={"Button1": lazy.spawn("/usr/share/tileos/scripts/clipboard.sh --list"), mouse_callbacks={"Button1": lazy.spawn("nwg-clipman")
"Button2": lazy.spawn("rm -f ~/.cache/cliphist/db"),
"Button3": lazy.spawn("/usr/share/tileos/scripts/clipboard.sh --del")
}, },
), ),
widget.Spacer(length = 8), widget.Spacer(length = 8),