Changed datatype from 'home.file.<name>.text' to 'home.file.<name>.source'
This commit is contained in:
@@ -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 (0–100) 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 1–4 in Hyprland, marking the active one.
|
||||
|
||||
Reference in New Issue
Block a user