Compare commits

..

3 Commits

4 changed files with 35 additions and 34 deletions

View File

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

View File

@@ -1,7 +1,7 @@
{ config, pkgs, ... }:
{
home.file.".config/eww/windows/ascii/audio_status.yuck".text = ''
home.file.".config/eww/windows/ascii/audio_status.yuck".source = ''
;; audio_status
;; Text displaying audio status.
;; 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
;; Displays ASCII visual for audio activity.
;; Anchored very top
@@ -58,7 +58,7 @@
: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
;; Text displaying cpu load, ram usage, storage
;; 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
;; Text displaying date and weather in cyrilic
;; 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
;; Text displaying audio status.
;; 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
;; Text header and vectors showing network info
;; 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
;; Text displaying ping and vpn status
;; 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
;; Text displaying active/inactive workspaces
;; Anchored middle right
@@ -274,7 +274,7 @@
;; (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 showing uptime, battery life, cpu temp, gpu temp
;; 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
;; Vectors displaying reactor number in cyrilic text
;; Anchored middle right
@@ -339,7 +339,7 @@
(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
;; Text displaying header for cooling and power
;; 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
;; Text displaying power in cyrilic text
;; 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
;; Text displaying cooling and fan RPM
;; 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
;; Text and ascii showing active workspace number
;; Anchored top middle

View File

@@ -1,7 +1,7 @@
{ 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
#
# ascii_core_layout.sh
@@ -22,7 +22,7 @@
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
#
# Checks whether the ASCII visualizer output file (/tmp/visualizer.txt)
@@ -63,7 +63,7 @@
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
#
# °˖* ( )🍸 pewdiepie/archdaemon/dionysh shhheersh
@@ -209,7 +209,7 @@
main()
'';
home.file.".config/eww/scripts/bar/bar_render.sh" = ''
home.file.".config/eww/scripts/bar/bar_render.sh".source = ''
#!/usr/bin/env bash
#
# Converts a numeric percentage (0100) into an ASCII block bar.
@@ -238,7 +238,7 @@
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
#
# net_download.sh
@@ -268,7 +268,7 @@
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
#
# upload_bar.sh
@@ -314,7 +314,7 @@
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
#
# net_ping.sh
@@ -333,7 +333,7 @@
|| 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
#
# net_ping_latency.sh
@@ -379,7 +379,7 @@
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
#
# net_upload.sh
@@ -406,7 +406,7 @@
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
#
# upload_bar.sh
@@ -452,7 +452,7 @@
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
#
# net_vpn.sh
@@ -468,7 +468,7 @@
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
# ~/.config/eww/scripts/net/net_vpn_bar.sh
# Render a 5-line bar directly based on VPN (ipsec) status.
@@ -488,7 +488,7 @@
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
# ~/.config/eww/scripts/net/net_vpn_status.sh
# Show VPN status + country (for Eww)
@@ -502,7 +502,7 @@
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
#
# sys_dc_voltage.sh
@@ -513,7 +513,7 @@
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
#
# sys_cpu_voltage.sh
@@ -524,7 +524,7 @@
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
#
# bar_render.sh
@@ -550,7 +550,7 @@
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
#
# Script: sys_fan_spin.sh
@@ -593,7 +593,7 @@
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
# ─────────────────────────────────────────────────────────────────────────────
# 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"
'';
home.file.".config/eww/scripts/sys/sys_workspace.sh".text = ''
home.file.".config/eww/scripts/sys/sys_workspace.sh".source = ''
#!/usr/bin/env bash
# ─────────────────────────────────────────────────────────────────────────────
# 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.registry.nixpkgs.flake = nixpkgs;
nixpkgs.config.allowUnfree = true;
environment.extraInit = ''