youtube-tui: ship

This commit is contained in:
2024-07-14 02:39:38 +00:00
parent ab200f8988
commit a8bcfaed53
3 changed files with 18 additions and 13 deletions

View File

@@ -321,6 +321,7 @@ in
"vulkan-tools" # vulkaninfo
# "whalebird" # pleroma client (Electron). input is broken on phosh.
"xdg-terminal-exec"
"youtube-tui"
"zathura" # PDF/CBZ/ePUB viewer
];

View File

@@ -173,6 +173,7 @@
./xdg-desktop-portal-wlr.nix
./xdg-terminal-exec.nix
./xdg-utils.nix
./youtube-tui.nix
./zathura.nix
./zeal.nix
./zecwallet-lite.nix

View File

@@ -24,43 +24,46 @@ log() {
configureKeyboardFor_application() {
log "configureKeyboardFor_application: $1"
case "$1" in
Alacritty.desktop)
(Alacritty.desktop)
setKeyboard show
;;
app.drey.Dialect.desktop)
(app.drey.Dialect.desktop)
setKeyboard showIfRoom
;;
com.github.hugolabe.Wike.desktop)
(com.github.hugolabe.Wike.desktop)
setKeyboard showIfRoom
;;
# io.github.lainsce.Notejot.desktop)
# (io.github.lainsce.Notejot.desktop)
# setKeyboard showIfRoom
# ;;
networkmanager_dmenu.desktop)
(networkmanager_dmenu.desktop)
setKeyboard showIfRoom
;;
org.gnome.Epiphany.desktop)
(org.gnome.Epiphany.desktop)
setKeyboard showIfRoom
;;
rofi.desktop)
(rofi.desktop)
setKeyboard showIfRoom
;;
rofi-applications.desktop)
(rofi-applications.desktop)
setKeyboard showIfRoom
;;
rofi-filebrowser.desktop)
(rofi-filebrowser.desktop)
setKeyboard showIfRoom
;;
rofi-snippets.desktop)
(rofi-snippets.desktop)
setKeyboard showIfRoom
;;
sane-screenshot.desktop)
(sane-screenshot.desktop)
# leave unchanged
;;
xdg-terminal-exec.desktop)
(xdg-terminal-exec.desktop)
setKeyboard show
;;
*)
(youtube-tui.desktop)
setKeyboard show
;;
(*)
setKeyboard hide
;;
esac