Move related files into subdirs
This commit is contained in:
parent
2a20f18c78
commit
f543afed65
8 changed files with 99 additions and 0 deletions
29
gnome/gnome-config.sh
Executable file
29
gnome/gnome-config.sh
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
#!/bin/bash
|
||||
# Set certain configuration options in gnome
|
||||
# because the cult of simple design has gone too far
|
||||
# Works for budgie wm on Ubuntu 17.10 as well
|
||||
|
||||
# Restore menu icons
|
||||
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>}"
|
||||
|
||||
# To reduce GNOME 3 titlebar height
|
||||
cp gtk.css ~/.config/gtk-3.0/gtk.css
|
||||
|
||||
|
||||
# Restart gnome shell if its running - manually with alt+f2, type restart and press return (not in budgie)
|
||||
if pgrep -x "gedit" > /dev/null
|
||||
then
|
||||
echo "Restarting Gnome shell"
|
||||
gnome-shell --replace
|
||||
else
|
||||
echo "Gnome shell is not running so not restarting it"
|
||||
fi
|
||||
|
||||
# If budgie is running restart budgie
|
||||
if pgrep -x "gedit" > /dev/null
|
||||
then
|
||||
echo "Restarting Budgie window manager"
|
||||
budgie-wm --replace
|
||||
else
|
||||
echo "Budgie window manager is not running so not restarting it"
|
||||
fi
|
||||
9
gnome/gtk.css
Executable file
9
gnome/gtk.css
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
.header-bar.default-decoration {
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
.header-bar.default-decoration .button.titlebutton {
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
24
gnome/reset_gtk.sh
Executable file
24
gnome/reset_gtk.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!bin/bash
|
||||
#Reset gnome to defaults
|
||||
#https://askubuntu.com/questions/56313/how-do-i-reset-gnome-to-the-defaults#56314
|
||||
|
||||
# Backs up and renames your old gtk and dconf folders to reset gnome to defaults
|
||||
# Updated for Ubuntu 17.10
|
||||
|
||||
# Get gnome shell version
|
||||
VER=`gnome-shell --version`
|
||||
echo "Gnome shell"
|
||||
echo "$VER"
|
||||
|
||||
# Get GTK version
|
||||
GTKVER=`dpkg -s libgtk-3-0|grep '^Version' | cut -d' ' -f2-`
|
||||
echo "GTK version"
|
||||
echo "$GTKVER"
|
||||
|
||||
for f in .gnome .gnome2 .gconf .gconfd .metacity; do mv $f ${f}.bak; done or mkdir -p ~/.backup-gnome-config/ && for f in .gnome .gnome2 .gconf .gconfd .metacity; do mv $f ~/.backup-gnome-config/; done
|
||||
|
||||
dconf reset -f /org/gnome/
|
||||
|
||||
# Reset Gnome Extensions
|
||||
mv ~/.local/share/gnome-shell/extensions ~/.local/share/gnome-shell/extensions-bkup
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
Loading…
Add table
Add a link
Reference in a new issue