ctucx.git: nixfiles

ctucx' nixfiles

commit 75ddcb86746d95c80dd553c8644b561ddc13fed4
parent 79aa2b6d751397b07b165551b6a5d061100948d3
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 15 Jun 2022 18:13:57 +0200

darwin/appSettings: configure IINA.app
1 file changed, 26 insertions(+), 0 deletions(-)
M
configurations/darwin/appSettings.nix
|
26
++++++++++++++++++++++++++
diff --git a/configurations/darwin/appSettings.nix b/configurations/darwin/appSettings.nix
@@ -38,6 +38,32 @@
     # set refresh-intervall to 10 sec
     defaults write com.xs-labs.Hot refreshInterval -int 10
 
+
+
+    #
+    # IINA.app
+    #
+
+    #disable "music-mode"
+    defaults write com.colliderli.iina autoSwitchToMusicMode -bool false
+
+    #show file picker on start
+    defaults write com.colliderli.iina actionAfterLaunch -int 1
+
+    #close window on end of file
+    defaults write com.colliderli.iina keepOpenOnFileEnd -bool false
+
+    #don't continue on last playback position
+    defaults write com.colliderli.iina resumeLastPosition -bool false
+
+    #set osd-layout to "bottom"
+    defaults write com.colliderli.iina oscPosition -int 2
+
+    # quit app when all windows closed
+    defaults write com.colliderli.iina quitWhenNoOpenedWindow -bool true
+
+    # set path to youtube-dl provided via nix
+    defaults write com.colliderli.iina ytdlSearchPath -string '/etc/profiles/per-user/leah/bin/youtube-dl'
   '';
 
 }