summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsophie <sophies@disroot.org>2026-08-31 06:19:16 +0200
committersophie <sophies@disroot.org>2026-08-31 06:19:16 +0200
commit9394afb2caa4ef163a71109e75ece16e3501abcb (patch)
tree2092c000bba2a1ad39096d5fbaa0b95be45789a0
parentbb6992863c0fa9d2bb9a7865845f194ac2b062b8 (diff)
uh yea stuff sure
-rw-r--r--dwm/src/dwm/config.h2
-rw-r--r--fish/.config/fish/conf.d/rustup.fish1
-rw-r--r--fish/.config/fish/fish_variables2
-rw-r--r--fish/.config/fish/functions/update-vesktop.fish34
-rw-r--r--mpd/.config/mpd/mpd.conf10
-rw-r--r--mpdrpc/.config/discord-rpc/config.toml7
-rw-r--r--mpdscribble/.config/mpdscribble/mpdscribble.conf4
-rw-r--r--ncmpcpp/.config/ncmpcpp/config8
-rw-r--r--ncmpcpp/.config/ncmpcpp/error.log (renamed from profanity/.config/profanity/profrc)0
-rw-r--r--ncmpcpp/.config/ncmpcpp/keys26
-rw-r--r--sysd/.config/systemd/user/mpd-discord-rpc.service13
-rw-r--r--xinitrc/.xinitrc2
12 files changed, 107 insertions, 2 deletions
diff --git a/dwm/src/dwm/config.h b/dwm/src/dwm/config.h
index c998e44..b48b5b8 100644
--- a/dwm/src/dwm/config.h
+++ b/dwm/src/dwm/config.h
@@ -67,7 +67,7 @@ static const Key keys[] = {
{ MODKEY, XK_c, spawn, SHCMD("alacritty -e hx") },
{ MODKEY, XK_w, spawn, SHCMD("vivaldi") },
{ MODKEY, XK_e, spawn, SHCMD("thunar") },
- { MODKEY, XK_s, spawn, SHCMD("flatpak run dev.vencord.Vesktop") },
+ { MODKEY, XK_s, spawn, SHCMD("vesktop") },
{ MODKEY, XK_x, spawn, SHCMD("loginctl lock-session") },
{ MODKEY, XK_m, spawn, SHCMD("alacritty -e ncmpcpp") },
{ 0, XK_Print, spawn, SHCMD("screenshot") },
diff --git a/fish/.config/fish/conf.d/rustup.fish b/fish/.config/fish/conf.d/rustup.fish
new file mode 100644
index 0000000..e4cb363
--- /dev/null
+++ b/fish/.config/fish/conf.d/rustup.fish
@@ -0,0 +1 @@
+source "$HOME/.cargo/env.fish"
diff --git a/fish/.config/fish/fish_variables b/fish/.config/fish/fish_variables
index 96a2ffc..34c0fcf 100644
--- a/fish/.config/fish/fish_variables
+++ b/fish/.config/fish/fish_variables
@@ -29,4 +29,4 @@ SETUVAR fish_pager_color_description:yellow\x1e\x2di
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
-SETUVAR fish_user_paths:/usr/sbin\x1e/sbin
+SETUVAR --export fish_user_paths:/home/sophie/\x2ecargo/bin\x1e/usr/sbin\x1e/sbin
diff --git a/fish/.config/fish/functions/update-vesktop.fish b/fish/.config/fish/functions/update-vesktop.fish
new file mode 100644
index 0000000..49133b3
--- /dev/null
+++ b/fish/.config/fish/functions/update-vesktop.fish
@@ -0,0 +1,34 @@
+function update-vesktop --description "Download and install latest Vesktop .deb if outdated"
+ set -l latest_tag (curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep '"tag_name"' | cut -d'"' -f4)
+ set -l current (dpkg -s vesktop 2>/dev/null | grep '^Version' | cut -d' ' -f2)
+
+ if test "v$current" = "$latest_tag"
+ echo "Vesktop already up to date ($current)"
+ return 0
+ end
+
+ set -l download_url (curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*amd64\.deb\"" | cut -d '"' -f4)
+
+ if test -z "$download_url"
+ echo "Could not find download URL."
+ return 1
+ end
+
+ echo "Updating Vesktop: $current -> $latest_tag"
+ set -l tmpfile /tmp/vesktop.deb
+ curl -L -o $tmpfile $download_url
+ or begin
+ echo "Download failed."
+ return 1
+ end
+
+ file $tmpfile | grep -q "Debian binary package"
+ or begin
+ echo "Downloaded file doesn't look like a valid .deb, aborting."
+ cat $tmpfile
+ return 1
+ end
+
+ sudo apt install -y $tmpfile
+ rm $tmpfile
+end
diff --git a/mpd/.config/mpd/mpd.conf b/mpd/.config/mpd/mpd.conf
new file mode 100644
index 0000000..edd1f7f
--- /dev/null
+++ b/mpd/.config/mpd/mpd.conf
@@ -0,0 +1,10 @@
+music_directory "~/Music"
+state_file "~/.local/share/mpd/state"
+state_file_interval "1"
+replaygain "track"
+
+audio_output {
+ type "pulse"
+ name "pulse audio"
+ mixer_type "software"
+}
diff --git a/mpdrpc/.config/discord-rpc/config.toml b/mpdrpc/.config/discord-rpc/config.toml
new file mode 100644
index 0000000..51b93c8
--- /dev/null
+++ b/mpdrpc/.config/discord-rpc/config.toml
@@ -0,0 +1,7 @@
+id = 677226551607033903
+hosts = ["localhost:6600"]
+
+[format]
+details = "$title"
+state = "On $album by $artist"
+small_image = ""
diff --git a/mpdscribble/.config/mpdscribble/mpdscribble.conf b/mpdscribble/.config/mpdscribble/mpdscribble.conf
new file mode 100644
index 0000000..996413b
--- /dev/null
+++ b/mpdscribble/.config/mpdscribble/mpdscribble.conf
@@ -0,0 +1,4 @@
+[libre-fm]
+url = http://turtle.libre.fm/
+username = sophii.xyz
+password_file = /home/sophie/.libre-fm-password
diff --git a/ncmpcpp/.config/ncmpcpp/config b/ncmpcpp/.config/ncmpcpp/config
new file mode 100644
index 0000000..8e35b43
--- /dev/null
+++ b/ncmpcpp/.config/ncmpcpp/config
@@ -0,0 +1,8 @@
+mpd_music_dir = ~/Music
+mouse_support = yes
+progressbar_look = =>
+autocenter_mode = yes
+centered_cursor = yes
+song_list_format = "{%a - }{%l - }{%n. }{%t}$R{%y}"
+song_status_format = "{%a - }{%l - }{%b kbps} {%y}"
+song_window_title_format = "{%t}|{%f} - {%a}"
diff --git a/profanity/.config/profanity/profrc b/ncmpcpp/.config/ncmpcpp/error.log
index e69de29..e69de29 100644
--- a/profanity/.config/profanity/profrc
+++ b/ncmpcpp/.config/ncmpcpp/error.log
diff --git a/ncmpcpp/.config/ncmpcpp/keys b/ncmpcpp/.config/ncmpcpp/keys
new file mode 100644
index 0000000..d39a088
--- /dev/null
+++ b/ncmpcpp/.config/ncmpcpp/keys
@@ -0,0 +1,26 @@
+def_key "d"
+ delete_playlist_items
+
+def_key "e"
+ scroll_down
+
+def_key "i"
+ scroll_up
+
+def_key "n"
+ previous_screen
+
+def_key "o"
+ next_screen
+
+def_key "ctrl-n"
+ next_found_item
+
+def_key "ctrl-e"
+ add_item_to_playlist
+
+def_key "ctrl-o"
+ toggle_random
+
+def_key "`"
+ jump_to_playing_song
diff --git a/sysd/.config/systemd/user/mpd-discord-rpc.service b/sysd/.config/systemd/user/mpd-discord-rpc.service
new file mode 100644
index 0000000..6b67837
--- /dev/null
+++ b/sysd/.config/systemd/user/mpd-discord-rpc.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=MPD Discord RPC
+After=mpd.service
+Requires=mpd.service
+
+[Service]
+Type=simple
+Restart=on-failure
+RestartSec=5
+ExecStart=%h/.cargo/bin/mpd-discord-rpc
+
+[Install]
+WantedBy=default.target
diff --git a/xinitrc/.xinitrc b/xinitrc/.xinitrc
new file mode 100644
index 0000000..64e61cc
--- /dev/null
+++ b/xinitrc/.xinitrc
@@ -0,0 +1,2 @@
+exec dbus-launch --exit-with-session dwm
+/home/sophie/.local/bin/dwm-autostart.sh &