From 298e8a2e9b3e6c8c4aee4129e6c9633e5075bade Mon Sep 17 00:00:00 2001 From: Puechberty Arthur Date: Wed, 24 Jun 2026 19:14:34 +0200 Subject: [PATCH] add dotfiles --- airootfs/root/.config/fastfetch/about.txt | 19 +++ airootfs/root/.config/fastfetch/config.jsonc | 155 +++++++++++++++++++ airootfs/root/.config/ghostty/config | 37 +++++ airootfs/root/.config/waybar/config.jsonc | 8 +- 4 files changed, 215 insertions(+), 4 deletions(-) create mode 100644 airootfs/root/.config/fastfetch/about.txt create mode 100644 airootfs/root/.config/fastfetch/config.jsonc create mode 100644 airootfs/root/.config/ghostty/config diff --git a/airootfs/root/.config/fastfetch/about.txt b/airootfs/root/.config/fastfetch/about.txt new file mode 100644 index 0000000..78bb632 --- /dev/null +++ b/airootfs/root/.config/fastfetch/about.txt @@ -0,0 +1,19 @@ + -` + .o+` + `ooo/ + `+oooo: + `+oooooo: + -+oooooo+: + `/:-:++oooo+: + `/++++/+++++++: + `/++++++++++++++: + `/+++ooooooooooooo/` + ./ooosssso++osssssso+` + .oossssso-````/ossssss+` + -osssssso. :ssssssso. + :osssssss/ osssso+++. + /ossssssss/ +ssssooo/- + `/ossssso+/:- -:/+osssso+- + `+sso+:-` `.-/+oso: + `++:. `-/+/ + .` ` \ No newline at end of file diff --git a/airootfs/root/.config/fastfetch/config.jsonc b/airootfs/root/.config/fastfetch/config.jsonc new file mode 100644 index 0000000..9db7d03 --- /dev/null +++ b/airootfs/root/.config/fastfetch/config.jsonc @@ -0,0 +1,155 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "type": "file", + "source": "~/.config/fastfetch/about.txt", + "color": { "1": "blue" }, + "padding": { + "top": 2, + "right": 6, + "left": 2 + } + }, + "modules": [ + "break", + { + "type": "custom", + "format": "\u001b[90m┌──────────────────────Hardware──────────────────────┐" + }, + { + "type": "host", + "key": " PC", + "keyColor": "green" + }, + { + "type": "cpu", + "key": "│ ├", + "showPeCoreCount": true, + "keyColor": "green" + }, + { + "type": "gpu", + "key": "│ ├", + "detectionMethod": "pci", + "keyColor": "green" + }, + { + "type": "display", + "key": "│ ├󱄄", + "keyColor": "green" + }, + { + "type": "disk", + "key": "│ ├󰋊", + "keyColor": "green" + }, + { + "type": "memory", + "key": "│ ├", + "keyColor": "green" + }, + { + "type": "swap", + "key": "└ └󰓡 ", + "keyColor": "green" + }, + { + "type": "custom", + "format": "\u001b[90m└────────────────────────────────────────────────────┘" + }, + "break", + { + "type": "custom", + "format": "\u001b[90m┌──────────────────────Software──────────────────────┐" + }, + { + "type": "os", + "key": "\ue900 OS", + "keyColor": "blue", + }, + { + "type": "command", + "key": "│ ├󰘬", + "keyColor": "blue", + "text": "branch=$(omarchy-version-branch); echo \"$branch\"" + }, + { + "type": "command", + "key": "│ ├󰔫", + "keyColor": "blue", + "text": "channel=$(omarchy-version-channel); echo \"$channel\"" + }, + { + "type": "kernel", + "key": "│ ├", + "keyColor": "blue" + }, + { + "type": "wm", + "key": "│ ├", + "keyColor": "blue" + }, + { + "type": "de", + "key": " DE", + "keyColor": "blue" + }, + { + "type": "terminal", + "key": "│ ├", + "keyColor": "blue" + }, + { + "type": "packages", + "key": "│ ├󰏖", + "keyColor": "blue" + }, + { + "type": "wmtheme", + "key": "│ ├󰉼", + "keyColor": "blue" + }, + { + "type": "command", + "key": "│ ├󰸌", + "keyColor": "blue", + "text": "theme=$(omarchy-theme-current); echo -e \"$theme \\e[38m●\\e[37m●\\e[36m●\\e[35m●\\e[34m●\\e[33m●\\e[32m●\\e[31m●\"" + }, + { + "type": "terminalfont", + "key": "└ └", + "keyColor": "blue" + }, + { + "type": "custom", + "format": "\u001b[90m└────────────────────────────────────────────────────┘" + }, + "break", + { + "type": "custom", + "format": "\u001b[90m┌────────────────Age / Uptime / Update───────────────┐" + }, + { + "type": "command", + "key": "󱦟 OS Age", + "keyColor": "magenta", + "text": "echo $(( ($(date +%s) - $(stat -c %W /)) / 86400 )) days" + }, + { + "type": "uptime", + "key": "󱫐 Uptime", + "keyColor": "magenta" + }, + { + "type": "command", + "key": " Update", + "keyColor": "magenta", + "text": "updated=$(omarchy-version-pkgs); echo \"$updated\"" + }, + { + "type": "custom", + "format": "\u001b[90m└────────────────────────────────────────────────────┘" + }, + "break" + ] +} diff --git a/airootfs/root/.config/ghostty/config b/airootfs/root/.config/ghostty/config new file mode 100644 index 0000000..d53f5c3 --- /dev/null +++ b/airootfs/root/.config/ghostty/config @@ -0,0 +1,37 @@ +# Dynamic theme colors +config-file = ?"~/.config/omarchy/current/theme/ghostty.conf" + +# Font +font-family = "JetBrainsMono Nerd Font" +font-style = Regular +font-size = 9 + +# Window +window-theme = ghostty +window-padding-x = 14 +window-padding-y = 14 +confirm-close-surface=false +resize-overlay = never +gtk-toolbar-style = flat + +# Cursor styling +cursor-style = "block" +cursor-style-blink = false + +# Cursor styling + SSH session terminfo +# (all shell integration options must be passed together) +shell-integration-features = no-cursor,ssh-env + +# Keyboard bindings +keybind = shift+insert=paste_from_clipboard +keybind = control+insert=copy_to_clipboard +keybind = super+control+shift+alt+arrow_down=resize_split:down,100 +keybind = super+control+shift+alt+arrow_up=resize_split:up,100 +keybind = super+control+shift+alt+arrow_left=resize_split:left,100 +keybind = super+control+shift+alt+arrow_right=resize_split:right,100 + +# Slowdown mouse scrolling +mouse-scroll-multiplier = 0.95 + +# Fix general slowness on hyprland (https://github.com/ghostty-org/ghostty/discussions/3224) +async-backend = epoll diff --git a/airootfs/root/.config/waybar/config.jsonc b/airootfs/root/.config/waybar/config.jsonc index 6cfeffa..b05f339 100644 --- a/airootfs/root/.config/waybar/config.jsonc +++ b/airootfs/root/.config/waybar/config.jsonc @@ -50,23 +50,23 @@ "on-click": "btop" }, "custom/clock": { - "exec": "home/arthur/.config/waybar/clock.sh", + "exec": "~/.config/waybar/clock.sh", "return-type": "json", "on-click": "omarchy-launch-floating-terminal-with-presentation omarchy-tz-select", "tooltip": true }, "custom/weather": { - "exec": "home/arthur/.config/waybar/weather.sh", + "exec": "~/.config/waybar/weather.sh", "return-type": "json", "interval": 60, "tooltip": false, "on-click": "notify-send -u low \"$(omarchy-weather-status)\"" }, "custom/media": { - "exec": "home/arthur/.config/waybar/media.sh", + "exec": "~/.config/waybar/media.sh", "return-type": "json", "interval": 1, - "on-click": "home/arthur/.config/waybar/media_click.sh", + "on-click": "~/.config/waybar/media_click.sh", "on-click-right": "playerctl -p subtui next", "on-click-middle": "playerctl -p subtui previous", "tooltip": true