Skip to content

Commit

Permalink
chore: Kyle flexed (#1170)
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles authored Apr 21, 2024
1 parent 244b269 commit 1814a31
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 52 deletions.
3 changes: 2 additions & 1 deletion system_files/kinoite/usr/etc/profile.d/aurora-fastfetch.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/sh

alias fastfetch="/usr/bin/fastfetch --file /usr/share/ublue-os/aurora-logo.txt --logo-type file --logo-color-1 94 --logo-color-2 95 --logo-color-3 91 --logo-color-4 97"
alias fastfetch="/usr/bin/fastfetch --file /usr/share/ublue-os/aurora-logo.txt --logo-type file --logo-color-1 94 --logo-color-2 95 --logo-color-3 91 --logo-color-4 97 -c /usr/share/ublue-os/ublue-os.jsonc"
alias neofetch="/usr/bin/fastfetch --file /usr/share/ublue-os/aurora-logo.txt --logo-type file --logo-color-1 94 --logo-color-2 95 --logo-color-3 91 --logo-color-4 97 -c /usr/share/ublue-os/ublue-os.jsonc"
42 changes: 0 additions & 42 deletions system_files/shared/usr/etc/xdg/fastfetch/config.jsonc

This file was deleted.

8 changes: 0 additions & 8 deletions system_files/shared/usr/libexec/get-image-sign.sh

This file was deleted.

9 changes: 9 additions & 0 deletions system_files/shared/usr/libexec/ublue-image-info.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/bash

echo -n $(jq -r '"\(.["image-name"]):\(.["image-tag"])"' < /usr/share/ublue-os/image-info.json)

if [[ $(rpm-ostree status --booted) =~ "signed" ]]; then
echo -n " 🔐"
else
echo -n -e " \033[5m🔓\033[0m"
fi
101 changes: 101 additions & 0 deletions system_files/shared/usr/share/ublue-os/ublue-os.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"display": {
"separator": "  ",
"color": {
"keys": "bright_cyan"
},
},
"modules": [
{
"type": "title",
"key": " ",
"color": {
"user": "cyan",
"at": "white",
"host": "bright_white"
}
},
"break",
{
"type": "command",
"key": "󱋩",
"text": "/usr/libexec/ublue-image-info.sh"
},
{
"type": "os",
"key": " 󰣛"
},
{
"type": "kernel",
"key": " ",
"format": "{1} {2}"
},
{
"type": "uptime",
"key": " 󰅐"
},
"break",
{
"type": "command",
"key": " 󰾰",
"text": "cat /sys/devices/virtual/dmi/id/product_name",
"shell": "/bin/bash"
},
{
"type": "cpu",
"key": " 󰻠"
},
{
"type": "gpu",
"key": " 󰍛"
},
{
"type": "memory",
"key": " 󰧑"
},
{
"type": "disk",
"key": " "
},
{
"type": "display",
"key": " 󰍹"
},
{
"type": "battery",
"key": " "
},
{
"type": "gamepad",
"key": " 󰖺"
},
"break",
{
"type": "de",
"key": " 󰕮"
},
{
"type": "wm",
"key": " "
},
{
"type": "shell",
"key": " "
},
{
"type": "terminal",
"key": " "
},
{
"type": "packages",
"key": " 󰏖"
},
"break",
{
"type": "colors",
"paddingLeft": 2,
"symbol": "circle"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh

alias fastfetch="/usr/bin/fastfetch --logo /usr/share/ublue-os/bluefin-logo"
alias fastfetch="/usr/bin/fastfetch --logo /usr/share/ublue-os/bluefin-logo -c /usr/share/ublue-os/ublue-os.jsonc"
alias neofetch="/usr/bin/fastfetch --logo /usr/share/ublue-os/bluefin-logo -c /usr/share/ublue-os/ublue-os.jsonc"

0 comments on commit 1814a31

Please sign in to comment.