remove hyprland from config
This commit is contained in:
parent
c3a4fc2bb2
commit
3c0896e976
24 changed files with 235 additions and 1134 deletions
|
|
@ -76,7 +76,8 @@ in
|
|||
margin-top = 8;
|
||||
margin-left = 10;
|
||||
margin-right = 10;
|
||||
output = builtins.map (display: display.name) config.modules.hyprland.displays;
|
||||
# TODO: find a new way to do outputs nicely
|
||||
# output = builtins.map (display: display.name) config.modules.hyprland.displays;
|
||||
modules-left = cfg.modules.left;
|
||||
modules-center = cfg.modules.center;
|
||||
modules-right = cfg.modules.right;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
name = "custom/poweroff";
|
||||
in
|
||||
|
|
@ -9,16 +15,12 @@ in
|
|||
enable = lib.mkEnableOption "enable ${name} waybar module";
|
||||
};
|
||||
};
|
||||
imports = [
|
||||
../wofi.nix
|
||||
];
|
||||
config = lib.mkIf config.modules.waybar.enabled.${name}.enable {
|
||||
modules.wofi.enable = true;
|
||||
programs.waybar = {
|
||||
settings.mainBar."${name}" = {
|
||||
format = "";
|
||||
on-click = "wofi-power";
|
||||
on-click-right = "swaylock"; # TODO: change to whatever lock screen i want
|
||||
on-click = "${inputs.self.packages.${pkgs.system}.fuzzel-launch}";
|
||||
on-click-right = "${pkgs.swaylock}/bin/swaylock"; # TODO: change to whatever lock screen i want
|
||||
};
|
||||
style = ''
|
||||
#custom-poweroff {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
name = "hyprland/window";
|
||||
name = "niri/window";
|
||||
in
|
||||
{
|
||||
options.modules.waybar = {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
name = "hyprland/workspaces";
|
||||
name = "niri/workspaces";
|
||||
in
|
||||
{
|
||||
options.modules.waybar = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue