mirror of
https://github.com/kou029w/dotfiles.git
synced 2025-03-02 19:45:17 +00:00
Compare commits
No commits in common. "51578dbabb5d93682e08dba2e584c17d602304bb" and "76a57dcd91f190680de329510137c16a54bd37da" have entirely different histories.
51578dbabb
...
76a57dcd91
11 changed files with 0 additions and 30 deletions
Binary file not shown.
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
deb [signed-by=/usr/share/keyrings/makedeb-archive-keyring.gpg] https://proget.makedeb.org makedeb jammy
|
|
@ -1 +0,0 @@
|
|||
deb [signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr jammy
|
|
@ -41,5 +41,3 @@ function install_source_han_mono_fonts() {
|
|||
install_gsettings settings.ini /
|
||||
install_gsettings terminal-settings.ini "/org/gnome/terminal/legacy/profiles:/:$(gsettings get org.gnome.Terminal.ProfilesList default | tr -d \')/"
|
||||
install_source_han_mono_fonts
|
||||
mist update \
|
||||
&& mist install logseq-bin
|
||||
|
|
|
@ -4,7 +4,6 @@ code
|
|||
deja-dup
|
||||
easytag
|
||||
google-chrome-stable
|
||||
mist
|
||||
mozc-utils-gui
|
||||
slack-desktop
|
||||
)
|
||||
|
|
1
install
1
install
|
@ -6,6 +6,5 @@ if (($(id -u) == 0)); then
|
|||
[[ -f /etc/debian_version ]] \
|
||||
&& install_apt_packages
|
||||
fi
|
||||
install_gitconfig
|
||||
install_dotfiles
|
||||
install_addons "$@"
|
||||
|
|
9
mod.bash
9
mod.bash
|
@ -13,15 +13,6 @@ function install_dotfiles() {
|
|||
done
|
||||
}
|
||||
|
||||
function install_gitconfig() {
|
||||
if (($(id -u) == 0)); then
|
||||
sudo --user="#${SUDO_UID:-0}" \
|
||||
git config --global --add include.path "$(realpath gitconfig)"
|
||||
else
|
||||
git config --global --add include.path "$(realpath gitconfig)"
|
||||
fi
|
||||
}
|
||||
|
||||
function install_apt_packages() {
|
||||
local packages
|
||||
local apt_sources_dir
|
||||
|
|
|
@ -9,11 +9,4 @@ function install_pkg_packages() {
|
|||
pkg install -y "${packages[@]}"
|
||||
}
|
||||
|
||||
function install_termux_task() {
|
||||
mkdir -p ~/.shortcuts/tasks
|
||||
install -v "$1" ~/.shortcuts/tasks/
|
||||
}
|
||||
|
||||
install_pkg_packages
|
||||
install_termux_task tasks/logseq-sync
|
||||
termux-setup-storage
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
cd ~/storage/shared/logseq
|
||||
git pull
|
||||
git add --all
|
||||
if git commit -m update; then
|
||||
git push
|
||||
fi
|
Loading…
Add table
Reference in a new issue