From 770b3d057641f9d5ad239753f6dc10d9603bf6da Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Wed, 12 Aug 2020 19:33:48 +0200 Subject: [PATCH] submodules --- .gitmodules | 9 +++++++++ clean/.local/bin/install_clean.sh | 2 +- config.h/dwm/config.h | 3 ++- config.h/dwm/dwm | 1 + config.h/slstatus/slstatus | 1 + config.h/st/config.h | 15 ++++++++++++--- config.h/st/st | 1 + pgp/.gnupg/gpg-agent.conf | 1 - shell/.local/bin/backup.sh | 10 +++++++++- 9 files changed, 36 insertions(+), 7 deletions(-) create mode 160000 config.h/dwm/dwm create mode 160000 config.h/slstatus/slstatus create mode 160000 config.h/st/st diff --git a/.gitmodules b/.gitmodules index f552da1..5754dd2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -22,3 +22,12 @@ [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 diff --git a/clean/.local/bin/install_clean.sh b/clean/.local/bin/install_clean.sh index 544cb16..0de33a1 100755 --- a/clean/.local/bin/install_clean.sh +++ b/clean/.local/bin/install_clean.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -ex +set -e if [ $# -ne 1 ] then diff --git a/config.h/dwm/config.h b/config.h/dwm/config.h index 9d89d09..9469981 100644 --- a/config.h/dwm/config.h +++ b/config.h/dwm/config.h @@ -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 index 0000000..bb2e722 --- /dev/null +++ b/config.h/dwm/dwm @@ -0,0 +1 @@ +Subproject commit bb2e7222baeec7776930354d0e9f210cc2aaad5f diff --git a/config.h/slstatus/slstatus b/config.h/slstatus/slstatus new file mode 160000 index 0000000..b14e039 --- /dev/null +++ b/config.h/slstatus/slstatus @@ -0,0 +1 @@ +Subproject commit b14e039639ed28005fbb8bddeb5b5fa0c93475ac diff --git a/config.h/st/config.h b/config.h/st/config.h index a7ee4de..fb7ff97 100644 --- a/config.h/st/config.h +++ b/config.h/st/config.h @@ -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 index 0000000..fa253f0 --- /dev/null +++ b/config.h/st/st @@ -0,0 +1 @@ +Subproject commit fa253f077f19b3220c7655b81bd91e52f4367803 diff --git a/pgp/.gnupg/gpg-agent.conf b/pgp/.gnupg/gpg-agent.conf index 5a04fc4..bd4e2a0 100644 --- a/pgp/.gnupg/gpg-agent.conf +++ b/pgp/.gnupg/gpg-agent.conf @@ -1,4 +1,3 @@ -pinentry-program /usr/bin/pinentry-qt default-cache-ttl 3600 enable-ssh-support disable-scdaemon diff --git a/shell/.local/bin/backup.sh b/shell/.local/bin/backup.sh index e9d4903..f34bb11 100755 --- a/shell/.local/bin/backup.sh +++ b/shell/.local/bin/backup.sh @@ -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<