diff options
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/hddmnt | 6 | ||||
-rwxr-xr-x | .local/bin/hddumnt | 5 | ||||
-rwxr-xr-x | .local/bin/mainscreen | 2 | ||||
-rwxr-xr-x | .local/bin/ref-newsboat.pl | 2 |
4 files changed, 6 insertions, 9 deletions
diff --git a/.local/bin/hddmnt b/.local/bin/hddmnt index 2f545ca..b2ccf77 100755 --- a/.local/bin/hddmnt +++ b/.local/bin/hddmnt @@ -1,5 +1,5 @@ -#!/bin/sh +#!/usr/local/bin/dash geli attach -k /root/geli_keys/hdd_ext.key /dev/da0 && - mount /dev/da0.eli /media && - chown -R jozan:jozan /media + mkdir -p "$HOME"/hdd && + mount /dev/da0.eli "$HOME"/hdd diff --git a/.local/bin/hddumnt b/.local/bin/hddumnt index 0d0f6a0..decd6d2 100755 --- a/.local/bin/hddumnt +++ b/.local/bin/hddumnt @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/local/bin/dash umount /dev/da0.eli && - geli detach da0.eli + geli detach da0.eli && + rmdir "$HOME"/hdd diff --git a/.local/bin/mainscreen b/.local/bin/mainscreen index ea416d7..c621ba1 100755 --- a/.local/bin/mainscreen +++ b/.local/bin/mainscreen @@ -8,5 +8,3 @@ xrandr --output HDMI-2 --off xrandr --output HDMI-3 --off xrandr --output DP-2 --off xrandr --output DP-3 --off - -bspc monitor LVDS-1 -d 01 02 03 04 05 06 07 08 09 10 11 12 diff --git a/.local/bin/ref-newsboat.pl b/.local/bin/ref-newsboat.pl index 3d6467b..baebdeb 100755 --- a/.local/bin/ref-newsboat.pl +++ b/.local/bin/ref-newsboat.pl @@ -5,7 +5,6 @@ use warnings; use Capture::Tiny qw(capture); use constant { - TORIFY_PATH => '/usr/local/bin/torify', NEWSBOAT_PATH => '/usr/local/bin/newsboat', NOTIFY_SEND_PATH => '/usr/local/bin/notify-send' }; @@ -14,7 +13,6 @@ sub main { my $stdout; if (system( - TORIFY_PATH, NEWSBOAT_PATH, '-x', 'reload' |