themes/a-happy-gnome: add PaperWM shell extension

This commit is contained in:
Gabriel Arazas 2022-09-20 20:19:07 +08:00
parent 9fc40da4f0
commit 9f5b9c1be3
2 changed files with 50 additions and 0 deletions

View File

@ -51,3 +51,52 @@ tv-open-effect = true
# Make app grid somewhat usable.
[org/gnome/shell/extensions/alphabetical-app-grid]
folder-order-position = 'start'
# PaperWM for an alternative shell.
[org/gnome/shell/extensions/paperwm]
horizontal-margin = 5
vertical-margin = 5
vertical-margin-bottom = 5
window-gap = 5
override-hot-corner = false
cycle-width-steps = [0.38195, 0.5, 0.61804, 0.75]
cycle-height-steps = [0.38195, 0.5, 0.61804, 0.75]
# The shortcuts are closely tied to my shell keybindings to make it easier to follow.
[org/gnome/shell/extensions/paperwm/keybindings]
new-window = ['<Super>Return']
close-window = ['<Super>q', '<Alt>F4']
live-alt-tab = ['<Super>Tab']
live-alt-tab-existing = ['<Super><Shift>Tab']
paper-toggle-fullscreen = ['<Super>f']
toggle-maximize-width = ['<Super><Shift>f']
# I don't want scratchpads or whatever these things.
toggle-scratch-window = @as []
toggle-scratch-layer = @as []
toggle-scratch = @as []
# I prefer to cycle the sizes instead.
resize-h-inc = @as []
resize-h-dec = @as []
resize-w-inc = @as []
resize-w-dec = @as []
cycle-width = ['<Super>r']
# Slurping and puking windows... weird.
slurp-in = ['<Super>t']
barf-out = ['<Super><Shift>t']
# Navigating with workspaces should be similar with my workflow.
switch-right = ['<Super>l', '<Super>Right']
switch-left = ['<Super>h', '<Super>Left']
switch-up = ['<Super>k', '<Super>Up']
switch-down = ['<Super>j', '<Super>Down']
move-right = ['<Super><Shift>l', '<Super><Shift>Right']
move-left = ['<Super><Shift>h', '<Super><Shift>Left']
move-up = ['<Super><Shift>k', '<Super><Shift>Up']
move-down = ['<Super><Shift>j', '<Super><Shift>Down']
switch-up-workspace = ['<Super><Control>k', '<Super><Control>Up']
switch-down-workspace = ['<Super><Control>j', '<Super><Control>Down']
move-up-workspace = ['<Super><Control><Shift>k', '<Super><Control><Shift>Up']
move-down-workspace = ['<Super><Control><Shift>j', '<Super><Control><Shift>Down']

View File

@ -45,6 +45,7 @@ in
] ++ [
pkgs.gnome-shell-extension-fly-pie
pkgs.gnome-shell-extension-pop-shell
pkgs.gnome-shell-extension-paperwm-latest
];
example = lib.literalExpression ''
with pkgs.gnomeExtensions; [