configures paneru for mac
This commit is contained in:
parent
6d018f32b5
commit
652e74f790
4 changed files with 768 additions and 705 deletions
|
|
@ -22,6 +22,10 @@
|
|||
nixvim.url = "github:nix-community/nixvim";
|
||||
agenix.url = "github:ryantm/agenix";
|
||||
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
|
||||
inputs.paneru = {
|
||||
url = "github:karinushka/paneru";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
dms = {
|
||||
url = "github:AvengeMedia/DankMaterialShell/stable";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
|
|||
|
|
@ -42,6 +42,9 @@ in
|
|||
"keyboard-cowboy"
|
||||
"krita"
|
||||
"darktable"
|
||||
"beekeeper-studio"
|
||||
"qbittorrent"
|
||||
"tpvirtual"
|
||||
];
|
||||
|
||||
masApps = {
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ in
|
|||
neovim
|
||||
terminal
|
||||
browser
|
||||
scrolling-desktop
|
||||
|
||||
(
|
||||
{ ... }:
|
||||
|
|
|
|||
|
|
@ -63,9 +63,61 @@
|
|||
{
|
||||
imports = [
|
||||
inputs.dms.homeModules.dank-material-shell
|
||||
({ lib, pkgs, ... }: lib.mkIf pkgs.stdenv.isDarwin { })
|
||||
inputs.paneru.homeModules.paneru
|
||||
(
|
||||
{ lib, pkgs, ... }:
|
||||
lib.mkIf pkgs.stdenv.isDarwin {
|
||||
services.paneru = {
|
||||
enable = true;
|
||||
settings = {
|
||||
options = {
|
||||
preset_column_widths = [
|
||||
0.25
|
||||
0.5
|
||||
0.75
|
||||
];
|
||||
|
||||
swipe_gesture_fingers = 4;
|
||||
swipe_gesture_direction = "Natural";
|
||||
animation_speed = 4000;
|
||||
padding_top = 4;
|
||||
padding_bottom = 4;
|
||||
padding_left = 4;
|
||||
padding_right = 4;
|
||||
};
|
||||
bindings = {
|
||||
window_focus_west = "cmd - h";
|
||||
window_focus_east = "cmd - l";
|
||||
window_focus_north = "cmd - k";
|
||||
window_focus_south = "cmd - j";
|
||||
window_swap_west = "alt - h";
|
||||
window_swap_east = "alt - l";
|
||||
window_swap_first = "alt + shift - h";
|
||||
window_swap_last = "alt + shift - l";
|
||||
window_center = "alt - c";
|
||||
window_resize = "alt - r";
|
||||
window_fullwidth = "alt - f";
|
||||
window_manage = "ctrl + alt - t";
|
||||
window_stack = "alt - ]";
|
||||
window_unstack = "alt + shift - ]";
|
||||
quit = "ctrl + alt - q";
|
||||
};
|
||||
windows = {
|
||||
all = {
|
||||
horizontal_padding = 4;
|
||||
vertical_padding = 4;
|
||||
};
|
||||
pip = {
|
||||
title = "Picture.*(in)?.*[Pp]icture";
|
||||
floating = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
)
|
||||
(
|
||||
{ lib, pkgs, ... }:
|
||||
lib.mkIf pkgs.stdenv.isLinux {
|
||||
services.polkit-gnome.enable = true;
|
||||
services.mpris-proxy.enable = true;
|
||||
|
||||
|
|
@ -769,5 +821,8 @@
|
|||
xdg.configFile."niri" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/nix-config/modules/scrolling-desktop/niri";
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue