[pb] better player layout + solaar rules
parent
663f6a9555
commit
6b583f961e
.config
polybar
solaar
|
@ -68,7 +68,7 @@ modules-right = ${variables.bottom_right}
|
||||||
|
|
||||||
[module/player-mpris]
|
[module/player-mpris]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = python ~/.config/polybar/scripts/player-mpris.py -f '🎝 {artist} - {title} %{A1:python ~/.config/polybar/scripts/player-mpris.py previous:} ⏮ %{A} %{A1:python ~/.config/polybar/scripts/player-mpris.py play-pause:} {icon-reversed} %{A} %{A1:python ~/.config/polybar/scripts/player-mpris.py next:} ⏭ %{A}'
|
exec = python -u ~/.config/polybar/scripts/player-mpris.py status
|
||||||
tail = true
|
tail = true
|
||||||
|
|
||||||
[module/xwindow]
|
[module/xwindow]
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
%YAML 1.3
|
||||||
|
---
|
||||||
|
- Rule:
|
||||||
|
- MouseGesture: Mouse Up
|
||||||
|
- Execute: [/home/.config/i3/scripts/organize.sh, web]
|
||||||
|
- Rule:
|
||||||
|
- MouseGesture: Mouse Down
|
||||||
|
- Execute: [/home/.config/i3/scripts/organize.sh, code]
|
||||||
|
- Rule:
|
||||||
|
- MouseGesture: Mouse Up-left
|
||||||
|
- Execute: [/home/.config/i3/scripts/organize.sh, termweb]
|
||||||
|
- Rule:
|
||||||
|
- MouseGesture: Mouse Down-left
|
||||||
|
- Execute: [/home/.config/i3/scripts/organize.sh, termcode]
|
||||||
|
...
|
||||||
|
---
|
||||||
|
- Rule:
|
||||||
|
- And:
|
||||||
|
- Key: [Mouse Gesture Button, released]
|
||||||
|
- MouseGesture: []
|
||||||
|
- KeyPress:
|
||||||
|
- XF86_AudioPlay
|
||||||
|
- click
|
||||||
|
- Rule:
|
||||||
|
- MouseGesture: Mouse Right
|
||||||
|
- KeyPress:
|
||||||
|
- XF86_AudioNext
|
||||||
|
- click
|
||||||
|
- Rule:
|
||||||
|
- MouseGesture: Mouse Left
|
||||||
|
- KeyPress:
|
||||||
|
- XF86_AudioPrev
|
||||||
|
- click
|
||||||
|
...
|
||||||
|
---
|
||||||
|
- Rule:
|
||||||
|
- Test: [thumb_wheel_up, 5]
|
||||||
|
- KeyPress:
|
||||||
|
- XF86_AudioRaiseVolume
|
||||||
|
- click
|
||||||
|
- Rule:
|
||||||
|
- Test: [thumb_wheel_down, 5]
|
||||||
|
- KeyPress:
|
||||||
|
- XF86_AudioLowerVolume
|
||||||
|
- click
|
||||||
|
...
|
Loading…
Reference in New Issue