Update
This commit is contained in:
parent
109f31151d
commit
1255919f41
@ -1,5 +1,4 @@
|
|||||||
# Todolist
|
# Todolist {
|
||||||
|
|
||||||
feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
|
feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
|
||||||
|
|
||||||
- [ ] Nixy
|
- [ ] Nixy
|
||||||
@ -7,6 +6,7 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
|
|||||||
|
|
||||||
- [ ] Clipse: clipboard manager
|
- [ ] Clipse: clipboard manager
|
||||||
- [ ] Walker launcher implementation
|
- [ ] Walker launcher implementation
|
||||||
|
- [ ] Swaync implementation
|
||||||
|
|
||||||
- [ ] Qutebrowser
|
- [ ] Qutebrowser
|
||||||
- [ ] !!! Bitwarden integration (I need this.)
|
- [ ] !!! Bitwarden integration (I need this.)
|
||||||
@ -27,10 +27,8 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
|
|||||||
|
|
||||||
## Server
|
## Server
|
||||||
|
|
||||||
- [ ] Server configuration is actually broken, need to update with the new modules
|
|
||||||
- [ ] Jackflix V2
|
- [ ] Jackflix V2
|
||||||
- Backup Radarr, Prowlarr, Sonarr config
|
- Backup Radarr, Prowlarr, Sonarr config
|
||||||
- Take a look into buildarr or build a custom solution with *arr apis
|
- Take a look into buildarr or build a custom solution with *arr apis
|
||||||
- [ ] Bitcoin-git: to test
|
- [ ] Bitcoin-git: broken
|
||||||
- [ ] Ntfy auth file
|
|
||||||
- [ ] Secrets mode 0444: not secure
|
- [ ] Secrets mode 0444: not secure
|
||||||
|
59
flake.lock
59
flake.lock
@ -129,27 +129,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-parts_2": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs-lib": [
|
|
||||||
"vpnconfinement",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1717285511,
|
|
||||||
"narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
@ -572,22 +551,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1717602782,
|
|
||||||
"narHash": "sha256-pL9jeus5QpX5R+9rsp3hhZ+uplVHscNJh8n8VpqscM0=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "e8057b67ebf307f01bdcc8fba94d94f75039d1f6",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixvim": {
|
"nixvim": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"devshell": "devshell",
|
"devshell": "devshell",
|
||||||
@ -660,8 +623,7 @@
|
|||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
"spicetify-nix": "spicetify-nix",
|
"spicetify-nix": "spicetify-nix"
|
||||||
"vpnconfinement": "vpnconfinement"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sf-arabic": {
|
"sf-arabic": {
|
||||||
@ -820,25 +782,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"vpnconfinement": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-parts": "flake-parts_2",
|
|
||||||
"nixpkgs": "nixpkgs_4"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1718924235,
|
|
||||||
"narHash": "sha256-lu78iQzZGBE9bIvlYgbBYiJ85wR5zSBUPjIQkg6cRQc=",
|
|
||||||
"owner": "Maroka-chan",
|
|
||||||
"repo": "VPN-Confinement",
|
|
||||||
"rev": "790f70888c69d55c92442e702647dc619dd7bc61",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "Maroka-chan",
|
|
||||||
"repo": "VPN-Confinement",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"xdph": {
|
"xdph": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprland-protocols": "hyprland-protocols",
|
"hyprland-protocols": "hyprland-protocols",
|
||||||
|
119
home/system/swaync/default.nix
Normal file
119
home/system/swaync/default.nix
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
{ pkgs, config, ... }: {
|
||||||
|
home.packages = with pkgs; [ libnotify ];
|
||||||
|
|
||||||
|
services.swaync = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
positionX = "right";
|
||||||
|
positionY = "top";
|
||||||
|
|
||||||
|
control-center-margin-top = 15;
|
||||||
|
control-center-margin-bottom = 15;
|
||||||
|
control-center-margin-right = 15;
|
||||||
|
control-center-margin-left = 15;
|
||||||
|
|
||||||
|
notification-icon-size = 32;
|
||||||
|
notification-body-image-height = 50;
|
||||||
|
notification-body-image-width = 50;
|
||||||
|
|
||||||
|
timeout-low = 5;
|
||||||
|
timeout = 10;
|
||||||
|
timeout-critical = 0;
|
||||||
|
|
||||||
|
fit-to-screen = true;
|
||||||
|
control-center-width = 500;
|
||||||
|
notification-window-width = 400;
|
||||||
|
|
||||||
|
keyboard-shortcuts = true;
|
||||||
|
image-visibility = "when-available";
|
||||||
|
|
||||||
|
transition-time = 200;
|
||||||
|
hide-on-clear = false;
|
||||||
|
hide-on-action = true;
|
||||||
|
script-fail-notify = true;
|
||||||
|
|
||||||
|
widgets = [
|
||||||
|
"inhibitors"
|
||||||
|
"title"
|
||||||
|
"buttons-grid"
|
||||||
|
"mpris"
|
||||||
|
"volume"
|
||||||
|
"backlight"
|
||||||
|
"dnd"
|
||||||
|
"notifications"
|
||||||
|
];
|
||||||
|
|
||||||
|
widget-config = {
|
||||||
|
title = {
|
||||||
|
text = "Notification Center";
|
||||||
|
clear-all-button = true;
|
||||||
|
button-text = " Clear All";
|
||||||
|
};
|
||||||
|
dnd = { text = "Do Not Disturb"; };
|
||||||
|
# label = {
|
||||||
|
# max-lines = 1;
|
||||||
|
# text = "Notification Center";
|
||||||
|
# };
|
||||||
|
mpris = {
|
||||||
|
image-size = 96;
|
||||||
|
image-radius = 7;
|
||||||
|
};
|
||||||
|
volume = { label = ""; };
|
||||||
|
backlight = { label = ""; };
|
||||||
|
"buttons-grid" = {
|
||||||
|
"actions" = [
|
||||||
|
{
|
||||||
|
"label" = "";
|
||||||
|
"command" = "systemctl poweroff";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" = "";
|
||||||
|
"command" = "systemctl reboot";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" = "";
|
||||||
|
"command" = "systemctl suspend";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" = "";
|
||||||
|
"command" = "${pkgs.hyprlock}/bin/hyprlock";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" = "";
|
||||||
|
"command" = "${pkgs.hyprland}/bin/hyprctl dispatch exit";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" = "";
|
||||||
|
"command" =
|
||||||
|
"${pkgs.pulseaudio}/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" = "";
|
||||||
|
"command" =
|
||||||
|
"${pkgs.pulseaudio}/bin/pactl set-source-mute @DEFAULT_SOURCE@ toggle";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" = "";
|
||||||
|
"command" = "${pkgs.blueman}/bin/blueman-manager";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" = "";
|
||||||
|
"command" =
|
||||||
|
"${pkgs.grimblast}/bin/grimblast --notify --freeze --wait 1 copysave area ~/Pictures/$(date +%Y-%m-%dT%H%M%S).png";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" = "";
|
||||||
|
"command" = "${pkgs.kooha}/bin/kooha";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
style = ''
|
||||||
|
* {
|
||||||
|
font-family: ${config.var.theme.font};
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
@ -34,12 +34,13 @@
|
|||||||
modules-center = [ "hyprland/workspaces" ];
|
modules-center = [ "hyprland/workspaces" ];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"tray"
|
"tray"
|
||||||
"backlight"
|
# "backlight"
|
||||||
"pulseaudio"
|
# "pulseaudio"
|
||||||
"custom/caffeine"
|
"custom/caffeine"
|
||||||
"custom/night-shift"
|
"custom/night-shift"
|
||||||
"battery"
|
"battery"
|
||||||
"clock"
|
"clock"
|
||||||
|
"custom/notification"
|
||||||
"custom/power"
|
"custom/power"
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -117,6 +118,27 @@
|
|||||||
on-click = "menu";
|
on-click = "menu";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"custom/notification" = {
|
||||||
|
tooltip = false;
|
||||||
|
format = "{} {icon}";
|
||||||
|
"format-icons" = {
|
||||||
|
notification = "";
|
||||||
|
none = "";
|
||||||
|
"dnd-notification" = " ";
|
||||||
|
"dnd-none" = "";
|
||||||
|
"inhibited-notification" = " ";
|
||||||
|
"inhibited-none" = "";
|
||||||
|
"dnd-inhibited-notification" = " ";
|
||||||
|
"dnd-inhibited-none" = " ";
|
||||||
|
};
|
||||||
|
"return-type" = "json";
|
||||||
|
"exec-if" = "which swaync-client";
|
||||||
|
exec = "swaync-client -swb";
|
||||||
|
"on-click" = "sleep 0.1 && swaync-client -t -sw";
|
||||||
|
"on-click-right" = "sleep 0.1 && swaync-client -d -sw";
|
||||||
|
escape = true;
|
||||||
|
};
|
||||||
|
|
||||||
battery = {
|
battery = {
|
||||||
format = "{capacity}% {icon}";
|
format = "{capacity}% {icon}";
|
||||||
"format-icons" = {
|
"format-icons" = {
|
||||||
@ -239,6 +261,7 @@
|
|||||||
|
|
||||||
#memory,
|
#memory,
|
||||||
#custom-power,
|
#custom-power,
|
||||||
|
#custom-notification,
|
||||||
#custom-caffeine,
|
#custom-caffeine,
|
||||||
#custom-night-shift,
|
#custom-night-shift,
|
||||||
#battery,
|
#battery,
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
../../home/scripts # All scripts
|
../../home/scripts # All scripts
|
||||||
|
|
||||||
# System (Desktop environment like stuff)
|
# System (Desktop environment like stuff)
|
||||||
../../home/system/dunst
|
# ../../home/system/dunst
|
||||||
../../home/system/gtk
|
../../home/system/gtk
|
||||||
../../home/system/zathura
|
../../home/system/zathura
|
||||||
../../home/system/hyprland
|
../../home/system/hyprland
|
||||||
@ -30,6 +30,7 @@
|
|||||||
../../home/system/wofi
|
../../home/system/wofi
|
||||||
../../home/system/mime
|
../../home/system/mime
|
||||||
../../home/system/udiskie
|
../../home/system/udiskie
|
||||||
|
../../home/system/swaync
|
||||||
|
|
||||||
./secrets # You should probably remove this line
|
./secrets # You should probably remove this line
|
||||||
];
|
];
|
||||||
@ -48,6 +49,8 @@
|
|||||||
wireguard-tools
|
wireguard-tools
|
||||||
|
|
||||||
# Dev
|
# Dev
|
||||||
|
wails
|
||||||
|
pkg-config
|
||||||
go
|
go
|
||||||
cargo
|
cargo
|
||||||
nodejs
|
nodejs
|
||||||
|
Loading…
Reference in New Issue
Block a user