submodules
authorMart Lubbers <mart@martlubbers.net>
Wed, 12 Aug 2020 17:33:48 +0000 (19:33 +0200)
committerMart Lubbers <mart@martlubbers.net>
Wed, 12 Aug 2020 17:33:48 +0000 (19:33 +0200)
.gitmodules
clean/.local/bin/install_clean.sh
config.h/dwm/config.h
config.h/dwm/dwm [new submodule]
config.h/slstatus/slstatus [new submodule]
config.h/st/config.h
config.h/st/st [new submodule]
pgp/.gnupg/gpg-agent.conf
shell/.local/bin/backup.sh

index f552da1..5754dd2 100644 (file)
 [submodule "vim/.vim/pack/plugins/start/vimtex"]
        path = vim/.vim/pack/plugins/start/vimtex
        url = https://github.com/lervag/vimtex.git
+[submodule "config.h/dwm/dwm"]
+       path = config.h/dwm/dwm
+       url = https://git.suckless.org/dwm
+[submodule "config.h/st/st"]
+       path = config.h/st/st
+       url = https://git.suckless.org/st
+[submodule "config.h/slstatus/slstatus"]
+       path = config.h/slstatus/slstatus
+       url = https://git.suckless.org/slstatus
index 544cb16..0de33a1 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-set -ex
+set -e
 
 if [ $# -ne 1 ]
 then
index 9d89d09..9469981 100644 (file)
@@ -71,7 +71,8 @@ static const char *brightdown[] = { "xbacklight", "-dec", "5", NULL };
 static const char *volume_mute[] = {"pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL};
 static const char *volume_dec[] = {"pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL};
 static const char *volume_inc[] = {"pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL};
-static const char *toggle_music[] = {"quodlibet", "--play-pause", NULL};
+//static const char *toggle_music[] = {"quodlibet", "--play-pause", NULL};
+static const char *toggle_music[] = {"cmus-remote", "--pause", NULL};
 
 static Key keys[] = {
        /* modifier                     key        function        argument */
diff --git a/config.h/dwm/dwm b/config.h/dwm/dwm
new file mode 160000 (submodule)
index 0000000..bb2e722
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit bb2e7222baeec7776930354d0e9f210cc2aaad5f
diff --git a/config.h/slstatus/slstatus b/config.h/slstatus/slstatus
new file mode 160000 (submodule)
index 0000000..b14e039
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit b14e039639ed28005fbb8bddeb5b5fa0c93475ac
index a7ee4de..fb7ff97 100644 (file)
@@ -43,9 +43,18 @@ static unsigned int tripleclicktimeout = 600;
 /* alt screens */
 int allowaltscreen = 1;
 
-/* frames per second st should at maximum draw to the screen */
-static unsigned int xfps = 120;
-static unsigned int actionfps = 30;
+/* allow certain non-interactive (insecure) window operations such as:
+   setting the clipboard text */
+int allowwindowops = 0;
+
+/*
+ * draw latency range in ms - from new content/keypress/etc until drawing.
+ * within this range, st draws when content stops arriving (idle). mostly it's
+ * near minlatency, but it waits longer for slow updates to avoid partial draw.
+ * low minlatency will tear/flicker more, as it can "detect" idle too early.
+ */
+static double minlatency = 8;
+static double maxlatency = 33;
 
 /*
  * blinking timeout (set to 0 to disable blinking) for the terminal blinking
diff --git a/config.h/st/st b/config.h/st/st
new file mode 160000 (submodule)
index 0000000..fa253f0
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit fa253f077f19b3220c7655b81bd91e52f4367803
index 5a04fc4..bd4e2a0 100644 (file)
@@ -1,4 +1,3 @@
-pinentry-program /usr/bin/pinentry-qt
 default-cache-ttl 3600
 enable-ssh-support
 disable-scdaemon
index e9d4903..f34bb11 100755 (executable)
@@ -22,7 +22,15 @@ elif mount -U "$1"
 then
        mkdir -p /mnt/backupdrive/home/mrl /mnt/backupdrive/mnt/data &&\
        rsync --delete --bwlimit=20M --exclude 'minidlna/*' --exclude 'transmission/ipt/*' -va /mnt/data/ /mnt/backupdrive/mnt/data > /home/mrl/backup.log &&\
-       rsync --delete --bwlimit=20M --exclude '.local/share' --exclude '.cache' --exclude 'VirtualBox VMs' -va /home/mrl/ /mnt/backupdrive/home/mrl >> /home/mrl/backup.log &&\
+       rsync --delete --bwlimit=20M \
+               --exclude '.local' \
+               --exclude '.zotero' \
+               --exclude '.config' \
+               --exclude '.cache' \
+               --exclude '.mozilla' \
+               --exclude '.java' \
+               --exclude 'VirtualBox VMs' \
+               -va /home/mrl/ /mnt/backupdrive/home/mrl >> /home/mrl/backup.log &&\
        umount /mnt/backupdrive &&\
        cat<<MAIL | su -c 'ssh helheim /usr/lib/sendmail backups@martlubbers.net' mrl
 To: mart@martlubbers.net