Compare commits

...

1 Commits

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.