new configs

This commit is contained in:
Never Gude 2026-07-11 01:35:28 +02:00
parent f3ab049a81
commit 4c81c0ca4a
10 changed files with 107 additions and 14 deletions

View file

@ -70,11 +70,11 @@ if status is-interactive
set fish_pager_color_selected_prefix black --bold --underline
set fish_pager_color_secondary_completion
if test $XDG_CURRENT_DESKTOP = "niri"
dconf write /org/gnome/desktop/wm/preferences/button-layout "'appmenu'"
else
dconf reset /org/gnome/desktop/wm/preferences/button-layout
end
# if test $XDG_CURRENT_DESKTOP = "niri"
# dconf write /org/gnome/desktop/wm/preferences/button-layout "'appmenu'"
# else
# dconf reset /org/gnome/desktop/wm/preferences/button-layout
# end
end

View file

@ -1,5 +1,5 @@
function menu --description 'Opens a menu of a list of Strings and writes the result to stdout'
argparse h/help p/prompt=? index -- $argv
argparse h/help p/prompt=? mesg=? placeholder=? index -- $argv
or return
if set -ql _flag_help
@ -17,6 +17,10 @@ function menu --description 'Opens a menu of a list of Strings and writes the re
set -a fuzzel_args "--placeholder=$_flag_placeholder"
end
if set -ql _flag_mesg
set -a fuzzel_args "--mesg=$_flag_mesg"
end
if set -ql _flag_index
set -a fuzzel_args "--index"
end