1
0
Fork 0

annual dotfiles push

This commit is contained in:
Arthur K. 2026-01-30 17:57:53 +03:00
parent 5076968086
commit 7f3c29f8f3
Signed by: wzray
GPG key ID: B97F30FDC4636357
12 changed files with 330 additions and 97 deletions

View file

@ -1,3 +1,3 @@
#!/bin/sh
notify-send 'НИКИТА' "У тебя объективно НЕПРАВИЛЬНОЕ мнение насчет шорткатов, используй Win + Q "
notify-send 'НИКИТА' 'У тебя ОБЪЕКТИВНО НЕПРАВИЛЬНОЕ мнение насчет шорткатов, используй Win + Q'

View file

@ -1,3 +1,4 @@
#!/bin/sh
lab="$(git rev-parse --abbrev-ref HEAD)"
xdg-open https://github.com/is-oop-y28/.github/blob/master/profile/labs/"$(git rev-parse --abbrev-ref HEAD)".md
xdg-open https://github.com/is-oop-y28/.github/blob/master/profile/labs/"${lab-"lab-$1"}".md

3
.local/bin/scripts/q Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
qalc --color=auto "$@"

8
.local/bin/scripts/t Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
[ -f todo.md ] && exec vi todo.md
[ -f TODO.md ] && exec vi TODO.md
[ -z "$1" ] && exec vi ~/todo.md
[ -f "$1/todo.md" ] && exec vi "$1/todo.md"
exec vi "$1/TODO.md"

12
.local/bin/scripts/xcp Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
_fn() {
perl -pe "chomp if eof" |
xclip -selection clipboard
}
if [ -n "$1" ]; then
_fn < "$1"
else
_fn
fi