annual dotfiles push
This commit is contained in:
parent
5076968086
commit
7f3c29f8f3
12 changed files with 330 additions and 97 deletions
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
notify-send 'НИКИТА' "У тебя объективно НЕПРАВИЛЬНОЕ мнение насчет шорткатов, используй Win + Q "
|
||||
notify-send 'НИКИТА' 'У тебя ОБЪЕКТИВНО НЕПРАВИЛЬНОЕ мнение насчет шорткатов, используй Win + Q'
|
||||
|
|
|
|||
|
|
@ -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
3
.local/bin/scripts/q
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
qalc --color=auto "$@"
|
||||
8
.local/bin/scripts/t
Executable file
8
.local/bin/scripts/t
Executable 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
12
.local/bin/scripts/xcp
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue