Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
76702ea878 |
@ -12,6 +12,8 @@
|
|||||||
mods.x11.enable = true;
|
mods.x11.enable = true;
|
||||||
programs.firefox.enable = false;
|
programs.firefox.enable = false;
|
||||||
|
|
||||||
|
config.mods.polybar.fspath = "/home/tomoron";
|
||||||
|
|
||||||
mods.sync.homeFolder = "/home/tomoron/sync";
|
mods.sync.homeFolder = "/home/tomoron/sync";
|
||||||
mods.sync.defaultSynced = false;
|
mods.sync.defaultSynced = false;
|
||||||
mods.sync.syncedAdditions = [ "42_desktop" "Downloads" ];
|
mods.sync.syncedAdditions = [ "42_desktop" "Downloads" ];
|
||||||
|
@ -1,14 +1,19 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# services.picom = {
|
mods.game.enable = false;
|
||||||
# backend = "xrender";
|
mods.hyprland.enable = false;
|
||||||
# settings = {
|
mods.x11.enable = true;
|
||||||
# blur = {
|
programs.firefox.enable = false;
|
||||||
# method = "none";
|
|
||||||
# size = 0;
|
services.picom = {
|
||||||
# deviation = 0.0;
|
backend = "xrender";
|
||||||
# };
|
settings = {
|
||||||
# };
|
blur = {
|
||||||
# };
|
method = "none";
|
||||||
|
size = 0;
|
||||||
|
deviation = 0.0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -6,13 +6,19 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2025/02/10 02:51:32 by tomoron #+# #+# #
|
# Created: 2025/02/10 02:51:32 by tomoron #+# #+# #
|
||||||
# Updated: 2025/08/05 14:50:41 by tomoron ### ########.fr #
|
# Updated: 2025/08/07 15:25:50 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
option.mods.polybar.fspath = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "/";
|
||||||
|
description = "set the filesystem path for the remaining disk space";
|
||||||
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.mods.x11.enable {
|
config = lib.mkIf config.mods.x11.enable {
|
||||||
services.polybar.enable = true;
|
services.polybar.enable = true;
|
||||||
services.polybar.script = "pgrep polybar >/dev/null || polybar -q main -c \"$HOME/.config/polybar/config.ini\"&";
|
services.polybar.script = "pgrep polybar >/dev/null || polybar -q main -c \"$HOME/.config/polybar/config.ini\"&";
|
||||||
@ -44,7 +50,7 @@
|
|||||||
|
|
||||||
"module/filesystem" = {
|
"module/filesystem" = {
|
||||||
type = "internal/fs";
|
type = "internal/fs";
|
||||||
mount-0 = "/home/tomoron";
|
mount-0 = config.mods.polybar.fspath;
|
||||||
interval = 10;
|
interval = 10;
|
||||||
fixed-values = true;
|
fixed-values = true;
|
||||||
format-mounted = "<label-mounted>";
|
format-mounted = "<label-mounted>";
|
||||||
|
Reference in New Issue
Block a user