Include clipboard management in waybar
This commit is contained in:
parent
e932a1dd40
commit
7a77ab8abb
2 changed files with 15 additions and 1 deletions
|
|
@ -20,6 +20,7 @@
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"clock",
|
"clock",
|
||||||
|
"custom/cliphist",
|
||||||
"custom/dnd",
|
"custom/dnd",
|
||||||
"privacy",
|
"privacy",
|
||||||
"idle_inhibitor",
|
"idle_inhibitor",
|
||||||
|
|
@ -230,5 +231,13 @@
|
||||||
"format": "⏻",
|
"format": "⏻",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"on-click": "$HOME/.config/sway/power-menu"
|
"on-click": "$HOME/.config/sway/power-menu"
|
||||||
|
},
|
||||||
|
"custom/cliphist": {
|
||||||
|
"format": " {text}",
|
||||||
|
"interval": 30,
|
||||||
|
"exec": "cliphist list | wc -l",
|
||||||
|
"on-click": "cliphist list | wofi -S dmenu | cliphist decode | wl-copy",
|
||||||
|
"on-click-middle": "cliphist list | wofi -S dmenu | cliphist delete",
|
||||||
|
"on-click-right": "cliphist wipe"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,8 @@ button:hover {
|
||||||
#scratchpad,
|
#scratchpad,
|
||||||
#custom-power,
|
#custom-power,
|
||||||
#language,
|
#language,
|
||||||
#custom-dnd
|
#custom-dnd,
|
||||||
|
#custom-cliphist
|
||||||
{
|
{
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
background-color: @base03;
|
background-color: @base03;
|
||||||
|
|
@ -185,6 +186,10 @@ label:focus {
|
||||||
border-bottom: 3px solid @cyan;
|
border-bottom: 3px solid @cyan;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#custom-cliphist {
|
||||||
|
border-bottom: 3px solid @magenta;
|
||||||
|
}
|
||||||
|
|
||||||
#memory {
|
#memory {
|
||||||
border-bottom: 3px solid @magenta;
|
border-bottom: 3px solid @magenta;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue