mirror of https://github.com/Flinner/dots.git
feat:: little updates`
This commit is contained in:
parent
da693aad3a
commit
2818d0946a
|
@ -70,3 +70,5 @@ source /etc/profile
|
||||||
if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases ; fi
|
if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases ; fi
|
||||||
#eval "$(starship init bash)"
|
#eval "$(starship init bash)"
|
||||||
|
|
||||||
|
|
||||||
|
export QSYS_ROOTDIR="/home/lambda/Programs/intelQuartus/quartus/sopc_builder/bin"
|
||||||
|
|
|
@ -53,3 +53,5 @@ fi
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
export QSYS_ROOTDIR="/home/lambda/Programs/intelQuartus/quartus/sopc_builder/bin"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
grep -qs '^ID=artix$' /etc/os-release \
|
grep -qs '^ID=arch$' /etc/os-release \
|
||||||
&& { test -e /lib/modules/`uname -r` \
|
&& { test -e /lib/modules/`uname -r` \
|
||||||
|| echo Kernel updated, reboot computer.; }
|
|| echo Kernel updated, reboot computer.; }
|
||||||
|
|
|
@ -35,13 +35,13 @@ isbn = None
|
||||||
if not sys.stdin.isatty() and fileinput.input():
|
if not sys.stdin.isatty() and fileinput.input():
|
||||||
stdin_ = list(fileinput.input())
|
stdin_ = list(fileinput.input())
|
||||||
isbn = ",".join(stdin_)
|
isbn = ",".join(stdin_)
|
||||||
print("isbn from stdin:", isbn)
|
eprint("isbn from stdin:", isbn)
|
||||||
|
|
||||||
# favour stdin over args!
|
# favour stdin over args!
|
||||||
if (not isbn):
|
if (not isbn):
|
||||||
if (len(sys.argv) > 1):
|
if (len(sys.argv) > 1):
|
||||||
isbn = sys.argv[1]
|
isbn = sys.argv[1]
|
||||||
print("isbn from args:", isbn)
|
eprint("isbn from args:", isbn)
|
||||||
else:
|
else:
|
||||||
eprint("No Arguments (or stdin) Provided!")
|
eprint("No Arguments (or stdin) Provided!")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
@ -51,6 +51,6 @@ bibtex = convert_isbn_to_bibtex(isbn)
|
||||||
if bibtex:
|
if bibtex:
|
||||||
print(bibtex)
|
print(bibtex)
|
||||||
else:
|
else:
|
||||||
print("Failed to convert ISBN to BibTeX")
|
eprint("Failed to convert ISBN to BibTeX")
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
~/.gem/ruby/2.7.0/bin/jekyll "$@"
|
|
|
@ -1,7 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
setxkbmap -option ctrl:swapcaps
|
setxkbmap -option ctrl:swapcaps
|
||||||
setxkbmap -option altwin:swap_lalt_lwin
|
setxkbmap -option altwin:swap_lalt_lwin
|
||||||
setxkbmap -model pc105 -layout us,ara -variant ,qwerty -option grp:shifts_toggle
|
#setxkbmap -model pc105 -layout us,ara -variant ,qwerty -option grp:shifts_toggle
|
||||||
|
setxkbmap -layout us,ara -option grp:shifts_toggle
|
||||||
|
|
||||||
xset r rate 300 50
|
xset r rate 300 50
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue