Skip to content

Commit

Permalink
paperwm config
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmo committed Jan 19, 2021
1 parent 2c405ba commit 388d74e
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions common/home/.config/paperwm/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// -*- mode: gnome-shell -*-

var Meta = imports.gi.Meta;
var Clutter = imports.gi.Clutter;
var St = imports.gi.St;
var Main = imports.ui.main;
var Shell = imports.gi.Shell;

// Extension local imports
var Extension, Me, Tiling, Utils, App, Keybindings, Examples;

function init() {
// Runs _only_ once on startup

// Initialize extension imports here to make gnome-shell-reload work
Extension = imports.misc.extensionUtils.getCurrentExtension();
Me = Extension.imports.user;
Tiling = Extension.imports.tiling;
Utils = Extension.imports.utils;
Keybindings = Extension.imports.keybindings;
Examples = Extension.imports.examples;
App = Extension.imports.app;
}

function enable() {
// Runs on extension reloads, eg. when unlocking the session

Tiling.defwinprop({
wm_class: "gnome-control-center",
scratch_layer: true,
});

Tiling.defwinprop({
wm_class: "org.gnome.Shell.Extensions",
scratch_layer: true,
});

Tiling.defwinprop({
wm_class: "gnome-tweaks",
scratch_layer: true,
});
}

function disable() {
// Runs on extension reloads eg. when locking the session (`<super>L).
}

0 comments on commit 388d74e

Please sign in to comment.