Compare commits

...

3 Commits

4 changed files with 35 additions and 34 deletions

View File

@@ -3,7 +3,7 @@
{ {
imports = [ imports = [
./01_shaders_bar-spectrum.nix ./01_shaders_bar-spectrum.nix
./02_shaders_nothern-lights.nix ./02_shaders_northern-lights.nix
./03_shaders_pass-through.nix ./03_shaders_pass-through.nix
./04_shaders_spectrogram.nix ./04_shaders_spectrogram.nix
./05_shaders_winamp-line-style-spectrum.nix ./05_shaders_winamp-line-style-spectrum.nix

View File

@@ -1,7 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
home.file.".config/eww/windows/ascii/audio_status.yuck".text = '' home.file.".config/eww/windows/ascii/audio_status.yuck".source = ''
;; audio_status ;; audio_status
;; Text displaying audio status. ;; Text displaying audio status.
;; Anchored top outside visualizer ;; Anchored top outside visualizer
@@ -19,7 +19,7 @@
) )
''; '';
home.file.".config/eww/windows/ascii/visualizer_window.yuck".text = '' home.file.".config/eww/windows/ascii/visualizer_window.yuck".source = ''
;; visualizer window ;; visualizer window
;; Displays ASCII visual for audio activity. ;; Displays ASCII visual for audio activity.
;; Anchored very top ;; Anchored very top
@@ -58,7 +58,7 @@
:class "visualizer-text")))) :class "visualizer-text"))))
''; '';
home.file.".config/eww/windows/bar/cpu_ram_storage_bars.yuck".text = '' home.file.".config/eww/windows/bar/cpu_ram_storage_bars.yuck".source = ''
;; CPU RAM Storage ;; CPU RAM Storage
;; Text displaying cpu load, ram usage, storage ;; Text displaying cpu load, ram usage, storage
;; Anchored middle left ;; Anchored middle left
@@ -104,7 +104,7 @@
) )
''; '';
home.file.".config/eww/windows/misc/welcome_text.yuck".text = '' home.file.".config/eww/windows/misc/welcome_text.yuck".source = ''
;; welcome text ;; welcome text
;; Text displaying date and weather in cyrilic ;; Text displaying date and weather in cyrilic
;; Anchored right screen ;; Anchored right screen
@@ -127,7 +127,7 @@
) )
''; '';
home.file.".config/eww/windows/net/ascii_decor_frame.yuck".text = '' home.file.".config/eww/windows/net/ascii_decor_frame.yuck".source = ''
;; ascii decor frame ;; ascii decor frame
;; Text displaying audio status. ;; Text displaying audio status.
;; Anchored top inside visualizer ;; Anchored top inside visualizer
@@ -145,7 +145,7 @@
) )
''; '';
home.file.".config/eww/windows/net/net_bars.yuck".text = '' home.file.".config/eww/windows/net/net_bars.yuck".source = ''
;; net bars ;; net bars
;; Text header and vectors showing network info ;; Text header and vectors showing network info
;; Anchored bottom ;; Anchored bottom
@@ -197,7 +197,7 @@
) )
''; '';
home.file.".config/eww/windows/net/right_internet_text.yuck".text = '' home.file.".config/eww/windows/net/right_internet_text.yuck".source = ''
;; right internet text ;; right internet text
;; Text displaying ping and vpn status ;; Text displaying ping and vpn status
;; Anchored top very bottom right ;; Anchored top very bottom right
@@ -223,7 +223,7 @@
) )
''; '';
home.file.".config/eww/windows/sys/active_workspace.yuck".text = '' home.file.".config/eww/windows/sys/active_workspace.yuck".source = ''
;; active workspace ;; active workspace
;; Text displaying active/inactive workspaces ;; Text displaying active/inactive workspaces
;; Anchored middle right ;; Anchored middle right
@@ -274,7 +274,7 @@
;; (label :text "Workspace 4" :class "label-primary"))) ;; (label :text "Workspace 4" :class "label-primary")))
''; '';
home.file.".config/eww/windows/sys/four_boxes.yuck".text = '' home.file.".config/eww/windows/sys/four_boxes.yuck".source = ''
;; four boxes ;; four boxes
;; four boxes showing uptime, battery life, cpu temp, gpu temp ;; four boxes showing uptime, battery life, cpu temp, gpu temp
;; Anchored top ;; Anchored top
@@ -320,7 +320,7 @@
) )
''; '';
home.file.".config/eww/windows/sys/orange_workspace.yuck".text = '' home.file.".config/eww/windows/sys/orange_workspace.yuck".source = ''
;; orange workspace ;; orange workspace
;; Vectors displaying reactor number in cyrilic text ;; Vectors displaying reactor number in cyrilic text
;; Anchored middle right ;; Anchored middle right
@@ -339,7 +339,7 @@
(box :class "info-right-box" :valign "end" :halign "start" (label :text "Г4" :class "info-right-text" )))) (box :class "info-right-box" :valign "end" :halign "start" (label :text "Г4" :class "info-right-text" ))))
''; '';
home.file.".config/eww/windows/sys/power_cooling_header_text.yuck".text = '' home.file.".config/eww/windows/sys/power_cooling_header_text.yuck".source = ''
;; power cooling header ;; power cooling header
;; Text displaying header for cooling and power ;; Text displaying header for cooling and power
;; Anchored bottom ;; Anchored bottom
@@ -364,7 +364,7 @@
) )
''; '';
home.file.".config/eww/windows/sys/power_mode_text.yuck".text = '' home.file.".config/eww/windows/sys/power_mode_text.yuck".source = ''
;; power mode text ;; power mode text
;; Text displaying power in cyrilic text ;; Text displaying power in cyrilic text
;; Anchored bottom left ;; Anchored bottom left
@@ -410,7 +410,7 @@
) )
''; '';
home.file.".config/eww/windows/sys/right_fan-data.yuck".text = '' home.file.".config/eww/windows/sys/right_fan-data.yuck".source = ''
;; right fan data ;; right fan data
;; Text displaying cooling and fan RPM ;; Text displaying cooling and fan RPM
;; Anchored bottom right ;; Anchored bottom right
@@ -451,7 +451,7 @@
) )
''; '';
home.file.".config/eww/windows/sys/workspace_window_text.yuck".text = '' home.file.".config/eww/windows/sys/workspace_window_text.yuck".source = ''
;; workspace window text ;; workspace window text
;; Text and ascii showing active workspace number ;; Text and ascii showing active workspace number
;; Anchored top middle ;; Anchored top middle

