mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-08 11:41:14 +00:00
spotify-player dotfile, snuck in stress application for s-tui stress testing
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
kanshiConfigPath = ./. + "/dotfiles/kanshi/${config.networking.hostName}";
|
||||
spotifyPlayerAppTomlTextTemplate = builtins.readFile ./dotfiles/spotify-player/app.toml;
|
||||
spotifyPlayerAppTomlText = builtins.replaceStrings [ "{{hostname}}" ] [ config.networking.hostName ] spotifyPlayerAppTomlTextTemplate;
|
||||
waybarConfigPath = ./. + "/dotfiles/waybar/${config.networking.hostName}";
|
||||
in
|
||||
{
|
||||
@@ -33,6 +35,7 @@ in
|
||||
};
|
||||
|
||||
home.file.".config/kanshi/config".source = kanshiConfigPath + "/config";
|
||||
home.file.".config/spotify-player/app.toml".text = spotifyPlayerAppTomlText;
|
||||
home.file.".config/waybar/config".source = waybarConfigPath + "/config";
|
||||
home.file.".config/wlogout/layout".source = ./dotfiles/wlogout/layout;
|
||||
};
|
||||
|
||||
49
users/caperren/dotfiles/spotify-player/app.toml
Normal file
49
users/caperren/dotfiles/spotify-player/app.toml
Normal file
@@ -0,0 +1,49 @@
|
||||
theme = "dracula"
|
||||
client_id = "65b708073fc0480ea92a077233ca87bd"
|
||||
client_port = 8080
|
||||
login_redirect_uri = "http://127.0.0.1:8989/login"
|
||||
playback_format = """
|
||||
{status} {track} • {artists}
|
||||
{album}
|
||||
{metadata}"""
|
||||
notify_timeout_in_secs = 0
|
||||
tracks_playback_limit = 1000
|
||||
app_refresh_duration_in_ms = 32
|
||||
playback_refresh_duration_in_ms = 0
|
||||
page_size_in_rows = 20
|
||||
play_icon = "▶"
|
||||
pause_icon = "▌▌"
|
||||
liked_icon = "♥"
|
||||
border_type = "Plain"
|
||||
progress_bar_type = "Rectangle"
|
||||
cover_img_length = 9
|
||||
cover_img_width = 5
|
||||
cover_img_scale = 1.0
|
||||
enable_media_control = true
|
||||
enable_streaming = "Always"
|
||||
enable_notify = true
|
||||
enable_cover_image_cache = true
|
||||
default_device = "{{hostname}}"
|
||||
notify_streaming_only = false
|
||||
seek_duration_secs = 5
|
||||
|
||||
[notify_format]
|
||||
summary = "{track} • {artists}"
|
||||
body = "{album}"
|
||||
|
||||
[layout]
|
||||
playback_window_position = "Top"
|
||||
playback_window_height = 6
|
||||
|
||||
[layout.library]
|
||||
playlist_percent = 40
|
||||
album_percent = 40
|
||||
|
||||
[device]
|
||||
name = "{{hostname}}"
|
||||
device_type = "speaker"
|
||||
volume = 100
|
||||
bitrate = 320
|
||||
audio_cache = false
|
||||
normalization = false
|
||||
autoplay = false
|
||||
Reference in New Issue
Block a user