Add comments to explain each file

This commit is contained in:
Hadi
2024-10-15 15:02:07 +02:00
parent 4733414bb3
commit 915a767283
32 changed files with 48 additions and 26 deletions

View File

@@ -1,3 +1,4 @@
# Batsignal is a simple utility to send battery notifications.
{
services.batsignal = {
enable = true;

View File

@@ -1,3 +1,4 @@
# Clipman allows you to save and retrieve clipboard history.
{ pkgs, ... }:
let
clipboard-clear = pkgs.writeShellScriptBin "clipboard-clear" ''

View File

@@ -1,3 +1,4 @@
# GTK & QT theme configuration
{ config, pkgs, lib, ... }:
let
accent = "#${config.lib.stylix.colors.base0D}";

View File

@@ -1,3 +1,4 @@
# Hypridle is a daemon that listens for user activity and runs commands when the user is idle.
{ pkgs, ... }: {
services.hypridle = {
enable = true;

View File

@@ -1,5 +1,5 @@
# So best window tiling manager
{ pkgs, config, inputs, ... }:
let
border-size = config.var.theme.border-size;
gaps-in = config.var.theme.gaps-in;

View File

@@ -1,3 +1,4 @@
# Hyprlock is a lockscreen for Hyprland
{ config, ... }:
let
foreground = "rgba(216, 222, 233, 0.70)";

View File

@@ -1,3 +1,5 @@
# Hyprpanel is the bar on top of the screen
# Display informations like workspaces, battery, wifi, ...
{ pkgs, config, ... }:
let
transparentButtons = config.var.theme.bar.transparentButtons;

View File

@@ -1,3 +1,4 @@
# Hyprpaper is used to set the wallpaper on the system
{
# The wallpaper is set by stylix
services.hyprpaper = {

View File

@@ -1,8 +0,0 @@
{ inputs, pkgs, ... }: {
home.packages = [ inputs.hyprswitch.packages."${pkgs.system}".default ];
wayland.windowManager.hyprland.settings.exec-once = [
"${inputs.hyprswitch.packages."${pkgs.system}".default}/bin/hyprswitch init"
];
}

View File

@@ -1,3 +1,4 @@
# KDE Connect is a project that enables all your devices to communicate with each other. (laptop/phone)
{
services.kdeconnect = {
enable = true;

View File

@@ -1,3 +1,4 @@
# Mime allows us to configure the default applications for each file type
{
xdg.mimeApps = {
enable = true;

View File

@@ -1,3 +1,4 @@
# Tofi is a dmeny-like application launcher
# TODO: Tofi configuration
{ config, lib, ... }:
let

View File

@@ -1,3 +1,4 @@
# Udiskie is a simple daemon that uses udisks to automatically mount removable storage devices.
{
services.udiskie = {
enable = true;

View File

@@ -1,3 +1,4 @@
# Wofi is a launcher for Wayland, inspired by rofi.
{ config, pkgs, lib, ... }:
let
accent = "#${config.lib.stylix.colors.base0D}";

View File

@@ -1,4 +1,4 @@
# PDF viewer
# Zathura is a PDF viewer
{
programs.zathura = {
enable = true;