View File

@@ -1,7 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
home.file.".config/eww/scripts/ascii/ascii_core_layout.sh".file = '' home.file.".config/eww/scripts/ascii/ascii_core_layout.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# ascii_core_layout.sh # ascii_core_layout.sh
@@ -22,7 +22,7 @@
EOF EOF
''; '';
home.file.".config/eww/scripts/audio/audio_cava_status.sh".file = '' home.file.".config/eww/scripts/audio/audio_cava_status.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# Checks whether the ASCII visualizer output file (/tmp/visualizer.txt) # Checks whether the ASCII visualizer output file (/tmp/visualizer.txt)
@@ -63,7 +63,7 @@
fi fi
''; '';
home.file.".config/eww/scripts/audio/audio_visualizer.py".text = '' home.file.".config/eww/scripts/audio/audio_visualizer.py".source = ''
#!/usr/bin/env python3 #!/usr/bin/env python3
# #
# °˖* ( )🍸 pewdiepie/archdaemon/dionysh shhheersh # °˖* ( )🍸 pewdiepie/archdaemon/dionysh shhheersh
@@ -209,7 +209,7 @@
main() main()
''; '';
home.file.".config/eww/scripts/bar/bar_render.sh" = '' home.file.".config/eww/scripts/bar/bar_render.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# Converts a numeric percentage (0100) into an ASCII block bar. # Converts a numeric percentage (0100) into an ASCII block bar.
@@ -238,7 +238,7 @@
echo "$bar" echo "$bar"
''; '';
home.file.".config/eww/scripts/net/net_download.sh".text = '' home.file.".config/eww/scripts/net/net_download.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# net_download.sh # net_download.sh
@@ -268,7 +268,7 @@
echo $percent echo $percent
''; '';
home.file.".config/eww/scripts/net/net_download_bar.sh".text = '' home.file.".config/eww/scripts/net/net_download_bar.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# upload_bar.sh # upload_bar.sh
@@ -314,7 +314,7 @@
done done
''; '';
home.file.".config/eww/scripts/net/net_ping.sh".text = '' home.file.".config/eww/scripts/net/net_ping.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# net_ping.sh # net_ping.sh
@@ -333,7 +333,7 @@
|| echo 0 || echo 0
''; '';
home.file.".config/eww/scripts/net/ping_latency.sh".text = '' home.file.".config/eww/scripts/net/ping_latency.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# net_ping_latency.sh # net_ping_latency.sh
@@ -379,7 +379,7 @@
done done
''; '';
home.file.".config/eww/scripts/net/net_upload.sh".text = '' home.file.".config/eww/scripts/net/net_upload.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# net_upload.sh # net_upload.sh
@@ -406,7 +406,7 @@
echo $percent echo $percent
''; '';
home.file.".config/eww/scripts/net/net_upload_bar.sh".text = '' home.file.".config/eww/scripts/net/net_upload_bar.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# upload_bar.sh # upload_bar.sh
@@ -452,7 +452,7 @@
done done
''; '';
home.file.".config/eww/scripts/net/net_vpn.sh".text = '' home.file.".config/eww/scripts/net/net_vpn.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# net_vpn.sh # net_vpn.sh
@@ -468,7 +468,7 @@
fi fi
''; '';
home.file.".config/eww/scripts/net/net_vpn_bar.sh".text = '' home.file.".config/eww/scripts/net/net_vpn_bar.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# ~/.config/eww/scripts/net/net_vpn_bar.sh # ~/.config/eww/scripts/net/net_vpn_bar.sh
# Render a 5-line bar directly based on VPN (ipsec) status. # Render a 5-line bar directly based on VPN (ipsec) status.
@@ -488,7 +488,7 @@
fi fi
''; '';
home.file.".config/eww/scripts/net/net_vpn_status.sh".text = '' home.file.".config/eww/scripts/net/net_vpn_status.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# ~/.config/eww/scripts/net/net_vpn_status.sh # ~/.config/eww/scripts/net/net_vpn_status.sh
# Show VPN status + country (for Eww) # Show VPN status + country (for Eww)
@@ -502,7 +502,7 @@
fi fi
''; '';
home.file.".config/eww/scripts/sys/sys_cpu_voltage.sh".text = '' home.file.".config/eww/scripts/sys/sys_cpu_voltage.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# sys_dc_voltage.sh # sys_dc_voltage.sh
@@ -513,7 +513,7 @@
sensors | awk '/vddnb:/ {printf "%s mV\n", $2}' || echo "N/A" sensors | awk '/vddnb:/ {printf "%s mV\n", $2}' || echo "N/A"
''; '';
home.file.".config/eww/scripts/sys/sys_dc_voltage.sh".text = '' home.file.".config/eww/scripts/sys/sys_dc_voltage.sh".source = ''
#!/bin/bash #!/bin/bash
# #
# sys_cpu_voltage.sh # sys_cpu_voltage.sh
@@ -524,7 +524,7 @@
sensors | awk '/in0:/ {print $2 " V"}' || echo "N/A" sensors | awk '/in0:/ {print $2 " V"}' || echo "N/A"
''; '';
home.file.".config/eww/scripts/sys/sys_fan_bar.sh".text = '' home.file.".config/eww/scripts/sys/sys_fan_bar.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# bar_render.sh # bar_render.sh
@@ -550,7 +550,7 @@
echo "$bar" echo "$bar"
''; '';
home.file.".config/eww/scripts/sys/sys_fan_spin.sh".text = '' home.file.".config/eww/scripts/sys/sys_fan_spin.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# Script: sys_fan_spin.sh # Script: sys_fan_spin.sh
@@ -593,7 +593,7 @@
fi fi
''; '';
home.file.".config/eww/scripts/sys/sys_gpu_voltage.sh".text = '' home.file.".config/eww/scripts/sys/sys_gpu_voltage.sh".source = ''
#!/bin/bash #!/bin/bash
# ───────────────────────────────────────────────────────────────────────────── # ─────────────────────────────────────────────────────────────────────────────
# Reads NVIDIA GPU voltage using nvidia-smi and prints it in millivolts. # Reads NVIDIA GPU voltage using nvidia-smi and prints it in millivolts.
@@ -601,7 +601,7 @@
sensors | awk '/vddgfx/ {print $2 " mV"}' || echo "N/A" sensors | awk '/vddgfx/ {print $2 " mV"}' || echo "N/A"
''; '';
home.file.".config/eww/scripts/sys/sys_workspace.sh".text = '' home.file.".config/eww/scripts/sys/sys_workspace.sh".source = ''
#!/usr/bin/env bash #!/usr/bin/env bash
# ───────────────────────────────────────────────────────────────────────────── # ─────────────────────────────────────────────────────────────────────────────
# Prints the status of workspaces 14 in Hyprland, marking the active one. # Prints the status of workspaces 14 in Hyprland, marking the active one.

View File

@@ -11,6 +11,7 @@
]; ];
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
# nix.registry.nixpkgs.flake = nixpkgs; # nix.registry.nixpkgs.flake = nixpkgs;
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
environment.extraInit = '' environment.extraInit = ''