mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Added autotiling
This commit is contained in:
parent
be58607648
commit
afaa1d11fc
2 changed files with 9 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
modifier = config.wayland.windowManager.sway.config.modifier;
|
||||
|
|
@ -63,7 +63,7 @@ in
|
|||
|
||||
floating.border = 0;
|
||||
window.border= 0;
|
||||
|
||||
|
||||
keybindings = lib.mkOptionDefault {
|
||||
"${modifier}+q" = "kill";
|
||||
"Print" = "exec grim ~/Pictures/screenshot-$(date +'%Y%m%d-%H%M%S').png";
|
||||
|
|
@ -78,6 +78,7 @@ in
|
|||
for_window [app_id="one.alynx.showmethekey" title="Floating Window - Show Me The Key"] {
|
||||
floating enable
|
||||
sticky enable
|
||||
}
|
||||
}
|
||||
exec_always ${pkgs.autotiling}/bin/autotiling
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
let
|
||||
cfg = config.modules.gui;
|
||||
|
||||
in
|
||||
|
||||
in
|
||||
{ options.modules.gui = { enable = mkEnableOption "gui"; };
|
||||
config = mkIf cfg.enable {
|
||||
wayland.windowManager.sway = import ./config/sway.nix { inherit pkgs config lib; };
|
||||
|
|
@ -26,12 +26,13 @@ in
|
|||
|
||||
programs.btop.enable = true;
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
|
||||
home.packages = with pkgs; [
|
||||
xdg-utils
|
||||
grim
|
||||
slurp
|
||||
wl-clipboard
|
||||
autotiling
|
||||
|
||||
imv
|
||||
gimp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue