commit 62e15c239643be33de23cff015f4256ddd9ed9bb
parent ac56697e49a2e73061b3179485ba9581ced202cb
Author: Milutin Popovic <milutin@popovic.xyz>
Date: Mon, 16 Feb 2026 20:37:33 +0000
update
Diffstat:
7 files changed, 55 insertions(+), 19 deletions(-)
diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc
@@ -2,6 +2,7 @@
source "${XDG_CONFIG_HOME:-$HOME/.config}/X11/xprofile" &
+
while true; do
ssh-agent dwm > /dev/null 2>&1
done
diff --git a/.config/X11/xprofile b/.config/X11/xprofile
@@ -13,6 +13,7 @@ else
xrdb $XDG_CONFIG_HOME/X/Xresources &
fi
+background
monitor_recon &\
xset r rate 200 50 &\
xset mouse 1.8 0 &\
diff --git a/.config/git/config b/.config/git/config
@@ -3,3 +3,9 @@
name = Milutin Popovic
[init]
defaultBranch = main
+[credential "https://github.com"]
+ helper =
+ helper = !/usr/bin/gh auth git-credential
+[credential "https://gist.github.com"]
+ helper =
+ helper = !/usr/bin/gh auth git-credential
diff --git a/.config/shell/profile b/.config/shell/profile
@@ -65,9 +65,11 @@ export JAVA_HOME=/usr/lib/jvm/default
# Android dev:
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
-export ANDROID_HOME=$XDG_DATA_HOME/Android/SDK/
+export ANDROID_HOME=$XDG_DATA_HOME/Android/SDK
+export ANDROID_SDK_ROOT=$XDG_DATA_HOME/Android/SDK
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools
+export PATH=$PATH:$HOME/.maestro/bin/
# Other:
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch-config"
diff --git a/.config/transmission-daemon/settings.json b/.config/transmission-daemon/settings.json
@@ -37,14 +37,21 @@
"peer-port-random-on-start": true,
"peer-socket-tos": "le",
"pex-enabled": true,
+ "pidfile": "",
"port-forwarding-enabled": true,
"preallocation": 1,
+ "preferred_transports": [
+ "utp",
+ "tcp"
+ ],
"prefetch-enabled": true,
+ "proxy_url": null,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
- "ratio-limit": 2,
+ "ratio-limit": 2.0,
"ratio-limit-enabled": false,
"rename-partial-files": true,
+ "reqq": 2000,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
@@ -66,15 +73,22 @@
"script-torrent-done-seeding-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 10,
+ "sequential_download": false,
+ "sleep-per-seconds-during-verify": 100,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 0,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
+ "start_paused": false,
"tcp-enabled": true,
"torrent-added-verify-mode": "fast",
+ "torrent_complete_verify_enabled": false,
"trash-original-torrent-files": false,
"umask": "022",
"upload-slots-per-torrent": 14,
- "utp-enabled": true
-}
+ "utp-enabled": true,
+ "watch-dir": "",
+ "watch-dir-enabled": false,
+ "watch-dir-force-generic": false
+}
+\ No newline at end of file
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
@@ -53,3 +53,4 @@ export KEYTIMEOUT=1
if [[ -f ${XDG_CONFIG_HOME:-$HOME/.config}/shell/colors ]]; then
source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/colors"
fi
+export PATH=$PATH:$HOME/.maestro/bin
diff --git a/.local/bin/scripts/edid_mulmon b/.local/bin/scripts/edid_mulmon
@@ -1,21 +1,28 @@
#!/usr/bin/env python
-import re
import subprocess
M_R = "00ffffffffffff0009d1d5784554000034190103803c22782ea595a45852a0260d5054a56b80818081c08100a9c0b300d1c001010101023a801871382d40582c450056502100001e000000ff0053434630343130313031390a20000000fd00324c1e5310000a202020202020000000fc0042656e5120474c323736300a20016c020321c149901f05141304030201230907078301000067030c000000001ee2000f011d8018711c1620582c2500c48e2100009e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000075"
M_L = "00ffffffffffff0009d1d578455400000c180103803c22782ea595a45852a0260d5054a56b80818081c08100a9c0b300d1c001010101023a801871382d40582c450056502100001e000000ff0048334530343230333031390a20000000fd00324c1e5310000a202020202020000000fc0042656e5120474c323736300a2001ae020321c149901f05141304030201230907078301000067030c000000001ee2000f011d8018711c1620582c2500c48e2100009e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000075"
+
def get_port_edids():
ports = []
- edid_lines = subprocess.check_output("""xrandr --props | sed -n '/EDID:/,/:/p' | tr -d "[[:blank:]]" | sed -e 's/.*:.*//' | sed -e ':a;N;$!ba;s/\\n/ /g' | sed -e "s/ /\\n/g" | tr -d ' '""", shell=True, text=True)
- port_lines = subprocess.check_output("xrandr --props | grep ' connected ' | awk '{printf $1\"\\n\"}'" , shell=True, text=True)
-
+ edid_lines = subprocess.check_output(
+ """xrandr --props | sed -n '/EDID:/,/:/p' | tr -d "[[:blank:]]" | sed -e 's/.*:.*//' | sed -e ':a;N;$!ba;s/\\n/ /g' | sed -e "s/ /\\n/g" | tr -d ' '""",
+ shell=True,
+ text=True,
+ )
+ port_lines = subprocess.check_output(
+ "xrandr --props | grep ' connected ' | awk '{printf $1\"\\n\"}'",
+ shell=True,
+ text=True,
+ )
ports = []
- for edid, port in zip(edid_lines.split('\n')[:-1], port_lines.split('\n')):
+ for edid, port in zip(edid_lines.split("\n")[:-1], port_lines.split("\n")):
ports += [(port, edid)]
return ports
@@ -33,16 +40,19 @@ def main():
right_port = port[0]
if left_port is not None and right_port is not None:
- subprocess.run([
- 'xrandr',
- '--output',
- ports[0][0],
- '--off',
- '--output',
- right_port,
- '--right-of',
- left_port
- ], stdout=subprocess.PIPE)
+ subprocess.run(
+ [
+ "xrandr",
+ "--output",
+ ports[0][0],
+ "--off",
+ "--output",
+ right_port,
+ "--right-of",
+ left_port,
+ ],
+ stdout=subprocess.PIPE,
+ )
if __name__ == "__main__":