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:
parent
719655ca14
commit
2e78e5f84e
3 changed files with 14 additions and 0 deletions
1
desktop/environment.d/firefox.conf
Normal file
1
desktop/environment.d/firefox.conf
Normal file
|
@ -0,0 +1 @@
|
|||
MOZ_ENABLE_WAYLAND=1
|
1
desktop/environment.d/vscode.conf
Normal file
1
desktop/environment.d/vscode.conf
Normal file
|
@ -0,0 +1 @@
|
|||
EDITOR="code --wait"
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue