updates master
authorMart Lubbers <mart@martlubbers.net>
Tue, 23 Sep 2025 12:24:49 +0000 (14:24 +0200)
committerMart Lubbers <mart@martlubbers.net>
Tue, 23 Sep 2025 12:24:49 +0000 (14:24 +0200)
cal/.local/bin/import_ics.bash [new file with mode: 0755]
cal/.local/bin/unical.bash [deleted file]
email/.config/mutt/muttrc
shell/.local/bin/tmuxmail
shell/.local/bin/tmuxmailu [new file with mode: 0755]
x/.config/mimeapps.list
x/.local/bin/music_toggle
x/.xinitrc

diff --git a/cal/.local/bin/import_ics.bash b/cal/.local/bin/import_ics.bash
new file mode 100755 (executable)
index 0000000..5afd9ce
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/bash
+cat - | khal import --batch
+vdirsyncer sync calendar/mart
diff --git a/cal/.local/bin/unical.bash b/cal/.local/bin/unical.bash
deleted file mode 100755 (executable)
index a095cdd..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-URL='http://persoonlijkrooster.ru.nl/ical?5f3a4d37&group=false&deduplicate=true&eu=dTUzMTE1OA==&t=9c210088-e219-427c-bbcc-256fddc28c30'
-rm -f /home/mrl/.local/share/vdirsyncer/cal/uni/*
-curl -sSL "$URL" | khal import --batch -a uni -
-
-URL='https://wasteapi.ximmio.com/api/CallIcal?cn=Gemeente%20Almere&x=53d8db94-7945-42fd-9742-9bbc71dbe4c1&ty=null&ua=11219&sd=2020-12-21&ed=2024-01-09&path=https://wasteapi.ximmio.com&ln=nl&nt=1130'
-rm -f /home/mrl/.local/share/vdirsyncer/cal/vuilnis/*
-curl -sSL "$URL" | khal import --batch -a vuilnis -
index 55e66e4..7e86d3f 100644 (file)
@@ -98,7 +98,7 @@ set tilde
 set quote_regexp="^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
 
 # Address book
-set query_command= "khard email --parsable '%s'"
+set query_command= "khard email --parsable '%s' && notmuch-addrlookup --format=mutt '%s'"
 bind editor <Tab> complete-query
 bind editor ^T    complete
 macro index,pager A \
index 50d4ad0..88bf12f 100755 (executable)
@@ -2,7 +2,7 @@
 tmux -f ~/.config/tmux/config\
        new-session -s mail -d 'offlineimap -a net' \;\
        split-window -h 'offlineimap -a ru'         \;\
-       split-window -v 'update'                    \;\
+       split-window -v 'vdirsyncer sync'           \;\
        new-window 'mutt'                           \;\
        new-session -s work                         \;\
        attach-session -t mail                      \;\
diff --git a/shell/.local/bin/tmuxmailu b/shell/.local/bin/tmuxmailu
new file mode 100755 (executable)
index 0000000..50d4ad0
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+tmux -f ~/.config/tmux/config\
+       new-session -s mail -d 'offlineimap -a net' \;\
+       split-window -h 'offlineimap -a ru'         \;\
+       split-window -v 'update'                    \;\
+       new-window 'mutt'                           \;\
+       new-session -s work                         \;\
+       attach-session -t mail                      \;\
+       select-window -t:1
+exec tmux attach
index 1dc0d73..ef86802 100644 (file)
@@ -15,6 +15,7 @@ application/x-extension-xht=firefox-esr.desktop
 inode/directory=nemo.desktop
 application/x-gnome-saved-search=nemo.desktop
 text/x-arduino=arduino-arduinoide.desktop
+x-scheme-handler/discord-1352351827206733974=discord-1352351827206733974.desktop
 
 [Added Associations]
 application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;
index a6eeafd..e5a9f93 100755 (executable)
@@ -14,3 +14,8 @@ if dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org
 then
        dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
 fi
+
+if pidof -q strawberry
+then
+       strawberry --play-pause
+fi
index 77b1cd8..dd314a9 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-#To fix java applications in tiling (e.g. arduino)
+#To fix (some) java applications in tiling (e.g. arduino)
 export _JAVA_AWT_WM_NONREPARENTING=1
 
 # notifications
@@ -26,6 +26,8 @@ signal-desktop --use-tray-icon --start-in-tray &
 # discord......................
 discord --start-minimized &
 
+# blueman
+blueman-applet &
 
 # Other system wide xinit files
 if [ -f /etc/X11/xinit/xinitrc ]; then