tweaks to music selection
This commit is contained in:
parent
12d745da92
commit
c5eef44306
3 changed files with 25 additions and 33 deletions
|
|
@ -1,35 +1,33 @@
|
|||
[Appearance]
|
||||
color_scheme_path=/usr/share/qt6ct/colors/dusk.conf
|
||||
custom_palette=false
|
||||
icon_theme=breeze
|
||||
standard_dialogs=xdgdesktopportal
|
||||
custom_palette=true
|
||||
style=Fusion
|
||||
standard_dialogs=xdgdesktopportal
|
||||
|
||||
[Troubleshooting]
|
||||
force_raster_widgets=1
|
||||
ignored_applications=@Invalid()
|
||||
|
||||
[Interface]
|
||||
menus_have_icons=true
|
||||
double_click_interval=400
|
||||
buttonbox_layout=3
|
||||
wheel_scroll_lines=3
|
||||
cursor_flash_time=1000
|
||||
underline_shortcut=1
|
||||
show_shortcuts_in_context_menus=true
|
||||
dialog_buttons_have_icons=1
|
||||
gui_effects=@Invalid()
|
||||
stylesheets=@Invalid()
|
||||
activate_item_on_single_click=1
|
||||
toolbutton_style=4
|
||||
keyboard_scheme=4
|
||||
|
||||
[Fonts]
|
||||
fixed="Adwaita Mono,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular"
|
||||
general="Adwaita Sans,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular"
|
||||
|
||||
[Interface]
|
||||
activate_item_on_single_click=1
|
||||
buttonbox_layout=3
|
||||
cursor_flash_time=1000
|
||||
dialog_buttons_have_icons=1
|
||||
double_click_interval=400
|
||||
gui_effects=@Invalid()
|
||||
keyboard_scheme=4
|
||||
menus_have_icons=true
|
||||
show_shortcuts_in_context_menus=true
|
||||
stylesheets=@Invalid()
|
||||
toolbutton_style=4
|
||||
underline_shortcut=1
|
||||
wheel_scroll_lines=3
|
||||
|
||||
[QSSEditor]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1@\0\0\x5\xa1\0\0\x3\xc2\0\0\a\x93\0\0\x1@\0\0\x5\xa1\0\0\x3\xc2\0\0\a\x93\0\0\0\0\0\0\0\0\a\x80\0\0\x1@\0\0\x5\xa1\0\0\x3\xc2\0\0\a\x93)
|
||||
|
||||
[SettingsWindow]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1@\0\0\x5\xa1\0\0\x4\x99\0\0\t\xb9\0\0\x1@\0\0\x5\xa1\0\0\x4\x99\0\0\t\xb9\0\0\0\0\0\0\0\0\x6\xc9\0\0\x1@\0\0\x5\xa1\0\0\x4\x99\0\0\t\xb9)
|
||||
|
||||
[Troubleshooting]
|
||||
force_raster_widgets=1
|
||||
ignored_applications=@Invalid()
|
||||
|
|
|
|||
|
|
@ -52,12 +52,11 @@ function select_song
|
|||
|
||||
while true
|
||||
if test $state = "title"
|
||||
set song[3] (echo -e "\t.\n\t..\n $(mpc search --format "%track%\t%title%" album $song[2])" | fuzzel --dmenu --with-nth 2 --accept-nth 2 || exit)
|
||||
set song[3] (echo -e ".\n..\n$(mpc search --format "%track%\t%title%" album $song[2])" | fuzzel --dmenu --accept-nth 2 || exit)
|
||||
|
||||
if test $song[3] = "."
|
||||
set state ""
|
||||
mpc find album $song[2] | mpc insert
|
||||
mpc next
|
||||
mpc find album $song[2] | mpc add
|
||||
else if test $song[3] = ".."
|
||||
set state "album"
|
||||
else
|
||||
|
|
@ -68,12 +67,11 @@ function select_song
|
|||
end
|
||||
|
||||
else if test $state = "album"
|
||||
set song[2] (echo -e ".\n..\n$(mpc list album albumartist $song[1])" | fuzzel --dmenu || exit)
|
||||
set song[2] (echo -e ".\n..\n$(mpc search --format "%date%\t%album%" albumartist $song[1] | uniq | sort)" | fuzzel --dmenu --accept-nth 2 || exit)
|
||||
|
||||
if test $song[2] = "."
|
||||
set state ""
|
||||
mpc find albumartist $song[1] | mpc insert
|
||||
mpc next
|
||||
mpc find albumartist $song[1] | mpc add
|
||||
else if test $song[2] = ".."
|
||||
set state "artist"
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd `dirname $0`
|
||||
env -i DISPLAY="$DISPLAY" HOME="$HOME" PATH="$PATH" USER="$USER" SWT_GTK3=0 UBUNTU_MENUPROXY= ./anylogic/anylogic
|
||||
Loading…
Add table
Add a link
Reference in a new issue