add fastfetch

This commit is contained in:
2025-08-30 12:23:10 -07:00
parent b593d94a9c
commit 5cc28b2710
5 changed files with 34 additions and 17 deletions

View File

@@ -44,6 +44,7 @@ if [ "$TERM" = "linux" ]; then
fi
clear
# fastfetch --config ~/.config/fastfetch/mini.jsonc
tfetch
PS1='\n[ \e[35;1m\u \e[34m\w\e[0m ]\n\e[1m\$ \e[0m'
@@ -59,8 +60,14 @@ export FZF_DEFAULT_OPTS="
--color=fg+:#e0def4,bg+:#26233a,hl+:#ebbcba
--color=border:#403d52,header:#31748f,gutter:#191724
--color=spinner:#f6c177,info:#9ccfd8
--color=pointer:#c4a7e7,marker:#eb6f92,prompt:#908caa"
--color=pointer:#c4a7e7,marker:#eb6f92,prompt:#908caa
--ansi
"
export FZF_CTRL_T_OPTS="
--preview='bat --color=\"always\" {}'
"
eval "$(starship init bash)"
eval "$(fzf --bash)"
eval "$(zoxide init --cmd cd bash)"

View File

@@ -53,7 +53,7 @@ graph_symbol_proc = "default"
shown_boxes = "cpu mem net proc"
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
update_ms = 100
update_ms = 500
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.

1
.config/fastfetch Symbolic link
View File

@@ -0,0 +1 @@
/home/ted/.config/fastfetch/

View File

@@ -13,12 +13,13 @@
### MONITORS ###
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1, 1920x1080@144.00, auto, 1
# see https://wiki.hyprland.org/configuring/monitors/
monitor=eDP-1, 1920x1080@144.00, auto, 1, mirror, HDMI-A-1
# monitor=HDMI-A-1, 1920x1080@60.00, auto, 1
# monitor=HDMI-A-1, 1920x1080@60.02Hz, auto, 1, mirror, eDP-1
# monitor=HDMI-A-1, 1920x1080@60, auto, 1, mirror, eDP-1
# monitor=HDMI-A-1, 2560x1080@60.00, auto, 1
monitor=HDMI-A-1, 2560x1080@60.00Hz, auto, 1
###################
@@ -54,12 +55,12 @@ execr-once = hyprctl setcursor phinger-cursors-light 24
execr-once = hypridle
execr-once = systemctl --user start hyprpolkitagent
execr-once = eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
execr-once = protonmail-bridge -n
exec-once = [workspace 1 silent] $browser
exec-once = [workspace 11 silent] $messaging
exec-once = [workspace 12 silent] foot bluetui
exec-once = [workspace 13 silent] foot -o colors.regular4=191724 nmtuii
exec-once = [workspace 14 silent] foot btop
exec-once = [workspace 15 silent] sleep 1000 && $email
#############################
@@ -207,7 +208,7 @@ device {
###################
# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier
$mainMod = ALT # Sets "Windows" key as main modifier
# See https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod SHIFT, RETURN, exec, $terminal
@@ -365,15 +366,6 @@ windowrule = float,class:^(org.kde.kdeconnect.daemon)$
# Vesktop always opens fullscreen on workspace 6
windowrule = workspace 11 silent, class:^(vesktop)$
# Control panel windows have no animations
windowrule = noanim, workspace:11
windowrule = noanim, workspace:12
windowrule = noanim, workspace:13
windowrule = noanim, workspace:14
windowrule = noanim, workspace:20
# Control panel workspaces have no borders
workspace = r[11-14], border:false, gapsin:0, gapsout:0
# Idleinhibit when fullscreen
windowrule = idleinhibit fullscreen, focus:1
@@ -388,3 +380,4 @@ workspace = w[tv1], gapsout:0, gapsin:0
workspace = f[1], gapsout:0, gapsin:0
workspace = r[20], monitor:"HDMI-A-1"

View File

@@ -98,7 +98,21 @@ cmp.setup({
})
require("nvim-treesitter.configs").setup({
ensure_installed = { "go", "html", "css", "javascript", "hyprlang", "sql", "gomod", "gosum", "bash", "c", "rust" },
ensure_installed = {
"go",
"html",
"css",
"javascript",
"hyprlang",
"sql",
"gomod",
"gosum",
"bash",
"c",
"rust",
"lua",
"nginx",
},
highlight = {
enable = true,
},
@@ -114,6 +128,7 @@ lspconfig.pyright.setup({})
lspconfig.ts_ls.setup({})
lspconfig.gopls.setup({})
lspconfig.bashls.setup({})
lspconfig.xml.setup({})
local luasnip = require("luasnip")
require("luasnip.loaders.from_vscode").lazy_load()
require("luasnip").config.set_config({
@@ -150,6 +165,7 @@ require("conform").setup({
html = { "prettier" },
go = { "gofmt" },
bash = { "shfmt" },
nginx = { "nginxfmt" },
},
format_on_save = {
timeout_ms = 500,
@@ -185,6 +201,6 @@ vim.api.nvim_create_autocmd({ "InsertLeave", "FocusLost" }, {
pattern = "*",
callback = function()
require("conform").format()
vim.cmd("silent! write")
vim.cmd("silent! wa")
end,
})