mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-04-28 13:48:53 +08:00
79 lines
1.8 KiB
C++
79 lines
1.8 KiB
C++
|
|
// confirmation popup to add the whole playlist to the queue
|
|
confirm_bulk_add = true
|
|
confirm_on_exit = true
|
|
queue_loop = false
|
|
load_prev_queue = true
|
|
popup_timeout = "5s"
|
|
// change this to directory that contains mp3 files
|
|
music_dir = "~/Music"
|
|
// url history of downloaded audio will be saved here
|
|
history_path = "~/.local/share/gomu/urls"
|
|
// some of the terminal supports unicode character
|
|
// you can set this to true to enable emojis
|
|
use_emoji = true
|
|
// initial volume when gomu starts up
|
|
volume = 80
|
|
// if you experiencing error using this invidious instance, you can change it
|
|
// to another instance from this list:
|
|
// https://github.com/iv-org/documentation/blob/master/Invidious-Instances.md
|
|
invidious_instance = "https://vid.puffyan.us"
|
|
|
|
// default emoji here is using awesome-terminal-fonts
|
|
// you can change these to your liking
|
|
emoji_playlist = ""
|
|
emoji_file = ""
|
|
emoji_loop = "ﯩ"
|
|
emoji_noloop = ""
|
|
|
|
// not all colors can be reproducible in terminal
|
|
// changing hex colors may or may not produce expected result
|
|
color_accent = "#008B8B"
|
|
color_background = "none"
|
|
color_foreground = "#FFFFFF"
|
|
color_now_playing_title = "#017702"
|
|
color_playlist = "#008B8B"
|
|
color_popup = "#0A0F14"
|
|
|
|
|
|
|
|
module keybinds {
|
|
|
|
module global {
|
|
|
|
b = func () {
|
|
out, err = shell(`echo "bruhh"`)
|
|
if err != nil {
|
|
debug_popup("an error occurred")
|
|
return
|
|
}
|
|
debug_popup(out)
|
|
}
|
|
|
|
u = func() {
|
|
command_search()
|
|
}
|
|
|
|
v = func() {
|
|
result = input_popup("text")
|
|
debug_popup(result)
|
|
}
|
|
}
|
|
|
|
|
|
module playlist {
|
|
c = func() {
|
|
val = 10 + 10
|
|
debug_popup(val)
|
|
}
|
|
}
|
|
|
|
module queue {
|
|
o = func() {
|
|
debug_popup("in queue")
|
|
}
|
|
}
|
|
}
|
|
|
|
// vim: syntax=cpp
|