feat: copied some configuration from JaKooLit & ZaneyOS configs

This commit is contained in:
installer
2024-12-17 18:16:52 +01:00
parent cf474f88f1
commit 91b52f2921
15 changed files with 878 additions and 219 deletions

View File

@@ -0,0 +1,15 @@
{ pkgs }:
pkgs.writeShellScriptBin "rainbow-border" ''
#!/bin/bash
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# for rainbow borders animation
function random_hex() {
random_hex=("0xff$(openssl rand -hex 3)")
echo $random_hex
}
# rainbow colors only for active window
hyprctl keyword general:col.active_border $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) $(random_hex) 270deg
''

5
scripts/screenshot.nix Normal file
View File

@@ -0,0 +1,5 @@
{ pkgs }:
pkgs.writeShellScriptBin "screenshot" ''
grim -g "$(slurp)" - | swappy -f -
''