Tiling & Shortcuts™️
This commit is contained in:
@@ -2,7 +2,12 @@
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
# Install Apps Detactable by Spotlight
|
||||||
./app-fix.nix
|
./app-fix.nix
|
||||||
|
# Tiling Window Manager
|
||||||
|
./yabai.nix
|
||||||
|
# Shortcuts babe, not Automator
|
||||||
|
./skhd.nix
|
||||||
];
|
];
|
||||||
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|||||||
27
machines/universeair/sketchybar.nix
Normal file
27
machines/universeair/sketchybar.nix
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
{config, pkgs, lib, ...}: {
|
||||||
|
services.sketchybar = {
|
||||||
|
enable = true;
|
||||||
|
config = ''
|
||||||
|
##### Bar Appearance #####
|
||||||
|
# Configuring the general appearance of the bar, these are only some of the
|
||||||
|
# options available. For all options see:
|
||||||
|
# https://felixkratz.github.io/SketchyBar/config/bar
|
||||||
|
# If you are looking for other colors, see the color picker:
|
||||||
|
# https://felixkratz.github.io/SketchyBar/config/tricks#color-picker
|
||||||
|
|
||||||
|
sketchybar --bar height=32 \
|
||||||
|
blur_radius=30 \
|
||||||
|
position=top \
|
||||||
|
sticky=off \
|
||||||
|
padding_left=10 \
|
||||||
|
padding_right=10 \
|
||||||
|
color=0x15ffffff
|
||||||
|
|
||||||
|
##### Finalizing Setup #####
|
||||||
|
# The below command is only needed at the end of the initial configuration to
|
||||||
|
# force all scripts to run the first time, it should never be run in an item script.
|
||||||
|
|
||||||
|
sketchybar --update
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
7
machines/universeair/skhd.nix
Normal file
7
machines/universeair/skhd.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{config, pkgs, lib, ...}: {
|
||||||
|
services.skhd = {
|
||||||
|
enable = true;
|
||||||
|
skhdConfig = ''
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
12
machines/universeair/yabai.nix
Normal file
12
machines/universeair/yabai.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{config, pkgs, lib, ...}: {
|
||||||
|
imports = [
|
||||||
|
# Custom Bar
|
||||||
|
./sketchybar.nix
|
||||||
|
];
|
||||||
|
services.yabai = {
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user