1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-02-22 16:05:54 +00:00

install_environment_d

This commit is contained in:
Nebel 2023-12-29 23:57:15 +09:00
parent 719655ca14
commit 2e78e5f84e
Signed by: nebel
GPG key ID: 79807D08C6EF6460
3 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1 @@
MOZ_ENABLE_WAYLAND=1

View file

@ -0,0 +1 @@
EDITOR="code --wait"

View file

@ -34,9 +34,21 @@ function install_source_han_mono_fonts() {
fc-cache
}
function install_environment_d() {
local home
local environment_d
home=$(eval "echo ~${SUDO_USER:-}")
environment_d=$(realpath environment.d)
(
cd -- "${home}/.config" || exit 1
ln -svf "$environment_d" .
)
}
(($(id -u) == 0)) &&
[[ -f /etc/debian_version ]] &&
install_apt_packages
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
install_environment_d