aboutsummaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/screenshot.sh11
-rwxr-xr-x.local/bin/tmuxinator-menu.sh5
-rwxr-xr-x.local/bin/ttl.sh11
-rwxr-xr-x.local/bin/update-mirrorlist.sh9
-rwxr-xr-x.local/bin/wallpaper.sh4
-rwxr-xr-x.local/bin/webcam.sh1
6 files changed, 0 insertions, 41 deletions
diff --git a/.local/bin/screenshot.sh b/.local/bin/screenshot.sh
deleted file mode 100755
index 66d9c5c..0000000
--- a/.local/bin/screenshot.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-# Screenshot via ImageMagick
-# Passes all args down to import command
-
-SCREENSHOTS_DIR=$HOME/Pictures/Screenshots
-FILENAME=$SCREENSHOTS_DIR/$(date +%F_%H-%M-%S).png
-
-echo "$@"
-
-mkdir -p $SCREENSHOTS_DIR
-import $@ $FILENAME && xclip -selection clipboard -target image/png -i < $FILENAME
diff --git a/.local/bin/tmuxinator-menu.sh b/.local/bin/tmuxinator-menu.sh
deleted file mode 100755
index 4dfcc14..0000000
--- a/.local/bin/tmuxinator-menu.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-PROJECTS_DIR=~/.config/tmuxinator
-
-ls $PROJECTS_DIR | sed 's/\.yml//g' | dmenu -l 10 | xargs tmuxinator start
diff --git a/.local/bin/ttl.sh b/.local/bin/ttl.sh
deleted file mode 100755
index 20c13e5..0000000
--- a/.local/bin/ttl.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-# Fix default TTL and disable ipv6 making changes permanent
-# TODO: replace wlo1 with automatically detected device name
-
-sudo sysctl \
- net.ipv4.ip_default_ttl=65 \
- net.ipv6.conf.all.disable_ipv6=1\
- net.ipv6.conf.default.disable_ipv6=1 \
- net.ipv6.conf.wlo1.disable_ipv6=1 \
- | sudo tee /etc/sysctl.d/fix-ttl.conf -a
-
diff --git a/.local/bin/update-mirrorlist.sh b/.local/bin/update-mirrorlist.sh
deleted file mode 100755
index 958c194..0000000
--- a/.local/bin/update-mirrorlist.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-# Update mirrorlist
-
-export TMPFILE=$(mktemp)
-
-sudo true # Force password prompt in the beginning
-rate-arch-mirrors --max-delay=21600 --entry-country=BY | tee -a $TMPFILE
-sudo mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist-backup
-sudo mv $TMPFILE /etc/pacman.d/mirrorlist
diff --git a/.local/bin/wallpaper.sh b/.local/bin/wallpaper.sh
deleted file mode 100755
index 4d52bdb..0000000
--- a/.local/bin/wallpaper.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-# Launch SXIV in wallpapers dir, C-x-w to set wallpaper
-
-sxiv -t ~/Pictures/Wallpapers
diff --git a/.local/bin/webcam.sh b/.local/bin/webcam.sh
deleted file mode 100755
index 3a0cbff..0000000
--- a/.local/bin/webcam.sh
+++ /dev/null
@@ -1 +0,0 @@
-mpv av://v4l2:/dev/video0 --profile=low-latency --untimed -vf "hflip"