work: Switch back to waybar
This commit is contained in:
parent
197fb1716d
commit
9e2ce5f496
1 changed files with 5 additions and 32 deletions
|
@ -10,27 +10,6 @@ let
|
||||||
cfg = config.eboskma.users.erwin;
|
cfg = config.eboskma.users.erwin;
|
||||||
homeCfg = config.home-manager.users.erwin;
|
homeCfg = config.home-manager.users.erwin;
|
||||||
|
|
||||||
ewwDaemon =
|
|
||||||
let
|
|
||||||
path = lib.makeBinPath (
|
|
||||||
with pkgs;
|
|
||||||
[
|
|
||||||
jaq
|
|
||||||
pamedia
|
|
||||||
bash
|
|
||||||
helvum
|
|
||||||
pavucontrol
|
|
||||||
headsetcontrol
|
|
||||||
ha-now-playing
|
|
||||||
]
|
|
||||||
);
|
|
||||||
in
|
|
||||||
pkgs.writeShellScript "eww-daemon" ''
|
|
||||||
export PATH=${path}:''${PATH}
|
|
||||||
|
|
||||||
${config.home-manager.users.erwin.eboskma.programs.eww.package}/bin/eww $@
|
|
||||||
'';
|
|
||||||
|
|
||||||
workspacePartition = builtins.concatLists (
|
workspacePartition = builtins.concatLists (
|
||||||
builtins.attrValues (
|
builtins.attrValues (
|
||||||
builtins.mapAttrs
|
builtins.mapAttrs
|
||||||
|
@ -74,13 +53,10 @@ in
|
||||||
emacs = {
|
emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.emacs-unstable-pgtk;
|
package = pkgs.emacs-unstable-pgtk;
|
||||||
# .override {
|
|
||||||
# treeSitterPlugins = builtins.attrValues (filterAttrs (_: isDerivation) pkgs.tree-sitter-grammars);
|
|
||||||
# };
|
|
||||||
daemon = true;
|
daemon = true;
|
||||||
};
|
};
|
||||||
eww = {
|
eww = {
|
||||||
enable = true;
|
enable = false;
|
||||||
};
|
};
|
||||||
firefox = {
|
firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -172,13 +148,6 @@ in
|
||||||
pointer_accel = "1";
|
pointer_accel = "1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
startup = [
|
|
||||||
{
|
|
||||||
command = "${ewwDaemon} --restart open bar-work";
|
|
||||||
always = true;
|
|
||||||
}
|
|
||||||
# { command = "${pkgs.wayvnc}/bin/wayvnc 0.0.0.0"; always = true; }
|
|
||||||
];
|
|
||||||
workspaceOutputs = workspacePartition;
|
workspaceOutputs = workspacePartition;
|
||||||
extraKeybindings = {
|
extraKeybindings = {
|
||||||
"Ctrl+Alt+1" = "exec ${pkgs.wayvnc}/bin/wayvncctl output-set DP-1";
|
"Ctrl+Alt+1" = "exec ${pkgs.wayvnc}/bin/wayvncctl output-set DP-1";
|
||||||
|
@ -187,6 +156,10 @@ in
|
||||||
};
|
};
|
||||||
swaynotificationcenter.enable = true;
|
swaynotificationcenter.enable = true;
|
||||||
tmux.enable = true;
|
tmux.enable = true;
|
||||||
|
waybar = {
|
||||||
|
enable = true;
|
||||||
|
sway = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
xbanish.enable = false;
|
xbanish.enable = false;
|
||||||
|
|
Loading…
Reference in a new issue