diff options
-rw-r--r-- | .config/khal/config | 20 | ||||
-rw-r--r-- | .config/packages-community.txt | 2 | ||||
-rw-r--r-- | .config/systemd/user/gpg-refresh.service | 6 | ||||
-rw-r--r-- | .config/systemd/user/gpg-refresh.timer | 10 | ||||
-rw-r--r-- | .ssh/config | 2 | ||||
-rw-r--r-- | .vdirsyncer/config | 2 | ||||
-rw-r--r-- | .xprofile | 5 | ||||
-rw-r--r-- | .xserverrc | 2 | ||||
-rwxr-xr-x | bin/backlight | 13 | ||||
-rwxr-xr-x | bin/xorg_autolock | 25 |
10 files changed, 42 insertions, 45 deletions
diff --git a/.config/khal/config b/.config/khal/config index 3e6026c..d808a0f 100644 --- a/.config/khal/config +++ b/.config/khal/config @@ -4,37 +4,41 @@ [[local]] path = ~/.calendars/local readonly = True -color = light red +color = 'light red' # cloud.sleepmap.de [[birthdays]] path = ~/.calendars/contact_birthdays readonly = True -color = white +color = 'white' [[concerts]] path = ~/.calendars/concerts -color = brown +color = 'brown' [[flat]] path = ~/.calendars/flat -color = light blue +color = 'light blue' [[live]] path = ~/.calendars/live -color = light magenta +color = 'light magenta' [[private]] path = ~/.calendars/private -color = dark cyan +color = 'dark cyan' [[work]] path = ~/.calendars/work -color = dark magenta +color = 'dark magenta' [[t4]] path = ~/.calendars/bus_shared_by_t4 -color = dark cyan +color = 'dark cyan' + +[[nanni]] +path = ~/.calendars/personal_shared_by_nanni +color = 'light magenta' [sqlite] path = ~/.config/khal/khal.db diff --git a/.config/packages-community.txt b/.config/packages-community.txt index 0667244..edba02d 100644 --- a/.config/packages-community.txt +++ b/.config/packages-community.txt @@ -42,6 +42,7 @@ dssi dssi-vst ecasound elyxer +eq10q eteroj.lv2 fabla faust @@ -112,6 +113,7 @@ nomacs non-daw non-sequencer ntk +osc2midi padthv1 patchage patchmatrix diff --git a/.config/systemd/user/gpg-refresh.service b/.config/systemd/user/gpg-refresh.service new file mode 100644 index 0000000..3b7ff65 --- /dev/null +++ b/.config/systemd/user/gpg-refresh.service @@ -0,0 +1,6 @@ +[Unit] +Description=GnuPG cryptographic key refresh +Documentation=man:gpg(1) + +[Service] +ExecStart=/usr/bin/gpg --refresh-keys diff --git a/.config/systemd/user/gpg-refresh.timer b/.config/systemd/user/gpg-refresh.timer new file mode 100644 index 0000000..44c3e68 --- /dev/null +++ b/.config/systemd/user/gpg-refresh.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Timer for GnuPG cryptographic key refresh + +[Timer] +OnCalendar=daily +AccuracySec=1h +Persistent=true + +[Install] +WantedBy=timers.target diff --git a/.ssh/config b/.ssh/config index 8978c42..1c86677 100644 --- a/.ssh/config +++ b/.ssh/config @@ -45,7 +45,7 @@ Host apu-access User dave ServerAliveInterval 120 Compression yes - IdentityFile ~/.ssh/id_rsa + IdentityFile ~/.ssh/id_ed25519 IdentitiesOnly yes ControlMaster auto ControlPath ~/.ssh/socket-%r@%h:%p diff --git a/.vdirsyncer/config b/.vdirsyncer/config index ebd9acc..39926ab 100644 --- a/.vdirsyncer/config +++ b/.vdirsyncer/config @@ -23,7 +23,7 @@ password.fetch = ["command", "~/bin/pass2vdirsyncer", "dave", "cloud.sleepmap.de [pair dave_calendar] a = "dave_calendar_local" b = "dave_calendar_remote" -collections = ["concerts", "contact_birthdays", "live", "flat", "private", "work", "bus_shared_by_t4"] +collections = ["concerts", "contact_birthdays", "live", "flat", "private", "work", "bus_shared_by_t4", "personal_shared_by_nanni"] [storage dave_calendar_local] type = "filesystem" @@ -21,11 +21,6 @@ if [ -x "$HOME/bin/setup_screens" ]; then "$HOME/bin/setup_screens" & fi -# lock X automatically after inactivity -if [ -x "$HOME/bin/xorg_autolock" ]; then - "$HOME/bin/xorg_autolock" & -fi - # lock X before going to sleep if [ -x "/usr/bin/xss-lock" ]; then /usr/bin/xss-lock xorg_lock & @@ -1,2 +1,2 @@ #!/bin/sh -exec /usr/bin/Xorg -nolisten tcp -keeptty "$@" vt$XDG_VTNR +exec /usr/bin/Xorg -nolisten tcp -keeptty "$@" vt$XDG_VTNR > ~/.log/xorg.log 2>&1 diff --git a/bin/backlight b/bin/backlight index ac8a466..be0dadf 100755 --- a/bin/backlight +++ b/bin/backlight @@ -1,5 +1,9 @@ #!/usr/bin/env bash -# set backlight through sysfs +# +# Sets backlight through /sys/class/backlight/intel_backlight/brightness +# Note: This requires the file to be user-writable! +# Changes can be applied either by (positive or negative) relative increment +# [-i] or as an absolute value [-s] (in percentage). set -euo pipefail @@ -70,8 +74,8 @@ set_brightness() { } print_help() { - echo -e "Usage:\n $0 -d <decrement_by_x_percent> \n or $0 -i <increment_by_x_percent>" - exit 1 + echo -e "Usage: $0 [-i <increment_in_percent>] [-s <brightness_in_percent>]" + exit 0 } if [ ${#@} -gt 0 ]; then @@ -93,7 +97,8 @@ if [ ${#@} -gt 0 ]; then esac done else - print_help + echo "$current_brightness_percentage" + exit 0 fi set_brightness diff --git a/bin/xorg_autolock b/bin/xorg_autolock deleted file mode 100755 index 181548e..0000000 --- a/bin/xorg_autolock +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -lock=${XDG_RUNTIME_DIR}/xorg_autolock.lock -lock_block=${XDG_RUNTIME_DIR}/xorg_autolock_block -lock_cmd="$HOME/bin/xorg_lock" -lockafter=600000 - -rm -f "${lock}" "${lock_block}" - -while true; do - if [ ! -f "${lock}" ] && [ ! -f "${lock_block}" ];then - if [ -x "/usr/bin/xssstate" ]; then - if [ "$(xssstate -i)" -ge $lockafter ] && [ -x "$lock_cmd" ]; then - $lock_cmd - fi - else - echo "xssstate is note installed!" - exit 1 - fi - fi - - sleep 1 -done |