Fix monocle layout transparency
This commit is contained in:
parent
9203bef1ba
commit
f91944e302
|
@ -8,13 +8,16 @@
|
|||
"setxkbmap"
|
||||
];
|
||||
extraConfig = let
|
||||
startOnce = procs: map (v: "! pgrep ${v} && ${v} &") procs;
|
||||
startOnce = procs:
|
||||
map (v: "! pgrep ${builtins.head (lib.splitString " " v)} && ${v} &")
|
||||
procs;
|
||||
startup = startOnce [
|
||||
"firefox"
|
||||
"element-desktop"
|
||||
"telegram-desktop"
|
||||
"spotify"
|
||||
"geary"
|
||||
"bspm -d"
|
||||
];
|
||||
in lib.strings.concatStringsSep "\n" ([
|
||||
"nitrogen --set-zoom-fill ${
|
||||
|
@ -104,8 +107,8 @@
|
|||
# Close/kill window
|
||||
"super + {_,shift + }w" = "bspc node -{c,k}";
|
||||
# Monocle layout
|
||||
"super + m" =
|
||||
"for node_i in $(bspc query -N -n '.!focused.window' -d focused); bspc node $node_i -g hidden; end; bspc desktop -l next";
|
||||
"super + m" = "bspm monocle --toggle";
|
||||
"super + shift + m" = "bspm monocle --next";
|
||||
# Toggle hide all windows
|
||||
"super + d" =
|
||||
"bspc query -N -n .window | xargs -I node_id bspc node node_id -g hidden";
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
xdg-utils
|
||||
xdotool
|
||||
yubioath-flutter
|
||||
bspm
|
||||
];
|
||||
|
||||
# Brightness/volume keys
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{ rustPlatform, fetchFromGitHub, git }:
|
||||
{ pkgs }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "bin";
|
||||
version = "3bbd64611f2a5dee91528976f6db17ff9844315a";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "WantGuns";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
|
@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
cargoLock = { lockFile = "${src}/Cargo.lock"; };
|
||||
|
||||
nativeBuildInputs = [ git ];
|
||||
nativeBuildInputs = [ pkgs.git ];
|
||||
|
||||
meta = {
|
||||
description = "highly opinionated, minimal pastebin";
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
{ pkgs }:
|
||||
pkgs.buildGoModule rec {
|
||||
pname = "bspm";
|
||||
version = "v0.0.9";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "diogox";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-ocnvTUANmJ6186Dktr5GaotbkZKZymKiIHICgTIRtjc=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-Oj6i4/K0LAubu2aSoXcC6bZtTp8/N0cbvG+KWjA5/nw=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "The bspwm manager";
|
||||
homepage = "https://github.com/diogox/bspm";
|
||||
};
|
||||
}
|
|
@ -1,10 +1,9 @@
|
|||
{ rustPlatform, fetchFromGitHub, libpulseaudio, pkg-config }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
{ pkgs }:
|
||||
pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "pads";
|
||||
version = "89d69d4b9b199e08671c947120d5b2e1b6295d68";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "dogue";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
|
@ -13,8 +12,8 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
cargoLock = { lockFile = "${src}/Cargo.lock"; };
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libpulseaudio ];
|
||||
nativeBuildInputs = [ pkgs.pkg-config ];
|
||||
buildInputs = [ pkgs.libpulseaudio ];
|
||||
|
||||
meta = {
|
||||
description =
|
||||
|
|
|
@ -7,7 +7,10 @@
|
|||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: { pads = final.callPackage ../../common/pkgs/pads.nix { }; })
|
||||
(final: prev: {
|
||||
pads = final.callPackage ../../common/pkgs/pads.nix { };
|
||||
bspm = final.callPackage ../../common/pkgs/bspm.nix { };
|
||||
})
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
|
|
Loading…
Reference in New Issue