fixup sway and add mimeapps
This commit is contained in:
parent
879489efcb
commit
829c8d9392
9 changed files with 71 additions and 33 deletions
|
|
@ -1,4 +1,17 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
term = "${ config.programs.terminal }/bin/${config.programs.terminal.pname}";
|
||||
modKeyName = config.windowManager.modifierKey;
|
||||
modifier =
|
||||
if modKeyName == "SUPER"
|
||||
then "Mod4"
|
||||
else if modKeyName == "ALT"
|
||||
then "Mod1"
|
||||
else null;
|
||||
in {
|
||||
imports = [
|
||||
(import ./swaylock.nix)
|
||||
(import ./swayidle.nix)
|
||||
|
|
@ -12,6 +25,10 @@
|
|||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
config = {
|
||||
inherit modifier;
|
||||
bars = [];
|
||||
};
|
||||
};
|
||||
|
||||
services.swayidle = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue