Small restructure, started custom shell extension
This commit is contained in:
parent
aa43af77bb
commit
ade6081cc7
5 changed files with 35 additions and 2 deletions
14
gnome/extension/extension.js
Normal file
14
gnome/extension/extension.js
Normal 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) {
|
||||
|
||||
}
|
12
gnome/extension/metadata.json
Normal file
12
gnome/extension/metadata.json
Normal 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"
|
||||
]
|
||||
}
|
|
@ -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;
|
||||
}
|
6
install
6
install
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue