dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 9aa4aee5b7a121c0af42de4bf730e8f23e8166f8
parent 056f2d6ddfdab3b9345bd8dd7b65430defa8f0e2
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 24 Nov 2023 21:58:31 +0000

switch to env bash

Diffstat:
Mbin/bin/bgchange | 2+-
Mbin/bin/bombs | 2+-
Mbin/bin/colorscheme | 2+-
Mbin/bin/ghosts | 2+-
Mbin/bin/newstuir | 2+-
Mbin/bin/pipesx | 2+-
Mbin/bin/powerdl | 2+-
Abin/bin/shellz | 50++++++++++++++++++++++++++++++++++++++++++++++++++
Mbin/bin/skull | 2+-
Mbin/bin/skulls | 2+-
Mbin/bin/skully | 2+-
Mbin/bin/skullz | 2+-
Mbin/bin/todo | 2+-
Abin/bin/wacom | 6++++++
Mcmus/bin/ara | 2+-
15 files changed, 69 insertions(+), 13 deletions(-)

diff --git a/bin/bin/bgchange b/bin/bin/bgchange @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus colours=("202f2c" "362124" "363145") diff --git a/bin/bin/bombs b/bin/bin/bombs @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # ANSI color scheme script by pfh # modified by pyratebeard diff --git a/bin/bin/colorscheme b/bin/bin/colorscheme @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # This file echoes a bunch of color codes to the # terminal to demonstrate what's available. Each diff --git a/bin/bin/ghosts b/bin/bin/ghosts @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # ANSI color scheme script by pfh # diff --git a/bin/bin/newstuir b/bin/bin/newstuir @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source ~/src/warez/social_media/tuir/bin/activate screen=TERM tuir $1 diff --git a/bin/bin/pipesx b/bin/bin/pipesx @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Animated pipes.sh terminal screensaver at an angle. # Copyright (C) 2013, 2014 by Yu-Jie Lin # diff --git a/bin/bin/powerdl b/bin/bin/powerdl @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash mixcloud_url="https://www.mixcloud.com/Gentlemanofmetal/" mixcloud_show_prefix="powerzone-show-" diff --git a/bin/bin/shellz b/bin/bin/shellz @@ -0,0 +1,50 @@ +#!/usr/bin/env bash +# ██ ██ ██ +# ░██ ░██ ░██ +# ██████░██ █████ ░██ ░██ ██████ +# ██░░░░ ░██████ ██░░░██ ░██ ░██░░░░██ +#░░█████ ░██░░░██░███████ ░██ ░██ ██ +# ░░░░░██░██ ░██░██░░░░ ░██ ░██ ██ +# ██████ ░██ ░██░░██████ ███ ███ ██████ +#░░░░░░ ░░ ░░ ░░░░░░ ░░░ ░░░ ░░░░░░ +# +# ANSI color scheme script by pyratebeard +# original `ghosts` script by pfh +# +# Initializing mod by lolilolicon from Archlinux +# + +f=3 b=4 +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done +bld=$'\e[1m' +rst=$'\e[0m' +inv=$'\e[7m' +bk=$'\e[1;30m' +cat << EOF + +$f1 ▄▄█▀▀███▀▀█▄▄ $f2 ▄▄█▀▀███▀▀█▄▄ $f3 ▄▄█▀▀███▀▀█▄▄ $f4 ▄▄█▀▀███▀▀█▄▄ $f5 ▄▄█▀▀███▀▀█▄▄ $f6 ▄▄█▀▀███▀▀█▄▄ +$f1 ▀▀█▄▄▄▀▄▄▄█▀▀ $f2 ▀▀█▄▄▄▀▄▄▄█▀▀ $f3 ▀▀█▄▄▄▀▄▄▄█▀▀ $f4 ▀▀█▄▄▄▀▄▄▄█▀▀ $f5 ▀▀█▄▄▄▀▄▄▄█▀▀ $f6 ▀▀█▄▄▄▀▄▄▄█▀▀ +$bld +$f1 ▄▄█▀▀███▀▀█▄▄ $f2 ▄▄█▀▀███▀▀█▄▄ $f3 ▄▄█▀▀███▀▀█▄▄ $f4 ▄▄█▀▀███▀▀█▄▄ $f5 ▄▄█▀▀███▀▀█▄▄ $f6 ▄▄█▀▀███▀▀█▄▄ +$f1 ▀▀█▄▄▄▀▄▄▄█▀▀ $f2 ▀▀█▄▄▄▀▄▄▄█▀▀ $f3 ▀▀█▄▄▄▀▄▄▄█▀▀ $f4 ▀▀█▄▄▄▀▄▄▄█▀▀ $f5 ▀▀█▄▄▄▀▄▄▄█▀▀ $f6 ▀▀█▄▄▄▀▄▄▄█▀▀ +$rst +EOF +#$bk ▄█████▄ $bk ▄█████▄ $bk ▄█████▄ $bk ▄█████▄ $bk ▄█████▄ $bk ▄█████▄ +#$bk ▄███████▄ $bk ▄███████▄ $bk ▄███████▄ $bk ▄███████▄ $bk ▄███████▄ $bk ▄███████▄ +#$f1 ░░░░░░░░░ $f2 ░░░░░░░░░ $f3 ░░░░░░░░░ $f4 ░░░░░░░░░ $f5 ░░░░░░░░░ $f6 ░░░░░░░░░ +#$bk ▀███████▀ $bk ▀███████▀ $bk ▀███████▀ $bk ▀███████▀ $bk ▀███████▀ $bk ▀███████▀ +#$bk ▀█████▀ $bk ▀█████▀ $bk ▀█████▀ $bk ▀█████▀ $bk ▀█████▀ $bk ▀█████▀ +#$bk ▀▀▀ $bk ▀▀▀ $bk ▀▀▀ $bk ▀▀▀ $bk ▀▀▀ $bk ▀▀▀ +#$bld +#$bk ▄█████▄ $bk ▄█████▄ $bk ▄█████▄ $bk ▄█████▄ $bk ▄█████▄ $bk ▄█████▄ +#$bk ▄███████▄ $bk ▄███████▄ $bk ▄███████▄ $bk ▄███████▄ $bk ▄███████▄ $bk ▄███████▄ +#$f1 ░░░░░░░░░ $f2 ░░░░░░░░░ $f3 ░░░░░░░░░ $f4 ░░░░░░░░░ $f5 ░░░░░░░░░ $f6 ░░░░░░░░░ +#$bk ▀███████▀ $bk ▀███████▀ $bk ▀███████▀ $bk ▀███████▀ $bk ▀███████▀ $bk ▀███████▀ +#$bk ▀█████▀ $bk ▀█████▀ $bk ▀█████▀ $bk ▀█████▀ $bk ▀█████▀ $bk ▀█████▀ +#$bk ▀▀▀ $bk ▀▀▀ $bk ▀▀▀ $bk ▀▀▀ $bk ▀▀▀ $bk ▀▀▀ +#$rst + diff --git a/bin/bin/skull b/bin/bin/skull @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # ██ ██ ██ ████ # ░██ ░██ ░██ █░░░ █ # ██████░██ ██ ██ ██ ░██ ░██ ██████░ ░█ diff --git a/bin/bin/skulls b/bin/bin/skulls @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # ██ ██ ██ # ░██ ░██ ░██ # ██████░██ ██ ██ ██ ░██ ░██ ██████ diff --git a/bin/bin/skully b/bin/bin/skully @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # ██ ██ ██ # ░██ ░██ ░██ ██ ██ # ██████░██ ██ ██ ██ ░██ ░██ ░░██ ██ diff --git a/bin/bin/skullz b/bin/bin/skullz @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # ██ ██ ██ # ░██ ░██ ░██ # ██████░██ ██ ██ ██ ░██ ░██ ██████ diff --git a/bin/bin/todo b/bin/bin/todo @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # z3bra - (c) wtfpl 2014 # Manage a todo list diff --git a/bin/bin/wacom b/bin/bin/wacom @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +monitor=$(xrandr | awk '/primary/ {print $1}') + +for dev in $(xsetwacom --list devices | awk -F"id:" '{print $2}' | awk '{print $1}') ; do + xsetwacom --set "${dev}" MapToOutput "${monitor}" +done diff --git a/cmus/bin/ara b/cmus/bin/ara @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # ██████ ██████ ██████ # ░░░░░░██ ░░██░░█ ░░░░░░██ # ███████ ░██ ░ ███████