lots of stuff
This commit is contained in:
@@ -343,7 +343,6 @@
|
||||
(setq browse-url-browser-function 'browse-url-generic)
|
||||
|
||||
(use-package! tramp
|
||||
:defer t
|
||||
:init
|
||||
;; TRAMP optimizations
|
||||
;; See: https://coredumped.dev/2025/06/18/making-tramp-go-brrrr
|
||||
@@ -369,3 +368,20 @@
|
||||
(with-eval-after-load 'compile
|
||||
(remove-hook 'compilation-mode-hook
|
||||
#'tramp-compile-disable-ssh-controlmaster-options)))
|
||||
|
||||
(use-package emms
|
||||
:after emms-player-mpd
|
||||
:config
|
||||
(require 'emms-setup)
|
||||
(require 'emms-player-mpd)
|
||||
(emms-all)
|
||||
(emms-default-players)
|
||||
|
||||
(setq emms-player-list '(emms-player-mpd)
|
||||
emms-player-mpd-server-name "127.0.0.1"
|
||||
emms-player-mpd-server-port "6660"
|
||||
emms-player-mpd-music-directory "~/music")
|
||||
|
||||
(add-to-list 'emms-info-functions 'emms-info-mpd)
|
||||
|
||||
(emms-player-mpd-connect))
|
||||
|
||||
@@ -5,7 +5,8 @@ log_file "~/.local/share/mpd/log"
|
||||
pid_file "~/.local/share/mpd/pid"
|
||||
state_file "~/.local/share/mpd/state"
|
||||
sticker_file "~/.local/share/mpd/sticker.sql"
|
||||
bind_to_address "~/.local/share/mpd/socket"
|
||||
port "6660"
|
||||
bind_to_address "127.0.0.1"
|
||||
|
||||
audio_output {
|
||||
type "pulse"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
mpd_music_dir = "~/music"
|
||||
|
||||
mpd_host = "/home/opal/.local/share/mpd/socket"
|
||||
mpd_port = "6600" # Ignored when using a socket
|
||||
mpd_host = "127.0.0.1"
|
||||
mpd_port = "6660"
|
||||
mpd_music_dir = "/home/opal/music"
|
||||
|
||||
ncmpcpp_directory = "~/.config/ncmpcpp"
|
||||
lyrics_directory = "~/.config/ncmpcpp/lyrics"
|
||||
|
||||
8
.config/systemd/user/backup.service
Normal file
8
.config/systemd/user/backup.service
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Backup to external drive
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/opal/.local/bin/backup.sh
|
||||
StandardOutput=append:/home/opal/.local/state/backup/backup.log
|
||||
StandardError=append:/home/opal/.local/state/backup/backup.log
|
||||
10
.config/systemd/user/backup.timer
Normal file
10
.config/systemd/user/backup.timer
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Daily backup to external drive
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
Persistent=true
|
||||
AccuracySec=5min
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user