Shift home config to enable by desktop, work out more details later
This commit is contained in:
parent
d873588c59
commit
77168ba9c7
37 changed files with 120 additions and 127 deletions
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, config, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
home.packages = with pkgs; lib.mkIf config.wayland.windowManager.sway.enable [
|
||||
(pkgs.writeScriptBin "prop-sway" ''
|
||||
selected_window=$(swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | "\(.rect.x),\(.rect.y) \(.rect.width)x\(.rect.height)"' | ${pkgs.slurp}/bin/slurp -r -c ${config.look.colors.prime} -B 00000066 -b 00000000)
|
||||
if [ -n "$selected_window" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue