Small restructure, started custom shell extension

This commit is contained in:
Josh Sherman 2018-05-06 13:43:23 -05:00
parent aa43af77bb
commit ade6081cc7
No known key found for this signature in database
GPG key ID: 55B058A80530EF22
5 changed files with 35 additions and 2 deletions

View file

@ -0,0 +1,14 @@
const Main = imports.ui.main;
let activities = Main.panel.statusArea['activities'];
function enable() {
activities.container.hide();
}
function disable() {
activities.container.show();
}
function init(metadata) {
}

View file

@ -0,0 +1,12 @@
{
"uuid": "custom@gnome-shell-extensions.joshtronic.com",
"name": "My Customizations",
"description": "Hide activities button, disable hot corner, move clock to right.",
"url": "https://github.com/joshtronic/dotfiles",
"shell-version": [
"3.22",
"3.24",
"3.26",
"3.28"
]
}

View file

@ -5,3 +5,8 @@
-panel-corner-border-width: 0;
-panel-corner-border-color: transparent;
}
/* Give app icon consistent padding with activities and status */
#panel .panel-status-menu-box {
padding: 0 12px;
}

View file

@ -27,6 +27,7 @@ rm -rf \
"$HOME/.bashrc" \
"$HOME/.gitconfig" \
"$HOME/.config/gtk-3.0/gtk.css" \
"$HOME/.local/share/gnome-shell/extensions/custom@gnome-shell-extensions.joshtronic.com" \
"$HOME/.screenrc" \
"$HOME/.themes/custom/gnome-shell/gnome-shell.css" \
"$HOME/.vim" \
@ -42,8 +43,9 @@ mkdir -p \
ln -s "$DOTFILES/bashrc" "$HOME/.bashrc"
ln -s "$DOTFILES/gitconfig" "$HOME/.gitconfig"
ln -s "$DOTFILES/gnome-shell.css" "$HOME/.themes/custom/gnome-shell/gnome-shell.css"
ln -s "$DOTFILES/gtk.css" "$HOME/.config/gtk-3.0/gtk.css"
ln -s "$DOTFILES/gnome/extension" "$HOME/.local/share/gnome-shell/extensions/custom@gnome-shell-extensions.joshtronic.com" \
ln -s "$DOTFILES/gnome/gnome-shell.css" "$HOME/.themes/custom/gnome-shell/gnome-shell.css"
ln -s "$DOTFILES/gnome/gtk.css" "$HOME/.config/gtk-3.0/gtk.css"
ln -s "$DOTFILES/screenrc" "$HOME/.screenrc"
ln -s "$DOTFILES/vimrc" "$HOME/.vimrc"
ln -s "$DOTFILES/zshrc" "$HOME/.zshrc"