Pārlūkot izejas kodu

Remaps shuffle to ctrl-s

Caleb Fangmeier 6 gadi atpakaļ
vecāks
revīzija
4841ef4575
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      README.md
  2. 1 1
      tuijam

+ 1 - 1
README.md

@@ -35,7 +35,7 @@ the config file.
   - `ctrl-p` toggle play/pause
   - `ctrl-n` move to next song
   - `ctrl-r` view recently played songs
-  - `ctrl-v` shuffle queued songs
+  - `ctrl-s` shuffle queued songs (Note: If this hangs, try running `stty -ixon` in your terminal and restarting `tuijam`)
   - `>` seek forward 10 seconds
   - `<` seek backwards 10 seconds
   - `+` volume up

+ 1 - 1
tuijam

@@ -518,7 +518,7 @@ class App(urwid.Pile):
             self.queue_panel.play_next()
         elif key == 'ctrl r':
             self.search_panel.update_search_results(self.history, [], [])
-        elif key == 'ctrl v':
+        elif key == 'ctrl s':
             self.queue_panel.shuffle()
         elif key in '-_':
             self.volume_down()