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]
|
[Appearance]
|
||||||
color_scheme_path=/usr/share/qt6ct/colors/dusk.conf
|
custom_palette=true
|
||||||
custom_palette=false
|
|
||||||
icon_theme=breeze
|
|
||||||
standard_dialogs=xdgdesktopportal
|
|
||||||
style=Fusion
|
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]
|
[Fonts]
|
||||||
fixed="Adwaita Mono,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular"
|
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"
|
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]
|
[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)
|
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]
|
[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)
|
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
|
while true
|
||||||
if test $state = "title"
|
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] = "."
|
if test $song[3] = "."
|
||||||
set state ""
|
set state ""
|
||||||
mpc find album $song[2] | mpc insert
|
mpc find album $song[2] | mpc add
|
||||||
mpc next
|
|
||||||
else if test $song[3] = ".."
|
else if test $song[3] = ".."
|
||||||
set state "album"
|
set state "album"
|
||||||
else
|
else
|
||||||
|
|
@ -68,12 +67,11 @@ function select_song
|
||||||
end
|
end
|
||||||
|
|
||||||
else if test $state = "album"
|
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] = "."
|
if test $song[2] = "."
|
||||||
set state ""
|
set state ""
|
||||||
mpc find albumartist $song[1] | mpc insert
|
mpc find albumartist $song[1] | mpc add
|
||||||
mpc next
|
|
||||||
else if test $song[2] = ".."
|
else if test $song[2] = ".."
|
||||||
set state "artist"
|
set state "artist"
|
||||||
else
|
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