Compare commits

...

4 commits

Author SHA1 Message Date
fwastring
ac9462c677 lazygit and mermaid cli for dev 2025-10-10 16:31:49 +02:00
fwastring
4fe5cd9a87 Removed old programs 2025-10-10 16:31:39 +02:00
fwastring
991d016e3c Added confetti flake :) 2025-10-10 16:31:31 +02:00
fwastring
e8d8704b70 Waybar config 2025-10-10 16:31:26 +02:00
12 changed files with 317 additions and 162 deletions

180
flake.lock generated
View file

@ -20,11 +20,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1755946532, "lastModified": 1759499898,
"narHash": "sha256-POePremlUY5GyA1zfbtic6XLxDaQcqHN6l+bIxdT5gc=", "narHash": "sha256-UNzYHLWfkSzLHDep5Ckb5tXc0fdxwPIrT+MY4kpQttM=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "aquamarine", "repo": "aquamarine",
"rev": "81584dae2df6ac79f6b6dae0ecb7705e95129ada", "rev": "655e067f96fd44b3f5685e17f566b0e4d535d798",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -123,11 +123,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1759829282, "lastModified": 1759854845,
"narHash": "sha256-mg+XLmTnQr3o8CT88P1zsKSXRBWZyjF/n686HZp9Els=", "narHash": "sha256-3r2wzF+7VYqlSdh3y8z2ZBf9yt9KFWpGusmHYJYt0ak=",
"ref": "main", "ref": "main",
"rev": "cb6fa4450ae8e3e8920b307ea2b5684b4567e049", "rev": "aa6db50822ea9ba67472b4da55e14a597bfdc8a0",
"revCount": 1, "revCount": 2,
"type": "git", "type": "git",
"url": "https://git.wastring.com/fw/confetti" "url": "https://git.wastring.com/fw/confetti"
}, },
@ -140,11 +140,11 @@
"firefox-gnome-theme": { "firefox-gnome-theme": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1756083905, "lastModified": 1758112371,
"narHash": "sha256-UqYGTBgI5ypGh0Kf6zZjom/vABg7HQocB4gmxzl12uo=", "narHash": "sha256-lizRM2pj6PHrR25yimjyFn04OS4wcdbc38DCdBVa2rk=",
"owner": "rafaelmardojai", "owner": "rafaelmardojai",
"repo": "firefox-gnome-theme", "repo": "firefox-gnome-theme",
"rev": "b655eaf16d4cbec9c3472f62eee285d4b419a808", "rev": "0909cfe4a2af8d358ad13b20246a350e14c2473d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -209,11 +209,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1756770412, "lastModified": 1759362264,
"narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=", "narHash": "sha256-wfG0S7pltlYyZTM+qqlhJ7GMw2fTF4mLKCIVhLii/4M=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "4524271976b625a4a605beefd893f270620fd751", "rev": "758cf7296bee11f1706a574c77d072b8a7baa881",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -223,27 +223,6 @@
} }
}, },
"flake-parts_2": { "flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"neovim-nightly-overlay",
"hercules-ci-effects",
"nixpkgs"
]
},
"locked": {
"lastModified": 1754487366,
"narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18",
"type": "github"
},
"original": {
"id": "flake-parts",
"type": "indirect"
}
},
"flake-parts_3": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"stylix", "stylix",
@ -308,11 +287,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1758108966, "lastModified": 1759523803,
"narHash": "sha256-ytw7ROXaWZ7OfwHrQ9xvjpUWeGVm86pwnEd1QhzawIo=", "narHash": "sha256-PTod9NG+i3XbbnBKMl/e5uHDBYpwIWivQ3gOWSEuIEM=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "54df955a695a84cd47d4a43e08e1feaf90b1fd9b", "rev": "cfc9f7bb163ad8542029d303e599c0f7eee09835",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -384,7 +363,10 @@
}, },
"hercules-ci-effects": { "hercules-ci-effects": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_2", "flake-parts": [
"neovim-nightly-overlay",
"flake-parts"
],
"nixpkgs": [ "nixpkgs": [
"neovim-nightly-overlay", "neovim-nightly-overlay",
"nixpkgs" "nixpkgs"
@ -411,11 +393,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1758184248, "lastModified": 1759853171,
"narHash": "sha256-TOazVsj8D1LTGQ6q8xdtfoPs9Z+PiqUS952WvZPssR0=", "narHash": "sha256-uqbhyXtqMbYIiMqVqUhNdSuh9AEEkiasoK3mIPIVRhk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "bf7056c6a2d893d80db18d06d7e730d6515aaae8", "rev": "1a09eb84fa9e33748432a5253102d01251f72d6d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -469,11 +451,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1757542864, "lastModified": 1759490292,
"narHash": "sha256-8i9tsVoOmLQDHJkNgzJWnmxYFGkJNsSndimYpCoqmoA=", "narHash": "sha256-T6iWzDOXp8Wv0KQOCTHpBcmAOdHJ6zc/l9xaztW6Ivc=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprgraphics", "repo": "hyprgraphics",
"rev": "aa9d14963b94186934fd0715d9a7f0f2719e64bb", "rev": "9431db625cd9bb66ac55525479dce694101d6d7a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -498,11 +480,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1758110629, "lastModified": 1759837778,
"narHash": "sha256-uHE+FdhKBohAUeO29034b68RN0ITf/KRy2tkaXQdLCY=", "narHash": "sha256-12GZqSrRYyhKl7NpNMUQECDi/Zyx17QZhhQ7+mBJMns=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "1cb8cd3930e2c8410bbc99baa0a5bea91994bd71", "rev": "5ba2d2217b649c4ca2db7e3f383b3f6af6e70d65",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -591,11 +573,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1757508108, "lastModified": 1759080228,
"narHash": "sha256-bTYedtQFqqVBAh42scgX7+S3O6XKLnT6FTC6rpmyCCc=", "narHash": "sha256-RgDoAja0T1hnF0pTc56xPfLfFOO8Utol2iITwYbUhTk=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprland-qtutils", "repo": "hyprland-qtutils",
"rev": "119bcb9aa742658107b326c50dcd24ab59b309b7", "rev": "629b15c19fa4082e4ce6be09fdb89e8c3312aed7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -620,11 +602,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1756810301, "lastModified": 1758927902,
"narHash": "sha256-wgZ3VW4VVtjK5dr0EiK9zKdJ/SOqGIBXVG85C3LVxQA=", "narHash": "sha256-LZgMds7M94+vuMql2bERQ6LiFFdhgsEFezE4Vn+Ys3A=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprlang", "repo": "hyprlang",
"rev": "3d63fb4a42c819f198deabd18c0c2c1ded1de931", "rev": "4dafa28d4f79877d67a7d1a654cddccf8ebf15da",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -645,11 +627,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1756117388, "lastModified": 1759490926,
"narHash": "sha256-oRDel6pNl/T2tI+nc/USU9ZP9w08dxtl7hiZxa0C/Wc=", "narHash": "sha256-7IbZGJ5qAAfZsGhBHIsP8MBsfuFYS0hsxYHVkkeDG5Q=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprutils", "repo": "hyprutils",
"rev": "b2ae3204845f5f2f79b4703b441252d8ad2ecfd0", "rev": "94cce794344538c4d865e38682684ec2bbdb2ef3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -690,11 +672,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1748977843, "lastModified": 1758260686,
"narHash": "sha256-0gXtFVan+Urb79AjFOjHdjl3Q73m8M3wFSo3ZhjxcBA=", "narHash": "sha256-k/rEvNWUTge1uYwwSMfgM7CDoKanIm8ED3vo5mqDe08=",
"owner": "niksingh710", "owner": "niksingh710",
"repo": "minimal-tmux-status", "repo": "minimal-tmux-status",
"rev": "de2bb049a743e0f05c08531a0461f7f81da0fc72", "rev": "118b44b05b3fb4e46a38373ddcef35d4c5e2d01e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -714,11 +696,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1758153943, "lastModified": 1759795531,
"narHash": "sha256-jXnUMejhammEWX6rqC+bKRNN8k6kWlXUwZ8GrUqLXeA=", "narHash": "sha256-iY43k/GpJJqv5WmHsJpDsOZsOqb2qydM7wWnpJygiUk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "neovim-nightly-overlay", "repo": "neovim-nightly-overlay",
"rev": "500b1019f07a48adf8f42c57deb5f44f6e9b6eff", "rev": "df3d6d30529e6f4d2c1709914cb3e6e3896dd64e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -730,11 +712,11 @@
"neovim-src": { "neovim-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1758137374, "lastModified": 1759794827,
"narHash": "sha256-cNyIdXePxgwHy2rLm/M0wXl3lc+ZmvBNhO1tQBDU0v4=", "narHash": "sha256-eN26ZJbzwuv0fvc33v4vR5hESWr/+TzJUXaKfdUQx+I=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "5148c1247e4dffbe59bebb89084a285bb9f50677", "rev": "1c4e0e50449d95465e7f256d39fea54b307e0e33",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -777,11 +759,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1757487488, "lastModified": 1759381078,
"narHash": "sha256-zwE/e7CuPJUWKdvvTCB7iunV4E/+G0lKfv4kk/5Izdg=", "narHash": "sha256-gTrEEp5gEspIcCOx9PD8kMaF1iEmfBcTbO0Jag2QhQs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ab0f3607a6c7486ea22229b92ed2d355f1482ee0", "rev": "7df7ff7d8e00218376575f0acdcc5d66741351ee",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -793,11 +775,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1758029226, "lastModified": 1759632233,
"narHash": "sha256-TjqVmbpoCqWywY9xIZLTf6ANFvDCXdctCjoYuYPYdMI=", "narHash": "sha256-krgZxGAIIIKFJS+UB0l8do3sYUDWJc75M72tepmVMzE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "08b8f92ac6354983f5382124fef6006cade4a1c1", "rev": "d7f52a7a640bc54c7bb414cca603835bf8dd4b10",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -809,11 +791,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1758035966, "lastModified": 1759733170,
"narHash": "sha256-qqIJ3yxPiB0ZQTT9//nFGQYn8X/PBoJbofA7hRKZnmE=", "narHash": "sha256-TXnlsVb5Z8HXZ6mZoeOAIwxmvGHp1g4Dw89eLvIwKVI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", "rev": "8913c168d1c56dc49a7718685968f38752171c3b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -851,11 +833,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1756961635, "lastModified": 1758998580,
"narHash": "sha256-hETvQcILTg5kChjYNns1fD5ELdsYB/VVgVmBtqKQj9A=", "narHash": "sha256-VLx0z396gDCGSiowLMFz5XRO/XuNV+4EnDYjdJhHvUk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "6ca27b2654ac55e3f6e0ca434c1b4589ae22b370", "rev": "ba8d9c98f5f4630bcb0e815ab456afd90c930728",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -874,11 +856,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1757588530, "lastModified": 1758108966,
"narHash": "sha256-tJ7A8mID3ct69n9WCvZ3PzIIl3rXTdptn/lZmqSS95U=", "narHash": "sha256-ytw7ROXaWZ7OfwHrQ9xvjpUWeGVm86pwnEd1QhzawIo=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "b084b2c2b6bc23e83bbfe583b03664eb0b18c411", "rev": "54df955a695a84cd47d4a43e08e1feaf90b1fd9b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -926,11 +908,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1758007585, "lastModified": 1759635238,
"narHash": "sha256-HYnwlbY6RE5xVd5rh0bYw77pnD8lOgbT4mlrfjgNZ0c=", "narHash": "sha256-UvzKi02LMFP74csFfwLPAZ0mrE7k6EiYaKecplyX9Qk=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "f77d4cfa075c3de66fc9976b80e0c4fc69e2c139", "rev": "6e5a38e08a2c31ae687504196a230ae00ea95133",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -946,7 +928,7 @@
"base16-helix": "base16-helix", "base16-helix": "base16-helix",
"base16-vim": "base16-vim", "base16-vim": "base16-vim",
"firefox-gnome-theme": "firefox-gnome-theme", "firefox-gnome-theme": "firefox-gnome-theme",
"flake-parts": "flake-parts_3", "flake-parts": "flake-parts_2",
"gnome-shell": "gnome-shell", "gnome-shell": "gnome-shell",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
@ -960,11 +942,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1757956156, "lastModified": 1759690047,
"narHash": "sha256-f0W7qbsCqpi6swQ5w8H+0YrAbNwsHgCFDkNRMTJjqrE=", "narHash": "sha256-Vlpa0d1xOgPO9waHwxJNi6LcD2PYqB3EjwLRtSxXlHc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "stylix", "repo": "stylix",
"rev": "0ce0103b498bb22f899ed8862d8d7f9503ed9cdb", "rev": "09022804b2bcd217f3a41a644d26b23d30375d12",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1054,11 +1036,11 @@
"tinted-schemes": { "tinted-schemes": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1754779259, "lastModified": 1757716333,
"narHash": "sha256-8KG2lXGaXLUE0F/JVwLQe7kOVm21IDfNEo0gfga5P4M=", "narHash": "sha256-d4km8W7w2zCUEmPAPUoLk1NlYrGODuVa3P7St+UrqkM=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "schemes", "repo": "schemes",
"rev": "097d751b9e3c8b97ce158e7d141e5a292545b502", "rev": "317a5e10c35825a6c905d912e480dfe8e71c7559",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1070,11 +1052,11 @@
"tinted-tmux": { "tinted-tmux": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1754788770, "lastModified": 1757811970,
"narHash": "sha256-LAu5nBr7pM/jD9jwFc6/kyFY4h7Us4bZz7dvVvehuwo=", "narHash": "sha256-n5ZJgmzGZXOD9pZdAl1OnBu3PIqD+X3vEBUGbTi4JiI=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "tinted-tmux", "repo": "tinted-tmux",
"rev": "fb2175accef8935f6955503ec9dd3c973eec385c", "rev": "d217ba31c846006e9e0ae70775b0ee0f00aa6b1e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1086,11 +1068,11 @@
"tinted-zed": { "tinted-zed": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1755613540, "lastModified": 1757811247,
"narHash": "sha256-zBFrrTxHLDMDX/OYxkCwGGbAhPXLi8FrnLhYLsSOKeY=", "narHash": "sha256-4EFOUyLj85NRL3OacHoLGEo0wjiRJzfsXtR4CZWAn6w=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "base16-zed", "repo": "base16-zed",
"rev": "937bada16cd3200bdbd3a2f5776fc3b686d5cba0", "rev": "824fe0aacf82b3c26690d14e8d2cedd56e18404e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1107,11 +1089,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1756662192, "lastModified": 1758728421,
"narHash": "sha256-F1oFfV51AE259I85av+MAia221XwMHCOtZCMcZLK2Jk=", "narHash": "sha256-ySNJ008muQAds2JemiyrWYbwbG+V7S5wg3ZVKGHSFu8=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "1aabc6c05ccbcbf4a635fb7a90400e44282f61c4", "rev": "5eda4ee8121f97b218f7cc73f5172098d458f1d1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -86,7 +86,7 @@
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
catppuccin.nixosModules.catppuccin catppuccin.nixosModules.catppuccin
confetti.nixosModules.confetti confetti.nixosModules.default
]; ];
}; };

View file

@ -54,6 +54,17 @@ in
./../../moduler/programs/waybar ./../../moduler/programs/waybar
inputs.catppuccin.homeModules.catppuccin inputs.catppuccin.homeModules.catppuccin
]; ];
waybar = {
enable = true;
# configPath = ./../../moduler/programs/waybar/waybar-laptop.jsonc;
};
gtk = {
enable = true;
iconTheme = {
name = "oomox-gruvbox-dark";
package = pkgs.gruvbox-dark-icons-gtk;
};
};
catppuccin = { catppuccin = {
librewolf = { librewolf = {
enable = true; enable = true;
@ -73,11 +84,11 @@ in
}; };
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
boot.extraModulePackages = [ # boot.extraModulePackages = [
(btusb.overrideAttrs (_: { # (btusb.overrideAttrs (_: {
patches = [ ../../moduler/btusb-add-mt7925.patch ]; # patches = [ ../../moduler/btusb-add-mt7925.patch ];
})) # }))
]; # ];
networking.hostName = myhostname; networking.hostName = myhostname;

View file

@ -35,6 +35,7 @@ in
dotnetCorePackages.dotnet_9.sdk dotnetCorePackages.dotnet_9.sdk
jira-cli-go jira-cli-go
gh gh
mermaid-cli
# Minio # Minio
awscli awscli

View file

@ -35,6 +35,7 @@
]; ];
shellAbbrs = { shellAbbrs = {
ls = "eza -l"; ls = "eza -l";
lg = "lazygit";
ka = "kubectl apply -f"; ka = "kubectl apply -f";
t = "timew"; t = "timew";
todo = "jira issue list -a 'Fredrik Wastring' -s ~Done -s ~Closed -s ~Released --plain"; todo = "jira issue list -a 'Fredrik Wastring' -s ~Done -s ~Closed -s ~Released --plain";

View file

@ -19,12 +19,11 @@ in
hyprland-qtutils hyprland-qtutils
waypipe waypipe
wmenu wmenu
playerctl playerctl
]; ];
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
font-awesome font-awesome
]; ];
services = { services = {
@ -149,9 +148,9 @@ in
}; };
decoration = { decoration = {
rounding = 0; rounding = 10;
active_opacity = 0.9; active_opacity = 0.8;
inactive_opacity = 0.8; inactive_opacity = 0.7;
fullscreen_opacity = 0.9; fullscreen_opacity = 0.9;
blur = { blur = {
@ -275,7 +274,7 @@ in
# Screencapture # Screencapture
"$mod SHIFT, s, exec, ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png" "$mod SHIFT, s, exec, ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png"
# special # special
"SUPER+SHIFT, code:201, exec, confetti" "SUPER+SHIFT, code:201, exec, confetti"
]; ];
@ -284,6 +283,15 @@ in
"$mod, mouse:273, resizewindow" "$mod, mouse:273, resizewindow"
]; ];
windowrulev2 = [
"float, class:^(org.pulseaudio.pavucontrol)$"
"size 500 400, class:^(org.pulseaudio.pavucontrol)"
"move onscreen cursor -250 0, class:^(org.pulseaudio.pavucontrol)"
"float, title:^(Bluetooth Devices)$"
"size 500 400, title:^(Bluetooth Devices)"
"move onscreen cursor -250 0, title:^(Bluetooth Devices)"
];
env = [ env = [
"NIXOS_OZONE_WL,1" "NIXOS_OZONE_WL,1"
"_JAVA_AWT_WM_NONREPARENTING,1" "_JAVA_AWT_WM_NONREPARENTING,1"

View file

@ -27,7 +27,6 @@
feishin feishin
signal-desktop signal-desktop
thunderbird thunderbird
libreoffice
discord discord
slack slack
speedcrunch speedcrunch
@ -36,7 +35,7 @@
via via
drawio drawio
freecad-wayland freecad-wayland
kdePackages.okular evince
angryipscanner angryipscanner
vlc vlc

View file

@ -1,4 +1,5 @@
{ {
lib,
config, config,
inputs, inputs,
pkgs, pkgs,
@ -6,18 +7,32 @@
}: }:
let let
in in
with lib;
{ {
programs = { options = {
waybar = { waybar = {
enable = true; enable = mkEnableOption "enables waybar";
systemd = { configPath = lib.mkOption {
enable = true; type = lib.types.path;
default = ./waybar.jsonc;
description = "The path to the waybar config";
}; };
}; };
}; };
xdg.configFile."waybar/config.jsonc".source = ./waybar.jsonc; config = mkIf config.waybar.enable {
xdg.configFile."waybar/style.css".source = ./waybar.css; programs = {
waybar = {
enable = true;
systemd = {
enable = true;
};
};
};
xdg.configFile."waybar/config.jsonc".source = config.waybar.configPath;
xdg.configFile."waybar/style.css".source = ./waybar.css;
};
# catppuccin.waybar = { # catppuccin.waybar = {
# enable = true; # enable = true;
# flavor = "latte"; # flavor = "latte";

View file

@ -0,0 +1,77 @@
{
"layer": "top",
"position": "top",
"margin-top": 10,
"margin-left": 14,
"margin-right": 14,
"spacing": 12,
"modules-left": [
"hyprland/workspaces"
],
"modules-right": [
"mpris",
"bluetooth",
"pulseaudio",
"upower",
"clock"
],
"mpris": {
"player": "Feishin",
"format": "{player_icon} {title} — {artist}",
"format-paused": " {player_icon} {title}",
"format-stopped": "",
"player-icons": {
"default": "",
"Feishin": ""
},
"max-length": 45,
"interval": 1,
"tooltip": true,
"tooltip-format": "{player} — {status}\n{artist}\n{title}\n{album}",
"on-click": "playerctl -p Feishin play-pause",
"on-scroll-up": "playerctl -p Feishin next",
"on-scroll-down": "playerctl -p Feishin previous"
},
"bluetooth": {
"format": " {status}",
"format-connected": " {device_alias}",
"format-connected-battery": " {device_alias} {device_battery_percentage}%",
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
"on-click": "pgrep .blueman-manage && pkill .blueman-manage || blueman-manager &"
},
"upower": {
"icon-size": 20,
"hide-if-empty": true,
"tooltip": true,
"tooltip-spacing": 20
},
"pulseaudio": {
//"scroll-step": 1,
"format": "{icon} {volume}%",
"format-bluetooth": "{icon}  {volume}%",
"format-muted": "",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": [
"",
""
]
},
"on-click": "pgrep pavucontrol && pkill pavucontrol || pavucontrol &"
},
"clock": {
"format": "{:%c}",
"locale": "sv_SE.UTF-8",
"tooltip": true,
"tooltip-format": "{:%A, %d %B %Y}\n %H:%M:%S",
"interval": 1
}
}

View file

@ -15,33 +15,33 @@
/* -------- Base Styles -------- */ /* -------- Base Styles -------- */
* { * {
font-family: "FiraCode Nerd Font Bold", "Font Awesome 7 Free Regular", sans-serif; font-family: "FiraCode Nerd Font", "Font Awesome 7 Free";
font-size: 15px; font-size: 15px;
} }
window#waybar { window#waybar {
background: @mocha-base; /* background: @mocha-base; */
background: transparent;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
transition: background-color .35s ease, color .35s ease; transition: background-color .35s ease, color .35s ease;
padding: 4px 8px;
} }
window#waybar.hidden { opacity: 0.2; } window#waybar.hidden { opacity: 0.2; }
window#waybar.termite { background: @mocha-mantle; } window#waybar.termite { background: @mocha-base; }
window#waybar.chromium { background: @mocha-base; border: none; } window#waybar.chromium { background: @mocha-base; border: none; }
/* -------- Module “pill” look -------- */ /* -------- Module “pill” look -------- */
#workspaces, #clock, #mpris { #workspaces, #clock, #mpris, #pulseaudio, #bluetooth, #upower {
background: @mocha-mantle; background: @mocha-base;
border: 1px solid @mocha-surface2; border: none;
border-radius: 10px; border-radius: 5px;
padding: 3px 8px; padding: 3px 8px;
} }
/* consistent gaps between modules */ /* consistent gaps between modules */
.modules-left > widget, .modules-right > widget { .modules-left > widget, .modules-right > widget {
margin: 0 6px; margin: 0 15px;
} }
.modules-left > widget:first-child { margin-left: 0; } .modules-left > widget:first-child { margin-left: 0; }
.modules-right > widget:last-child { margin-right: 0; } .modules-right > widget:last-child { margin-right: 0; }
@ -73,8 +73,7 @@ button:active {
/* -------- Workspaces -------- */ /* -------- Workspaces -------- */
#workspaces { #workspaces {
padding: 4px 6px; background: @mocha-base;
background: @mocha-mantle;
} }
#workspaces button { #workspaces button {
@ -106,16 +105,38 @@ button:active {
color: @mocha-base; color: @mocha-base;
font-weight: 600; font-weight: 600;
letter-spacing: 0.2px; letter-spacing: 0.2px;
padding: 4px 10px;
} }
/* -------- Clock -------- */ /* -------- Mpris -------- */
#mpris { #mpris {
background: @mocha-peach; background: @mocha-peach;
color: @mocha-base; color: @mocha-base;
font-weight: 600; font-weight: 600;
letter-spacing: 0.2px; letter-spacing: 0.2px;
padding: 4px 10px; }
/* -------- Pavu -------- */
#pulseaudio {
background: @mocha-peach;
color: @mocha-base;
font-weight: 600;
letter-spacing: 0.2px;
}
/* -------- Bluetooth -------- */
#bluetooth {
background: @mocha-peach;
color: @mocha-base;
font-weight: 600;
letter-spacing: 0.2px;
}
/* -------- Upower -------- */
#bluetooth {
background: @mocha-peach;
color: @mocha-base;
font-weight: 600;
letter-spacing: 0.2px;
} }
/* -------- Helpers -------- */ /* -------- Helpers -------- */

View file

@ -1,29 +1,70 @@
{ {
"layer": "top", "layer": "top",
"position": "top", "position": "top",
"margin-top": 10,
"modules-left": ["hyprland/workspaces"], "margin-left": 14,
"modules-right": ["mpris","clock"], "margin-right": 14,
"mpris": { "spacing": 12,
"player": "Feishin", "modules-left": [
"format": "{player_icon} {artist} — {title}", "hyprland/workspaces"
"format-paused": "{player_icon} {title}", ],
"format-stopped": "", "modules-right": [
"player-icons": { "default": "", "Feishin": "" }, "mpris",
"max-length": 45, "bluetooth",
"interval": 1, "pulseaudio",
"tooltip": true, "clock"
"tooltip-format": "{player} — {status}\n{artist}\n{title}\n{album}", ],
"on-click": "playerctl -p Feishin play-pause", "mpris": {
"on-scroll-up": "playerctl -p Feishin next", "player": "Feishin",
"on-scroll-down": "playerctl -p Feishin previous" "format": "{player_icon} {title} — {artist}",
}, "format-paused": " {player_icon} {title}",
"format-stopped": "",
"clock": { "player-icons": {
"format": "{:%c}", "default": "",
"locale": "sv_SE.UTF-8", "Feishin": ""
"tooltip": true, },
"tooltip-format": "{:%A, %d %B %Y}\n %H:%M:%S", "max-length": 45,
"interval": 1 "interval": 1,
} "tooltip": true,
"tooltip-format": "{player} — {status}\n{artist}\n{title}\n{album}",
"on-click": "playerctl -p Feishin play-pause",
"on-scroll-up": "playerctl -p Feishin next",
"on-scroll-down": "playerctl -p Feishin previous"
},
"bluetooth": {
"format": " {status}",
"format-connected": " {device_alias}",
"format-connected-battery": " {device_alias} {device_battery_percentage}%",
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
"on-click": "pgrep .blueman-manage && pkill .blueman-manage || blueman-manager &"
},
"pulseaudio": {
//"scroll-step": 1,
"format": "{icon} {volume}%",
"format-bluetooth": "{icon}  {volume}%",
"format-muted": "",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": [
"",
""
]
},
"on-click": "pgrep pavucontrol && pkill pavucontrol || pavucontrol &"
},
"clock": {
"format": "{:%c}",
"locale": "sv_SE.UTF-8",
"tooltip": true,
"tooltip-format": "{:%A, %d %B %Y}\n %H:%M:%S",
"interval": 1
}
} }

View file

@ -58,7 +58,6 @@
# system call monitoring # system call monitoring
strace # system call monitoring strace # system call monitoring
ltrace # library call monitoring
lsof # list open files lsof # list open files
# system tools # system tools