OSDN Git Service
(root)
/
instantos
/
instantOS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f33461e
)
nvim as editor and qt5ct as theme
author
paperbenni
<paperbenni@gmail.com>
Wed, 1 Jan 2020 14:32:27 +0000
(15:32 +0100)
committer
paperbenni
<paperbenni@gmail.com>
Wed, 1 Jan 2020 14:32:27 +0000
(15:32 +0100)
depend.sh
patch
|
blob
|
history
install.sh
patch
|
blob
|
history
diff --git
a/depend.sh
b/depend.sh
index
e74ffd7
..
3be45db
100644
(file)
--- a/
depend.sh
+++ b/
depend.sh
@@
-22,6
+22,7
@@
if cat /etc/os-release | grep -iq 'name.*arch' ||
pacinstall dunst
pacinstall bash dash tmux
+ pacinstall neovim
pacinstall dialog
pacinstall wget slop
pacinstall acpi
@@
-29,6
+30,7
@@
if cat /etc/os-release | grep -iq 'name.*arch' ||
aptinstall git
aptinstall subversion
+ aptinstall neovim
pacinstall ffmpeg
pacinstall feh
diff --git
a/install.sh
b/install.sh
index
991c84c
..
0f6b001
100755
(executable)
--- a/
install.sh
+++ b/
install.sh
@@
-26,6
+26,7
@@
addenv() {
local FORCE="true"
shift 1
fi
+
if grep -q "$1=" /etc/environment; then
if [ -z "$FORCE" ]; then
echo "key already there"
@@
-38,6
+39,9
@@
addenv() {
fi
}
+addenv -f "QT_QPA_PLATFORMTHEME" "qt5ct"
+command -v nvim &>/dev/null && addenv -f "EDITOR" "$(which nvim)"
+
THEME="${1:-dracula}"
echo "using theme $THEME"
[ -e ~/paperbenni ] || mkdir ~/paperbenni