flavours: Call bemenu selection from wrapper function
If we call the listing and applying function directly we either select a random colorscheme on *no* selection or we have to make use of either xargs GNU functionality or something like moreutils ifne to only select color schemes on selection. Can additionally set a random theme (if selection is 'random') or a random light theme (if selection is 'light').
This commit is contained in:
parent
c31e441003
commit
46cdb519ea
2 changed files with 27 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ riverctl map normal $mod+Shift T spawn "bemenu-translate"
|
|||
|
||||
# Desktop theming
|
||||
# shellcheck disable=SC2016
|
||||
riverctl map normal $mod+Shift S spawn 'flavours list -l | bemenu | xargs flavours apply'
|
||||
riverctl map normal $mod+Shift S spawn 'flavourchoose'
|
||||
|
||||
# Password dropdown frontend
|
||||
riverctl map normal $mod+Shift P spawn "pass-pick"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue