add base dotfiles
This commit is contained in:
commit
39254e5c3b
35 changed files with 699 additions and 0 deletions
4
utils/asciify.sh
Executable file
4
utils/asciify.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
ROOT=$(dirname "$(readlink -f "$0")")
|
||||
tail +3 $ROOT/asciify.txt | rofi -eh 2 -dmenu | cut -f1 -d'|' | xargs | xclip -selection clipboard
|
||||
31
utils/asciify.txt
Normal file
31
utils/asciify.txt
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
EMOTE| TAG
|
||||
===============================
|
||||
¯\\_(ツ)_/¯| shrug
|
||||
( ͡° ͜ʖ ͡°) | lemmyface
|
||||
ಠ_ಠ| angry
|
||||
(╯°□°)╯| more angry
|
||||
༼ つ ◕_◕ ༽つ| gib
|
||||
ᕕ( ᐛ )ᕗ | walk
|
||||
(◉-◉)| nerd
|
||||
(⌐⊙_⊙)| nerd2
|
||||
(ᄒ︹ᄒ)| sad
|
||||
(῏Ṵ῏) | serious
|
||||
(⌐■_■)| coolguy
|
||||
( ႎ _ ႎ | sigh
|
||||
( ၜ 𝄩 ၜ | kewl
|
||||
ဨ(ၜ ͜ ၜ)| im listenin
|
||||
(⨪_⨪)| meh
|
||||
(⨪ˬ⨪)| :v
|
||||
(𐨨𐭃𐨨)| hmpf
|
||||
(৲ဓ―ဓ)৲| surething
|
||||
(☞゚ヮ゚)☞| mahman
|
||||
ԅ(≖‿≖ԅ)| creepy look
|
||||
[̲̅$̲̅(̲̅ ͡° ͜ʖ ͡°̲̅)̲̅$̲̅]| skrilla
|
||||
[̲̅$̲̅(̲̅ιο̲̅̅)̲̅$̲̅]| dollar
|
||||
ಥ_ಥ| cryin
|
||||
(⊙_☉)| derp
|
||||
ლ(ಠ_ಠლ)| why
|
||||
(ง •̀_•́)ง| fite me
|
||||
(👁 ͜ʖ👁)| im looking, respectfully
|
||||
†| cross
|
||||
|
||||
12
utils/clone-and-install.py
Executable file
12
utils/clone-and-install.py
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
repos = {
|
||||
"https://github.com/str4d/rage": _install_rage,
|
||||
"https://github.com/vinceliuice/WhiteSur-gtk-theme": _install_whitesur_gtk,
|
||||
"https://github.com/vinceliuice/WhiteSur-icon-theme": _install_whitesur_icon,
|
||||
"https://github.com/mattydebie/bitwarden-rofi": _install_bw_rofi,
|
||||
"https://gitlab.com/jallbrit/cbonsai": _install_cbonsai,
|
||||
"https://gitlab.com/orhun/kermit": _install_kermit,
|
||||
"https://gitlab.com/jschx/ufetch.git": _install_ufetch,
|
||||
"https://github.com/anhsirk0/fetch-master-6000.git": _install_fetch_master,
|
||||
}
|
||||
4
utils/curl2tar.sh
Executable file
4
utils/curl2tar.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -eou pipefail
|
||||
|
||||
curl -L $1 | tar xvzf -
|
||||
14
utils/set-monitors.sh
Executable file
14
utils/set-monitors.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
set -eou pipefail
|
||||
base_command="xrandr -q | grep connected"
|
||||
monitors=$(bash -c "$base_command")
|
||||
monitors_len=$(bash -c "$base_command" | grep -w 'connected' | wc -l)
|
||||
if [[ "$monitors_len" -eq 2 ]];
|
||||
then
|
||||
xrandr --auto --output eDP-1 --mode 1920x1080 --right-of HDMI-1
|
||||
bspc monitor eDP-1 -d I II III IV V
|
||||
bspc monitor HDMI-1 -d VI VII VIII IX X
|
||||
|
||||
else
|
||||
bspc monitor eDP-1 -d I II III IV V VI VII VIII IX X
|
||||
fi
|
||||
7
utils/toggle-keyboard-layout.sh
Executable file
7
utils/toggle-keyboard-layout.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
(setxkbmap -query | grep -q "layout:\s\+us") && setxkbmap es || setxkbmap us
|
||||
notify-send "layout: $(setxkbmap -query | tail -1 | awk '{print $2}')"
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue