mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
profiles/sway: i3gopher+konawall stuff from arcnmx-nixexprs, added
duration?
This commit is contained in:
parent
aae5a7d250
commit
bdf77d77b0
3 changed files with 6 additions and 16 deletions
|
|
@ -8,6 +8,7 @@
|
|||
(import (sources.arc-nixexprs + "/modules")).home-manager.base16
|
||||
(import (sources.arc-nixexprs + "/modules")).home-manager.syncplay
|
||||
(import (sources.arc-nixexprs + "/modules")).home-manager.konawall
|
||||
(import (sources.arc-nixexprs + "/modules")).home-manager.i3gopher
|
||||
(sources.arc-nixexprs + "/modules/home/weechat.nix")
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{ config, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
services.konawall = { enable = true; };
|
||||
services.konawall = { enable = true; interval = "20m"; };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,19 +17,8 @@ in {
|
|||
|
||||
home.packages = with pkgs; [ grim slurp wl-clipboard jq ];
|
||||
|
||||
systemd.user.services.i3gopher = {
|
||||
Unit = {
|
||||
Description = "i3 focus history";
|
||||
After = [ "sway-session.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "exec";
|
||||
Restart = "on-failure";
|
||||
StandardOutput = "null";
|
||||
ExecStart = "${pkgs.i3gopher}/bin/i3gopher";
|
||||
};
|
||||
Install.WantedBy = [ "sway-session.target" ];
|
||||
services.i3gopher = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.zsh.profileExtra = ''
|
||||
|
|
@ -152,7 +141,7 @@ in {
|
|||
|
||||
"${cfg.modifier}+Tab" = "workspace back_and_forth";
|
||||
"${cfg.modifier}+Shift+Tab" =
|
||||
"exec ${pkgs.i3gopher}/bin/i3gopher --focus-last";
|
||||
"exec ${config.services.i3gopher.focus-last}";
|
||||
"${cfg.modifier}+Ctrl+Left" = "workspace prev_on_output";
|
||||
"${cfg.modifier}+Ctrl+Right" = "workspace next_on_output";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue