parent
2abd8b5fd9
commit
7f3f9d2dd4
3 changed files with 33 additions and 11 deletions
homes
|
@ -13,6 +13,7 @@
|
|||
./ssh.nix
|
||||
./taskwarrior.nix
|
||||
./vpn.nix
|
||||
./i3.nix
|
||||
];
|
||||
|
||||
gui.enable = true;
|
||||
|
@ -38,14 +39,4 @@
|
|||
ll = "ls -lah";
|
||||
};
|
||||
|
||||
gui.i3.defaultOrientation = "horizontal";
|
||||
|
||||
# todo check home-manager nixGL options
|
||||
# we need nixGL to run kitty, because it depends on GL it's not nice, but not to bad either
|
||||
xsession.windowManager.i3.config.terminal = lib.mkForce "nixGLIntel kitty";
|
||||
|
||||
# todo
|
||||
xsession.windowManager.i3.config.keybindings."Print" =
|
||||
lib.mkForce "exec ${pkgs.flameshot}/bin/flameshot gui -c -p ~/Pictures/Screenshots/";
|
||||
|
||||
}
|
||||
|
|
25
homes/ingolf-wagner/i3.nix
Normal file
25
homes/ingolf-wagner/i3.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
|
||||
gui.i3.defaultOrientation = "horizontal";
|
||||
|
||||
# todo check home-manager nixGL options
|
||||
# we need nixGL to run kitty, because it depends on GL it's not nice, but not to bad either
|
||||
xsession.windowManager.i3.config.terminal = lib.mkForce "nixGLIntel kitty";
|
||||
|
||||
# todo
|
||||
xsession.windowManager.i3.config.keybindings."Print" =
|
||||
lib.mkForce "exec ${pkgs.flameshot}/bin/flameshot gui --clipboard --path ~/Pictures/Screenshots/";
|
||||
|
||||
# for some reason `graphical-session.target` is not hooked to `default.target`
|
||||
systemd.user.targets."graphical-session" = {
|
||||
Unit = {
|
||||
Description = "Graphical Session Target";
|
||||
Requires = "basic.target";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
|
@ -142,8 +142,14 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
services.flameshot = {
|
||||
enable = true;
|
||||
settings.General.showStartupLaunchMessage = false;
|
||||
};
|
||||
|
||||
services.copyq = {
|
||||
enable = true;
|
||||
forceXWayland = false;
|
||||
};
|
||||
|
||||
stylix.targets.i3.enable = true;
|
||||
|
@ -216,7 +222,7 @@ in
|
|||
modifier = config.xsession.windowManager.i3.config.modifier;
|
||||
in
|
||||
{
|
||||
"Print" = "exec ${pkgs.flameshot}/bin/flameshot gui -c -p /share/";
|
||||
"Print" = "exec ${pkgs.flameshot}/bin/flameshot gui --clipboard --path /share/";
|
||||
|
||||
# --- Brightness controls --- #
|
||||
"XF86MonBrightnessUp" = "exec --no-startup-id ${pkgs.brightnessctl}/bin/brightnessctl set +5%";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue