From 63feeb9f369fc6176e85c1c2d8fcc863caad1946 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 10 Feb 2026 12:32:48 +0100 Subject: start new MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- .local/share/GIMP/plug-ins/watermark.py | 84 ---------------------- .local/share/applications/firefox.desktop | 19 ----- .local/share/lock/locked.d/light.sh | 3 - .local/share/lock/locked.d/music.sh | 2 - .local/share/lock/unlocked.d/light.sh | 2 - .local/share/lock/unlocked.d/sync.sh | 3 - .../cheats/robertgzr__cheats/balena/misc.cheat | 33 --------- .../navi/cheats/robertgzr__cheats/docker.cheat | 13 ---- .../cheats/robertgzr__cheats/gentoo/openrc.cheat | 17 ----- .../navi/cheats/robertgzr__cheats/gentoo/pkg.cheat | 10 --- .../share/navi/cheats/robertgzr__cheats/git.cheat | 9 --- .../share/navi/cheats/robertgzr__cheats/misc.cheat | 33 --------- .../share/navi/cheats/robertgzr__cheats/qemu.cheat | 28 -------- .local/share/s6/footserver/log/run | 3 - .local/share/s6/footserver/run | 2 - .local/share/s6/kanshi/log/run | 3 - .local/share/s6/kanshi/run | 2 - .local/share/s6/mako/log/run | 3 - .local/share/s6/mako/run | 2 - .local/share/s6/oguri/log/run | 3 - .local/share/s6/oguri/run | 3 - .local/share/s6/pipewire/log/run | 3 - .local/share/s6/pipewire/run | 2 - .local/share/s6/swayidle/log/run | 3 - .local/share/s6/swayidle/run | 7 -- .local/share/s6/waybar/log/run | 3 - .local/share/s6/waybar/run | 2 - .local/share/s6/wlsunset/log/run | 3 - .local/share/s6/wlsunset/run | 3 - 29 files changed, 303 deletions(-) delete mode 100755 .local/share/GIMP/plug-ins/watermark.py delete mode 100644 .local/share/applications/firefox.desktop delete mode 100755 .local/share/lock/locked.d/light.sh delete mode 100755 .local/share/lock/locked.d/music.sh delete mode 100755 .local/share/lock/unlocked.d/light.sh delete mode 100755 .local/share/lock/unlocked.d/sync.sh delete mode 100644 .local/share/navi/cheats/robertgzr__cheats/balena/misc.cheat delete mode 100644 .local/share/navi/cheats/robertgzr__cheats/docker.cheat delete mode 100644 .local/share/navi/cheats/robertgzr__cheats/gentoo/openrc.cheat delete mode 100644 .local/share/navi/cheats/robertgzr__cheats/gentoo/pkg.cheat delete mode 100644 .local/share/navi/cheats/robertgzr__cheats/git.cheat delete mode 100644 .local/share/navi/cheats/robertgzr__cheats/misc.cheat delete mode 100644 .local/share/navi/cheats/robertgzr__cheats/qemu.cheat delete mode 100755 .local/share/s6/footserver/log/run delete mode 100755 .local/share/s6/footserver/run delete mode 100755 .local/share/s6/kanshi/log/run delete mode 100755 .local/share/s6/kanshi/run delete mode 100755 .local/share/s6/mako/log/run delete mode 100755 .local/share/s6/mako/run delete mode 100755 .local/share/s6/oguri/log/run delete mode 100755 .local/share/s6/oguri/run delete mode 100755 .local/share/s6/pipewire/log/run delete mode 100755 .local/share/s6/pipewire/run delete mode 100755 .local/share/s6/swayidle/log/run delete mode 100755 .local/share/s6/swayidle/run delete mode 100755 .local/share/s6/waybar/log/run delete mode 100755 .local/share/s6/waybar/run delete mode 100755 .local/share/s6/wlsunset/log/run delete mode 100755 .local/share/s6/wlsunset/run (limited to '.local') diff --git a/.local/share/GIMP/plug-ins/watermark.py b/.local/share/GIMP/plug-ins/watermark.py deleted file mode 100755 index 0f9f1f9..0000000 --- a/.local/share/GIMP/plug-ins/watermark.py +++ /dev/null @@ -1,84 +0,0 @@ -#!/usr/bin/python - -from datetime import date -from gimpfu import * - -def watermarkfu(timg, tdrawable, - watermark, - anotherline="", - scalefactor_text=12.0, - scalefactor_boundry=2.3, - watermark_opacity=16.66): - - # make copy of input - img = pdb.gimp_image_duplicate(timg) - - # simplify source image - img.flatten() - - # expand text macro - anotherline = anotherline.replace("", - date.today().strftime("%Y-%m-%d")) - - # create text - text = pdb.gimp_text_layer_new(img, - "\n".join([watermark, anotherline]), - "Iosevka Ultra-Bold", - 68, UNIT_POINT) - - # add to image, justification doesn't work otherwise - img.add_layer(text, 0) - - # justify text - pdb.gimp_text_layer_set_justification(img.layers[0], TEXT_JUSTIFY_CENTER) - - # scale down text layer, maintaining ratio - pdb.gimp_layer_scale(img.layers[0], - ((float(text.width)/text.height)*(img.height/scalefactor_text)), - (img.height/scalefactor_text), - TRUE) - - # crate padding around text - pdb.gimp_layer_resize(img.layers[0], - (text.width*scalefactor_boundry), - (text.height*scalefactor_boundry), - (((text.width*scalefactor_boundry)-text.width)/2), - (((text.height*scalefactor_boundry)-text.height)/2), - ) - - pdb.plug_in_make_seamless(img, img.layers[0]) - pdb.plug_in_tile(img, img.layers[0], img.width, img.height, False) - - # move to 0,0 - (offx, offy) = pdb.gimp_drawable_offsets(img.layers[0]) - pdb.gimp_layer_translate(img.layers[0], (offx*-1), (offy*-1)) - - # tune mode + opacity - pdb.gimp_layer_set_opacity(img.layers[0], watermark_opacity) - pdb.gimp_layer_set_mode(img.layers[0], HARDLIGHT_MODE) - - # show to user - pdb.gimp_display_new(img) - - -register( - "python_fu_watermark", - "WatermarkFu", - "WatermarkFu", - "robertgzr", - "robertgzr", - "2023", - "/Filters/Render/WatermarkFu", - "RGB*, GRAY*", - [ - (PF_STRING, "watermark", "watermark text", ""), - (PF_STRING, "anotherline", "another line", ""), - (PF_FLOAT, "scalefactor_text", "scalefactor text", 12.0), - (PF_FLOAT, "scalefactor_boundry", "scalefactor boundry", 2.3), - (PF_FLOAT, "watermark_opacity", "watermark opacity", 16.66), - ], - [], - watermarkfu, -) - -main() diff --git a/.local/share/applications/firefox.desktop b/.local/share/applications/firefox.desktop deleted file mode 100644 index b24b1c6..0000000 --- a/.local/share/applications/firefox.desktop +++ /dev/null @@ -1,19 +0,0 @@ -[Desktop Entry] -Name=Firefox Nightly -Comment=Mozilla Firefox Web Browser -Exec=/home/robert/bin/firefox %u -Icon=firefox-nightly-bin -Terminal=false -Type=Application -MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https; -Categories=Network;WebBrowser; -Actions=NewWindow;NewPrivateWindow; - -[Desktop Action NewWindow] -Name=New Window -Exec=/home/robert/bin/firefox --new-window %u - -[Desktop Action NewPrivateWindow] -Name=New Private Window -Exec=/home/robert/bin/firefox --private-window %u -StartupNotify=true diff --git a/.local/share/lock/locked.d/light.sh b/.local/share/lock/locked.d/light.sh deleted file mode 100755 index 3c492b9..0000000 --- a/.local/share/lock/locked.d/light.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -light -O -light -S 1 diff --git a/.local/share/lock/locked.d/music.sh b/.local/share/lock/locked.d/music.sh deleted file mode 100755 index 4c647d5..0000000 --- a/.local/share/lock/locked.d/music.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -playerctl -s stop || true diff --git a/.local/share/lock/unlocked.d/light.sh b/.local/share/lock/unlocked.d/light.sh deleted file mode 100755 index a17c3ab..0000000 --- a/.local/share/lock/unlocked.d/light.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -light -I diff --git a/.local/share/lock/unlocked.d/sync.sh b/.local/share/lock/unlocked.d/sync.sh deleted file mode 100755 index 8ddcdf2..0000000 --- a/.local/share/lock/unlocked.d/sync.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -mailsync & -pimsync & diff --git a/.local/share/navi/cheats/robertgzr__cheats/balena/misc.cheat b/.local/share/navi/cheats/robertgzr__cheats/balena/misc.cheat deleted file mode 100644 index ac0e63d..0000000 --- a/.local/share/navi/cheats/robertgzr__cheats/balena/misc.cheat +++ /dev/null @@ -1,33 +0,0 @@ - -% balena, mount - -# remount rootfs writable -mount -o remount,rw / - -# remount rootfs readonly -mount -o remount,ro / - -% balena, journal - -# engine + container logs -journalctl -fu balena -a - -# engine logs only -journalctl -fu balena -t balenad - -# supervisor logs -journalctl -fu resin-supervisor - -# kernel logs -journalctl -fk - -# last boot logs (needs persistent-logging) -journalctl -b -1 -r - -% balena, edit systemd - -# edit engine (dev) -vi /etc/systemd/system/balena.service.d/balena.conf - -# edit engine -vi /etc/systemd/system/balena-engine.service diff --git a/.local/share/navi/cheats/robertgzr__cheats/docker.cheat b/.local/share/navi/cheats/robertgzr__cheats/docker.cheat deleted file mode 100644 index c89d141..0000000 --- a/.local/share/navi/cheats/robertgzr__cheats/docker.cheat +++ /dev/null @@ -1,13 +0,0 @@ - -% docker - -# List images, sorted by size -docker image ls --format '{{.Size}}\t{{.ID}}\t{{.Repository}}:{{.Tag}}' | sort -h - -# List images, sorted by creation time -docker image ls --format '{{.CreatedAt}}\t{{.ID}}\t{{.Repository}}:{{.Tag}}' | sort - -# List images, include architecture -docker image ls --format '{{.Size}}\t{{.ID}}\t{{.Repository}}:{{.Tag}}' \ - | awk '{"docker inspect "$2"| jq -r .[].Architecture"|getline arch; printf "%s\t%s\t%s\t%s\n", $1, $2, arch, $3}' \ - | sort -h diff --git a/.local/share/navi/cheats/robertgzr__cheats/gentoo/openrc.cheat b/.local/share/navi/cheats/robertgzr__cheats/gentoo/openrc.cheat deleted file mode 100644 index 627ff70..0000000 --- a/.local/share/navi/cheats/robertgzr__cheats/gentoo/openrc.cheat +++ /dev/null @@ -1,17 +0,0 @@ - -% openrc - -# OpenRC service start -doas rc-service start - -# OpenRC service restart -doas rc-service restart - -# OpenRC service stop -doas rc-service stop - -# OpenRC service status -doas rc-service status - -# OpenRC runlevel change -doas rc diff --git a/.local/share/navi/cheats/robertgzr__cheats/gentoo/pkg.cheat b/.local/share/navi/cheats/robertgzr__cheats/gentoo/pkg.cheat deleted file mode 100644 index 6bfe040..0000000 --- a/.local/share/navi/cheats/robertgzr__cheats/gentoo/pkg.cheat +++ /dev/null @@ -1,10 +0,0 @@ - -% gentoo, eix - -# list installed pkgs - -eix-installed -a - -# list installed unstable pkgs - -eix-installed -a | grep 9999 diff --git a/.local/share/navi/cheats/robertgzr__cheats/git.cheat b/.local/share/navi/cheats/robertgzr__cheats/git.cheat deleted file mode 100644 index 01bccce..0000000 --- a/.local/share/navi/cheats/robertgzr__cheats/git.cheat +++ /dev/null @@ -1,9 +0,0 @@ -% git - -# checkout branch -git checkout && git status - -$ branch: git branch -a --format='%(refname)' \ - | cut -d' ' -f1 \ - | sed -e 's#^refs/##' -e 's#^remotes/##' -e 's#^heads/##' \ - | sort diff --git a/.local/share/navi/cheats/robertgzr__cheats/misc.cheat b/.local/share/navi/cheats/robertgzr__cheats/misc.cheat deleted file mode 100644 index 253b155..0000000 --- a/.local/share/navi/cheats/robertgzr__cheats/misc.cheat +++ /dev/null @@ -1,33 +0,0 @@ - -% rsyncez - -rsyncez '' '' - -$ to: fd --one-file-system -p -t d -d 5 $HOME - - -% cat, EOF - -# cat <<-EOF - -cat <<-EOF > /dev/stdout -hello world -EOF - - -% ubnt, wifi - -# get wifi leases from ubnt router - -ssh ubnt -- ./run show dhcp leases 2>/dev/null - - -% ssh, tunnel - -# tunnel local port to remote machine - -ssh -nNTR : - -# tunnel remote port to local machine - -ssh -nNTL : diff --git a/.local/share/navi/cheats/robertgzr__cheats/qemu.cheat b/.local/share/navi/cheats/robertgzr__cheats/qemu.cheat deleted file mode 100644 index d92b88b..0000000 --- a/.local/share/navi/cheats/robertgzr__cheats/qemu.cheat +++ /dev/null @@ -1,28 +0,0 @@ - -% qemu, balena - -# boots a balenaOS vm - -qemu-system-x86_64 -name balena0 \ - -netdev "user,id=net0,hostfwd=tcp::22222-:22222" -device e1000,netdev=net0 \ - -bios /usr/share/edk2-ovmf/OVMF_CODE.fd \ - -m 4G -smp 4 \ - -cpu max \ - -machine type=pc,accel=kvm \ - -display none \ - -drive format=vvfat,file=fat:rw:/tmp/qemu,index=1 \ - -drive format=raw,cache=none,if=virtio,index=0,file=balena.img - - -% qemu, ubuntu - -# boots an ubuntu vm - -qemu-system-x86_64 -name ubuntu0 \ - -netdev "user,id=net0,hostfwd=tcp::2222-:22" -device e1000,netdev=net0 \ - -m 4G -smp 4 \ - -cpu max \ - -machine type=pc,accel=kvm \ - -display none \ - -drive format=vvfat,file=fat:rw:/tmp/qemu,index=1 \ - -drive format=qcow2,cache=none,index=0,file=/home/robert/ubuntu.qcow2 diff --git a/.local/share/s6/footserver/log/run b/.local/share/s6/footserver/log/run deleted file mode 100755 index bfbe9d7..0000000 --- a/.local/share/s6/footserver/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -foreground { mkdir -p /var/log/s6/footserver } -/bin/s6-log -b s1 T /var/log/s6/footserver diff --git a/.local/share/s6/footserver/run b/.local/share/s6/footserver/run deleted file mode 100755 index 1e61041..0000000 --- a/.local/share/s6/footserver/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec nice --adjustment=2 foot -s 2>&1 diff --git a/.local/share/s6/kanshi/log/run b/.local/share/s6/kanshi/log/run deleted file mode 100755 index 2213d7b..0000000 --- a/.local/share/s6/kanshi/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -foreground { mkdir -p /var/log/s6/kanshi } -/bin/s6-log -b s1 T /var/log/s6/kanshi diff --git a/.local/share/s6/kanshi/run b/.local/share/s6/kanshi/run deleted file mode 100755 index 4c2b85f..0000000 --- a/.local/share/s6/kanshi/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/execlineb -P -kanshi diff --git a/.local/share/s6/mako/log/run b/.local/share/s6/mako/log/run deleted file mode 100755 index a36b2b4..0000000 --- a/.local/share/s6/mako/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -foreground { mkdir -p /var/log/s6/mako } -/bin/s6-log -b s1 T /var/log/s6/mako diff --git a/.local/share/s6/mako/run b/.local/share/s6/mako/run deleted file mode 100755 index 22177d3..0000000 --- a/.local/share/s6/mako/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /usr/bin/mako 2>&1 diff --git a/.local/share/s6/oguri/log/run b/.local/share/s6/oguri/log/run deleted file mode 100755 index 97be5a9..0000000 --- a/.local/share/s6/oguri/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -foreground { mkdir -p /var/log/s6/oguri } -/bin/s6-log -b s1 T /var/log/s6/oguri diff --git a/.local/share/s6/oguri/run b/.local/share/s6/oguri/run deleted file mode 100755 index 28c68de..0000000 --- a/.local/share/s6/oguri/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -(sleep 1 && oguri-cycle) & -exec oguri 2>&1 diff --git a/.local/share/s6/pipewire/log/run b/.local/share/s6/pipewire/log/run deleted file mode 100755 index fd06779..0000000 --- a/.local/share/s6/pipewire/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -foreground { mkdir -p /var/log/s6/pipewire } -/bin/s6-log -b s1 T /var/log/s6/pipewire diff --git a/.local/share/s6/pipewire/run b/.local/share/s6/pipewire/run deleted file mode 100755 index 2ca516a..0000000 --- a/.local/share/s6/pipewire/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /usr/bin/gentoo-pipewire-launcher 2>&1 diff --git a/.local/share/s6/swayidle/log/run b/.local/share/s6/swayidle/log/run deleted file mode 100755 index 3b21bc0..0000000 --- a/.local/share/s6/swayidle/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -foreground { mkdir -p /var/log/s6/swayidle } -/bin/s6-log -b s1 T /var/log/s6/swayidle diff --git a/.local/share/s6/swayidle/run b/.local/share/s6/swayidle/run deleted file mode 100755 index 6a8a6a2..0000000 --- a/.local/share/s6/swayidle/run +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -exec swayidle -w -S seat0 \ - timeout 540 'lock' \ - timeout 800 'swaymsg output \* dpms off' \ - resume 'swaymsg output \* dpms on' \ - before-sleep 'lock' \ - lock 'lock' 2>&1 diff --git a/.local/share/s6/waybar/log/run b/.local/share/s6/waybar/log/run deleted file mode 100755 index c022752..0000000 --- a/.local/share/s6/waybar/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -foreground { mkdir -p /var/log/s6/waybar } -/bin/s6-log -b s1 T /var/log/s6/waybar diff --git a/.local/share/s6/waybar/run b/.local/share/s6/waybar/run deleted file mode 100755 index e91eba1..0000000 --- a/.local/share/s6/waybar/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec waybar 2>&1 diff --git a/.local/share/s6/wlsunset/log/run b/.local/share/s6/wlsunset/log/run deleted file mode 100755 index bf6bd01..0000000 --- a/.local/share/s6/wlsunset/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -foreground { mkdir -p /var/log/s6/wlsunset } -/bin/s6-log -b s1 T /var/log/s6/wlsunset diff --git a/.local/share/s6/wlsunset/run b/.local/share/s6/wlsunset/run deleted file mode 100755 index a6d65b0..0000000 --- a/.local/share/s6/wlsunset/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -set -x -exec wlsunset -l $HOME_LAT -L $HOME_LON -H $HOME/bin/darkmode 2>&1 -- cgit 1.4.1