new menus
This commit is contained in:
parent
93dc9e6ea5
commit
fac4425ace
7 changed files with 41 additions and 15 deletions
Binary file not shown.
11
.config/fish/functions/menu.fish
Normal file
11
.config/fish/functions/menu.fish
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
function menu --description 'Opens a menu of a list of Strings and writes the result to stdout'
|
||||
argparse h/help -- $argv
|
||||
or return
|
||||
|
||||
if set -ql _flag_help
|
||||
echo "menu [-h|--help] [STRING ...]"
|
||||
return 0
|
||||
end
|
||||
|
||||
string join -- \n $argv | fuzzel --dmenu -l (count $argv) || exit 0
|
||||
end
|
||||
|
|
@ -376,7 +376,8 @@ binds {
|
|||
Mod+M hotkey-overlay-title="Search mpd Library: fuzzel" { spawn-sh "musicmenu.fish"; }
|
||||
Mod+Shift+M hotkey-overlay-title="Browse mpd Playlist: fuzzel" { spawn-sh "playlistmenu.fish"; }
|
||||
|
||||
Mod+P hotkey-overlay-title="Browse mpd Playlist: fuzzel" { spawn-sh "powermenu.fish"; }
|
||||
Mod+P hotkey-overlay-title="Show the Power menu: fuzzel" { spawn-sh "powermenu.fish"; }
|
||||
Mod+A hotkey-overlay-title="Show the Action menu: fuzzel" { spawn-sh "actionmenu.fish"; }
|
||||
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
|
||||
// Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.
|
||||
// For example, this is a standard bind to toggle the screen reader (orca).
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ settings:
|
|||
global: '#d5c4a1'
|
||||
colors.prompts.selected.bg:
|
||||
global: '#504945'
|
||||
colors.prompts.selected.fg:
|
||||
global: white
|
||||
colors.statusbar.private.fg:
|
||||
global: '#d3869b'
|
||||
colors.statusbar.progress.bg:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue