From bd4e72743ca24c0c380c221a6bc7376da1911f7e Mon Sep 17 00:00:00 2001 From: dcc Date: Sat, 27 May 2023 21:45:28 -0700 Subject: first --- bashs/.bashrc | 14 ++++++++++++++ bashs/shell scrips/.dwmba | 6 ++++++ bashs/shell scrips/bat32 | 6 ++++++ bashs/shell scrips/check | 9 +++++++++ bashs/shell scrips/elemnt | 3 +++ bashs/shell scrips/keyboardlayoutswitcher.sh | 23 +++++++++++++++++++++++ bashs/shell scrips/keyboardlayoutswitcher.sh~ | 23 +++++++++++++++++++++++ bashs/shell scrips/long-live | 5 +++++ bashs/shell scrips/multilib-install | 8 ++++++++ bashs/shell scrips/multilib-install-current | 8 ++++++++ bashs/shell scrips/pm | 1 + bashs/shell scrips/sepk | 6 ++++++ 12 files changed, 112 insertions(+) create mode 100755 bashs/.bashrc create mode 100755 bashs/shell scrips/.dwmba create mode 100755 bashs/shell scrips/bat32 create mode 100755 bashs/shell scrips/check create mode 100755 bashs/shell scrips/elemnt create mode 100755 bashs/shell scrips/keyboardlayoutswitcher.sh create mode 100755 bashs/shell scrips/keyboardlayoutswitcher.sh~ create mode 100755 bashs/shell scrips/long-live create mode 100755 bashs/shell scrips/multilib-install create mode 100755 bashs/shell scrips/multilib-install-current create mode 100755 bashs/shell scrips/pm create mode 100755 bashs/shell scrips/sepk (limited to 'bashs') diff --git a/bashs/.bashrc b/bashs/.bashrc new file mode 100755 index 0000000..702a034 --- /dev/null +++ b/bashs/.bashrc @@ -0,0 +1,14 @@ +PS1="\u\w\\$\[$(tput sgr0)\]" +cd ~ +alias su='su' +alias date='date +"%a, %h %d, %Y %r"' +alias ls='ls -lah' +alias nsxiv='nsxiv -a' +alias iv='devour nsxiv -a' +alias mpv='mpv' +alias ytdlp='yt-dlp --no-check-certificate' +alias emacs='emacs' +alias emacst='emacs-no-x11' +alias mplayer='smplayer' +alias slock='slock -m "$(fortune)"' +alias wrath=' wrath -basedir ~/.wrath' diff --git a/bashs/shell scrips/.dwmba b/bashs/shell scrips/.dwmba new file mode 100755 index 0000000..9f16ca7 --- /dev/null +++ b/bashs/shell scrips/.dwmba @@ -0,0 +1,6 @@ +#!/bin/bash +while true; do + printf -v Date '%(%a, %h %d, %Y %r)T' -1 + xsetroot -name "$Date" + sleep 1 +done diff --git a/bashs/shell scrips/bat32 b/bashs/shell scrips/bat32 new file mode 100755 index 0000000..382e207 --- /dev/null +++ b/bashs/shell scrips/bat32 @@ -0,0 +1,6 @@ +#!/bin/sh +touch /tmp/powerc +cat /sys/class/power_supply/hidpp_battery_*/capacity > /tmp/powerc +cat /sys/class/power_supply/hidpp_battery_*/status > /tmp/powerc +value=$(