From 4f3cd46f96649ff988d2131ed27e70f3d36e1ab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 18 Dec 2023 16:09:24 +0800 Subject: [PATCH] Presets: rename all flag based files to `*.conf` --- presets/{all => all.conf} | 2 ++ presets/{btw => btw.conf} | 2 ++ presets/examples/1 | 1 - presets/examples/{2 => 2.conf} | 2 +- presets/examples/{3 => 3.conf} | 2 +- presets/examples/{4 => 4.conf} | 2 +- presets/examples/{5 => 5.conf} | 2 +- presets/{hardware => hardware.conf} | 2 ++ presets/{neofetch => neofetch.conf} | 2 ++ presets/{paleofetch => paleofetch.conf} | 2 ++ presets/{software => software.conf} | 2 ++ 11 files changed, 16 insertions(+), 5 deletions(-) rename presets/{all => all.conf} (89%) rename presets/{btw => btw.conf} (60%) delete mode 100644 presets/examples/1 rename presets/examples/{2 => 2.conf} (95%) rename presets/examples/{3 => 3.conf} (76%) rename presets/examples/{4 => 4.conf} (70%) rename presets/examples/{5 => 5.conf} (77%) rename presets/{hardware => hardware.conf} (74%) rename presets/{neofetch => neofetch.conf} (88%) rename presets/{paleofetch => paleofetch.conf} (81%) rename presets/{software => software.conf} (61%) diff --git a/presets/all b/presets/all.conf similarity index 89% rename from presets/all rename to presets/all.conf index 79fa56291..7a424b8f8 100644 --- a/presets/all +++ b/presets/all.conf @@ -1 +1,3 @@ +# This file is deprecated, use all.jsonc instead + --structure Title:Separator:OS:Host:Bios:Board:Chassis:Kernel:Uptime:Processes:Packages:Shell:Display:Brightness:Monitor:LM:DE:WM:WMTheme:Theme:Icons:Font:Cursor:Wallpaper:Terminal:TerminalFont:TerminalSize:CPU:CPUUsage:GPU:Memory:Swap:Disk:Battery:PowerAdapter:Player:Media:PublicIP:LocalIP:Wifi:DateTime:Locale:Vulkan:OpenGL:OpenCL:Users:Bluetooth:Sound:Gamepad:Weather:NetIO:DiskIO:PhysicalDisk:Version:Break:Colors diff --git a/presets/btw b/presets/btw.conf similarity index 60% rename from presets/btw rename to presets/btw.conf index 47a557979..0868810f4 100644 --- a/presets/btw +++ b/presets/btw.conf @@ -1,3 +1,5 @@ +# This file is deprecated, use btw.jsonc instead + --logo arch --os-format "Arch Linux ({12})" --packages-format "{} (pacman)" diff --git a/presets/examples/1 b/presets/examples/1 deleted file mode 100644 index 99a981ad3..000000000 --- a/presets/examples/1 +++ /dev/null @@ -1 +0,0 @@ -# Load with --load-config examples/1 diff --git a/presets/examples/2 b/presets/examples/2.conf similarity index 95% rename from presets/examples/2 rename to presets/examples/2.conf index 6bd5a0ce3..e9638835b 100644 --- a/presets/examples/2 +++ b/presets/examples/2.conf @@ -1,4 +1,4 @@ -# Load with --load-config examples/2 +# This file is deprecated, use 2.jsonc instead # Note that you must replace the image path to an existing image to display it. --kitty /home/linus/Bilder/Gentoo.png diff --git a/presets/examples/3 b/presets/examples/3.conf similarity index 76% rename from presets/examples/3 rename to presets/examples/3.conf index bd89f592f..bd3014b2d 100644 --- a/presets/examples/3 +++ b/presets/examples/3.conf @@ -1,4 +1,4 @@ -# Load with --load-config example/3 +# This file is deprecated, use 3.jsonc instead --logo debian_small --structure Vulkan:OpenGL:OpenCL:Memory:Disk:LocalIP diff --git a/presets/examples/4 b/presets/examples/4.conf similarity index 70% rename from presets/examples/4 rename to presets/examples/4.conf index f41e25a73..49a8f194e 100644 --- a/presets/examples/4 +++ b/presets/examples/4.conf @@ -1,4 +1,4 @@ -# Load with --load-config examples/4 +# This file is deprecated, use 4.jsonc instead --color blue --logo arch_small diff --git a/presets/examples/5 b/presets/examples/5.conf similarity index 77% rename from presets/examples/5 rename to presets/examples/5.conf index 27180ca9c..c070a697d 100644 --- a/presets/examples/5 +++ b/presets/examples/5.conf @@ -1,4 +1,4 @@ -# Load with --load-config examples/5 +# This file is deprecated, use 5.jsonc instead --logo none --color reset_magenta diff --git a/presets/hardware b/presets/hardware.conf similarity index 74% rename from presets/hardware rename to presets/hardware.conf index f93873197..19ee61e6f 100644 --- a/presets/hardware +++ b/presets/hardware.conf @@ -1,3 +1,5 @@ +# This file is deprecated, use hardware.jsonc instead + --structure Host:Display:CPU:GPU:Memory:Disk:Battery --memory-format "{?2}{2}{?}" --disk-format "{?2}{2}{?}" diff --git a/presets/neofetch b/presets/neofetch.conf similarity index 88% rename from presets/neofetch rename to presets/neofetch.conf index 925f4705b..14b6ed9c8 100644 --- a/presets/neofetch +++ b/presets/neofetch.conf @@ -1,3 +1,5 @@ +# This file is deprecated, use neofetch.jsonc instead + --structure "Title:Separator:OS:Host:Kernel:Uptime:Packages:Shell:Display:DE:WM:WMTheme:Theme:Icons:Terminal:TerminalFont:CPU:GPU:Memory:Break:Colors" --host-format "{/2}{-}{/}{2}{?3} {3}{?}" --os-format "{3} {12}" diff --git a/presets/paleofetch b/presets/paleofetch.conf similarity index 81% rename from presets/paleofetch rename to presets/paleofetch.conf index 66913e3dc..1f5dcf6c9 100644 --- a/presets/paleofetch +++ b/presets/paleofetch.conf @@ -1,3 +1,5 @@ +# This file is deprecated, use paleofetch.jsonc instead + --structure Title:Separator:OS:Host:Kernel:Uptime:Battery:Break:Packages:Shell:Display:Terminal:Break:CPU:GPU:Memory:Break:Colors --host-format "{/2}{-}{/}{2}{?3} {3}{?}" --battery-format "{/4}{-}{/}{4}%{?5} [{5}]{?}" diff --git a/presets/software b/presets/software.conf similarity index 61% rename from presets/software rename to presets/software.conf index dd78f7451..cd1e3e3f7 100644 --- a/presets/software +++ b/presets/software.conf @@ -1 +1,3 @@ +# This file is deprecated, use software.jsonc instead + --structure OS:Kernel:Shell:DE:WM:WMTheme:Theme:Icons:Font:Cursor:Terminal:TerminalFont