mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-12-23 07:12:07 -05:00
Adjust button layout
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
66626ee5b4
commit
f3a1dab4d4
@ -83,6 +83,8 @@ sudo systemctl restart NetworkManager
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/automount-disable | sudo tee /etc/dconf/db/local.d/automount-disable
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/locks/automount-disable | sudo tee /etc/dconf/db/local.d/locks/automount-disable
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/prefer-dark | sudo tee /etc/dconf/db/local.d/prefer-dark
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/button-layout | sudo tee /etc/dconf/db/local.d/button-layout
|
||||
sudo chmod 644 /etc/dconf/db/local.d/*
|
||||
sudo dconf update
|
||||
|
||||
# Setup ZRAM
|
||||
@ -208,7 +210,4 @@ if [ "$virt_type" = '' ] || [ "${MACHINE_TYPE}" == 'x86_64' ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
output 'The script is done. You can also remove gnome-terminal since gnome-console will replace it.'
|
||||
|
||||
#Enable Titlebar buttons
|
||||
gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu:minimize,maximize,close'
|
||||
output 'The script is done. You can also remove gnome-terminal since gnome-console will replace it.'
|
@ -92,6 +92,8 @@ unpriv curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script/main/etc/dconf/db/local.d/automount-disable | sudo tee /etc/dconf/db/local.d/automount-disable
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script/main/etc/dconf/db/local.d/locks/automount-disable | sudo tee /etc/dconf/db/local.d/locks/automount-disable
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/prefer-dark | sudo tee /etc/dconf/db/local.d/prefer-dark
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/button-layout | sudo tee /etc/dconf/db/local.d/button-layout
|
||||
sudo chmod 644 /etc/dconf/db/local.d/*
|
||||
sudo dconf update
|
||||
|
||||
# Disable crash reports
|
||||
@ -136,7 +138,4 @@ sudo hostnamectl --transient hostname ''
|
||||
|
||||
# Enable fstrim.timer
|
||||
sudo apt install tuned -y
|
||||
sudo systemctl enable --now fstrim.timer
|
||||
|
||||
#Enable Titlebar buttons
|
||||
gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu:minimize,maximize,close'
|
||||
sudo systemctl enable --now fstrim.timer
|
2
etc/dconf/db/local.d/button-layout
Normal file
2
etc/dconf/db/local.d/button-layout
Normal file
@ -0,0 +1,2 @@
|
||||
[org/gnome/desktop/wm/preferences]
|
||||
color-scheme='appmenu:minimize,maximize,close'
|
Loading…
Reference in New Issue
Block a user