Formatting and hammerspoon
This commit is contained in:
parent
c34274413a
commit
b9b62ea3c3
@ -29,7 +29,9 @@
|
|||||||
echo "Commands:"
|
echo "Commands:"
|
||||||
echo -n '${
|
echo -n '${
|
||||||
builtins.toJSON (
|
builtins.toJSON (
|
||||||
builtins.mapAttrs (s: value: value.description) self.devShells.${pkgs.stdenv.hostPlatform.system}.default.config.scripts
|
builtins.mapAttrs (
|
||||||
|
s: value: value.description
|
||||||
|
) self.devShells.${pkgs.stdenv.hostPlatform.system}.default.config.scripts
|
||||||
)
|
)
|
||||||
}' | \
|
}' | \
|
||||||
${pkgs.jq}/bin/jq -r 'to_entries | map(" \(.key)\n" + " - \(if .value == "" then "no description provided" else .value end)") | "" + .[]'
|
${pkgs.jq}/bin/jq -r 'to_entries | map(" \(.key)\n" + " - \(if .value == "" then "no description provided" else .value end)") | "" + .[]'
|
||||||
|
|||||||
@ -21,26 +21,22 @@ return (function()
|
|||||||
screen = "394ACDEE-CA25-43C4-A533-D4EDF4A897AF",
|
screen = "394ACDEE-CA25-43C4-A533-D4EDF4A897AF",
|
||||||
fullscreen = true,
|
fullscreen = true,
|
||||||
},
|
},
|
||||||
Cursor = {
|
Code = {
|
||||||
desktop = 1,
|
desktop = 1,
|
||||||
screen = "B5845603-D54C-44B8-9B55-96F7E5F50646",
|
screen = "D3142823-261D-46EF-B9C2-5181C7FE2CA5",
|
||||||
fullscreen = true,
|
fullscreen = true,
|
||||||
},
|
},
|
||||||
Notes = {
|
|
||||||
desktop = 2,
|
|
||||||
screen = "B5845603-D54C-44B8-9B55-96F7E5F50646"
|
|
||||||
},
|
|
||||||
Spotify = {
|
Spotify = {
|
||||||
desktop = 3,
|
desktop = 3,
|
||||||
screen = "B5845603-D54C-44B8-9B55-96F7E5F50646",
|
screen = "D3142823-261D-46EF-B9C2-5181C7FE2CA5",
|
||||||
fullscreen = true,
|
fullscreen = true,
|
||||||
},
|
},
|
||||||
["zoom.us"] = {
|
["zoom.us"] = {
|
||||||
screen = "B5845603-D54C-44B8-9B55-96F7E5F50646",
|
screen = "D3142823-261D-46EF-B9C2-5181C7FE2CA5",
|
||||||
fullscreen = true,
|
fullscreen = true,
|
||||||
},
|
},
|
||||||
["Microsoft Outlook"] = {
|
["Microsoft Outlook"] = {
|
||||||
desktop = 3,
|
desktop = 2,
|
||||||
screen = "D3142823-261D-46EF-B9C2-5181C7FE2CA5",
|
screen = "D3142823-261D-46EF-B9C2-5181C7FE2CA5",
|
||||||
fullscreen = true,
|
fullscreen = true,
|
||||||
},
|
},
|
||||||
|
|||||||
@ -35,7 +35,7 @@ windowMove = function()
|
|||||||
|
|
||||||
hs.hotkey.bind({ "ctrl", "alt", "cmd" }, "pad1", function()
|
hs.hotkey.bind({ "ctrl", "alt", "cmd" }, "pad1", function()
|
||||||
-- DELL S2722DGM
|
-- DELL S2722DGM
|
||||||
local scr = getScreenById("0F6BDB5B-840D-40BE-AAC9-B467A78E057A")
|
local scr = getScreenById("394ACDEE-CA25-43C4-A533-D4EDF4A897AF")
|
||||||
if scr == nil then
|
if scr == nil then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
@ -79,7 +79,7 @@ windowMove = function()
|
|||||||
|
|
||||||
hs.hotkey.bind({ "ctrl", "alt", "cmd", "shift" }, "pad1", function()
|
hs.hotkey.bind({ "ctrl", "alt", "cmd", "shift" }, "pad1", function()
|
||||||
-- DELL S2722DGM
|
-- DELL S2722DGM
|
||||||
local scr = getScreenById("0F6BDB5B-840D-40BE-AAC9-B467A78E057A")
|
local scr = getScreenById("394ACDEE-CA25-43C4-A533-D4EDF4A897AF")
|
||||||
if scr == nil then
|
if scr == nil then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|||||||
@ -21,8 +21,7 @@ in
|
|||||||
size = 10000;
|
size = 10000;
|
||||||
};
|
};
|
||||||
|
|
||||||
shellAliases =
|
shellAliases = {
|
||||||
{
|
|
||||||
# use eval $(aws-export-credentials) to expose them to environment
|
# use eval $(aws-export-credentials) to expose them to environment
|
||||||
aws-export-credentials = lib.mkDefault "${pkgs.awscli2}/bin/aws configure export-credentials --format env --profile";
|
aws-export-credentials = lib.mkDefault "${pkgs.awscli2}/bin/aws configure export-credentials --format env --profile";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user