Compare commits
No commits in common. "271d590f4003b73501bf706518ded5b16b6b0054" and "aaef19c502a016d2055f9c9d6d45970c1afc85fd" have entirely different histories.
271d590f40
...
aaef19c502
4 changed files with 2 additions and 40 deletions
|
@ -10,7 +10,6 @@
|
||||||
:dockerfile
|
:dockerfile
|
||||||
:eex
|
:eex
|
||||||
:elixir
|
:elixir
|
||||||
:elvish
|
|
||||||
:erlang
|
:erlang
|
||||||
:fennel
|
:fennel
|
||||||
:fish
|
:fish
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
{ pkgs, config, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
pkg = pkgs.jankyborders;
|
|
||||||
|
|
||||||
borders-config = [
|
|
||||||
"style=round"
|
|
||||||
"active_color=0xaaabb2bf"
|
|
||||||
"inactive_color=0xdd282a36"
|
|
||||||
"width=5.0"
|
|
||||||
"blur_radius=15.0"
|
|
||||||
"hidpi=on"
|
|
||||||
"ax_focus=on"
|
|
||||||
];
|
|
||||||
in
|
|
||||||
{
|
|
||||||
environment.systemPackages = [ pkg ];
|
|
||||||
|
|
||||||
launchd.user.agents.jankyborders = {
|
|
||||||
serviceConfig = {
|
|
||||||
ProgramArguments = [ "${pkg}/bin/borders" ] ++ borders-config;
|
|
||||||
|
|
||||||
KeepAlive = true;
|
|
||||||
RunAtLoad = true;
|
|
||||||
ProcessType = "Interactive";
|
|
||||||
EnvironmentVariables = {
|
|
||||||
PATH = "${pkg}/bin:${config.environment.systemPath}";
|
|
||||||
LANG = "en_US.UTF-8";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -5,7 +5,7 @@ let
|
||||||
yabai-bin = "${yabai-pkg}/bin/yabai";
|
yabai-bin = "${yabai-pkg}/bin/yabai";
|
||||||
jq-bin = "${pkgs.jq}/bin/jq";
|
jq-bin = "${pkgs.jq}/bin/jq";
|
||||||
|
|
||||||
window_padding = 8;
|
window_padding = 5;
|
||||||
|
|
||||||
native-tab-apps = [ "Finder" "TablePlus" ];
|
native-tab-apps = [ "Finder" "TablePlus" ];
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@ let
|
||||||
"Dash"
|
"Dash"
|
||||||
"Dato"
|
"Dato"
|
||||||
"IINA"
|
"IINA"
|
||||||
"LaunchBar"
|
|
||||||
"Mona"
|
"Mona"
|
||||||
"System.*einstellungen"
|
"System.*einstellungen"
|
||||||
];
|
];
|
||||||
|
@ -86,12 +85,9 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = (lib.strings.concatMapStrings (app: "yabai -m rule --add app='^${app}$' manage=off\n") unmanaged-apps) + ''
|
extraConfig = (lib.strings.concatMapStrings (app: "yabai -m rule --add app='^${app}$' manage=off\n") unmanaged-apps) + ''
|
||||||
# Float specific app windows
|
|
||||||
yabai -m rule --add app="^Finder$" title="^Infos zu|^Kopieren" manage=off
|
|
||||||
|
|
||||||
# Auto-float certain windows
|
# Auto-float certain windows
|
||||||
yabai -m signal --add event=window_created action='
|
yabai -m signal --add event=window_created action='
|
||||||
yabai -m query --windows --window $YABAI_WINDOW_ID | ${jq-bin} -er ".\"can-resize\"" || \
|
yabai -m query --windows --window $YABAI_WINDOW_ID | ${jq-bin} -er ".\"can-resize\" or .\"is-floating\"" || \
|
||||||
yabai -m window $YABAI_WINDOW_ID --toggle float
|
yabai -m window $YABAI_WINDOW_ID --toggle float
|
||||||
'
|
'
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@ in
|
||||||
|
|
||||||
../darwin/skhd.nix
|
../darwin/skhd.nix
|
||||||
../darwin/yabai.nix
|
../darwin/yabai.nix
|
||||||
../darwin/jankyborders.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
|
Loading…
Reference in a new issue