mirror of
https://git.leinelab.org/Mal/gnome-shell-extension-full-transparent-topbar.git
synced 2026-10-31 14:54:25 +01:00
Init
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import {Extension} from 'resource:///org/gnome/shell/extensions/extension.js';
|
||||
import * as Main from 'resource:///org/gnome/shell/ui/main.js';
|
||||
|
||||
export default class SimpleTopbarTransparency extends Extension
|
||||
{
|
||||
enable()
|
||||
{
|
||||
Main.panel.add_style_class_name('transparency');
|
||||
}
|
||||
|
||||
disable()
|
||||
{
|
||||
Main.panel.remove_style_class_name('transparency');
|
||||
}
|
||||
}
|
||||
|
||||
function init()
|
||||
{
|
||||
return new Extension();
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "Full Transparent Topbar",
|
||||
"description": "Just makes the topbar fully transparent - permanently. Nothing else.",
|
||||
"uuid": "full-transparent-topbar@git.leinelab.org",
|
||||
"shell-version": ["46"],
|
||||
"url": "https://git.leinelab.org/Mal/gnome-shell-extension-full-transparent-topbar",
|
||||
"version": 1
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
.transparency {
|
||||
background-color: rgba(0, 0, 0, 0.0);
|
||||
}
|
||||
Reference in New Issue
Block a user