Compare commits
7 Commits
8990ecef57
...
main
Author | SHA1 | Date | |
---|---|---|---|
f78a361495 | |||
5cc28b2710 | |||
b593d94a9c | |||
ab995cb125 | |||
3e961a6c92 | |||
73df670a25 | |||
62796187a6 |
9
.bashrc
9
.bashrc
@@ -44,6 +44,7 @@ if [ "$TERM" = "linux" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
# fastfetch --config ~/.config/fastfetch/mini.jsonc
|
||||||
tfetch
|
tfetch
|
||||||
|
|
||||||
PS1='\n[ \e[35;1m\u \e[34m\w\e[0m ]\n\e[1m\$ \e[0m'
|
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=fg+:#e0def4,bg+:#26233a,hl+:#ebbcba
|
||||||
--color=border:#403d52,header:#31748f,gutter:#191724
|
--color=border:#403d52,header:#31748f,gutter:#191724
|
||||||
--color=spinner:#f6c177,info:#9ccfd8
|
--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 "$(starship init bash)"
|
||||||
eval "$(fzf --bash)"
|
eval "$(fzf --bash)"
|
||||||
eval "$(zoxide init --cmd cd bash)"
|
eval "$(zoxide init --cmd cd bash)"
|
||||||
|
|
||||||
|
@@ -53,7 +53,7 @@ graph_symbol_proc = "default"
|
|||||||
shown_boxes = "cpu mem net proc"
|
shown_boxes = "cpu mem net proc"
|
||||||
|
|
||||||
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
|
#* 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",
|
#* 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.
|
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
||||||
|
15
.config/fastfetch/mini.jsonc
Normal file
15
.config/fastfetch/mini.jsonc
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||||
|
"modules": [
|
||||||
|
"title",
|
||||||
|
"os",
|
||||||
|
"localip",
|
||||||
|
"kernel",
|
||||||
|
"uptime",
|
||||||
|
"battery",
|
||||||
|
"memory",
|
||||||
|
],
|
||||||
|
"logo": {
|
||||||
|
"type": "small",
|
||||||
|
}
|
||||||
|
}
|
@@ -13,12 +13,13 @@
|
|||||||
### MONITORS ###
|
### MONITORS ###
|
||||||
################
|
################
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# see https://wiki.hyprland.org/configuring/monitors/
|
||||||
monitor=eDP-1, 1920x1080@144.00, auto, 1
|
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.00, auto, 1
|
||||||
# monitor=HDMI-A-1, 1920x1080@60.02Hz, auto, 1, mirror, eDP-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, 1920x1080@60, auto, 1, mirror, eDP-1
|
||||||
# monitor=HDMI-A-1, 2560x1080@60.00, auto, 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 = hypridle
|
||||||
execr-once = systemctl --user start hyprpolkitagent
|
execr-once = systemctl --user start hyprpolkitagent
|
||||||
execr-once = eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
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 1 silent] $browser
|
||||||
exec-once = [workspace 11 silent] $messaging
|
exec-once = [workspace 11 silent] $messaging
|
||||||
exec-once = [workspace 12 silent] foot bluetui
|
exec-once = [workspace 12 silent] foot bluetui
|
||||||
exec-once = [workspace 13 silent] foot -o colors.regular4=191724 nmtuii
|
exec-once = [workspace 13 silent] foot -o colors.regular4=191724 nmtuii
|
||||||
exec-once = [workspace 14 silent] foot btop
|
exec-once = [workspace 14 silent] foot btop
|
||||||
exec-once = [workspace 15 silent] $email
|
|
||||||
|
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
@@ -207,7 +208,7 @@ device {
|
|||||||
###################
|
###################
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# 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
|
# See https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod SHIFT, RETURN, exec, $terminal
|
bind = $mainMod SHIFT, RETURN, exec, $terminal
|
||||||
@@ -358,19 +359,13 @@ windowrule = float,class:^(org.keepassxc.KeePassXC)
|
|||||||
windowrule = float,title:^(Save)$
|
windowrule = float,title:^(Save)$
|
||||||
windowrule = float,title:^(All Files)$
|
windowrule = float,title:^(All Files)$
|
||||||
windowrule = float,title:^(Calculator)$
|
windowrule = float,title:^(Calculator)$
|
||||||
|
windowrule = float,title:^(Print)$
|
||||||
|
windowrule = float,title:^(save)$
|
||||||
|
windowrule = float,class:^(org.kde.kdeconnect.daemon)$
|
||||||
|
|
||||||
# Vesktop always opens fullscreen on workspace 6
|
# Vesktop always opens fullscreen on workspace 6
|
||||||
windowrule = workspace 11 silent, class:^(vesktop)$
|
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
|
# Idleinhibit when fullscreen
|
||||||
windowrule = idleinhibit fullscreen, focus:1
|
windowrule = idleinhibit fullscreen, focus:1
|
||||||
|
|
||||||
@@ -385,3 +380,4 @@ workspace = w[tv1], gapsout:0, gapsin:0
|
|||||||
workspace = f[1], gapsout:0, gapsin:0
|
workspace = f[1], gapsout:0, gapsin:0
|
||||||
|
|
||||||
workspace = r[20], monitor:"HDMI-A-1"
|
workspace = r[20], monitor:"HDMI-A-1"
|
||||||
|
|
||||||
|
@@ -90,26 +90,45 @@ cmp.setup({
|
|||||||
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{ name = "nvim_lsp" }, -- LSP completion
|
|
||||||
{ name = "buffer" }, -- Buffer completion
|
|
||||||
{ name = "path" }, -- Path completion
|
{ name = "path" }, -- Path completion
|
||||||
{ name = "luasnip" }, -- Snippet completion
|
{ name = "luasnip" }, -- Snippet completion
|
||||||
|
{ name = "nvim_lsp" }, -- LSP completion
|
||||||
|
{ name = "buffer" }, -- Buffer completion
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
require("nvim-treesitter.configs").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 = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
require("oil").setup({
|
||||||
|
default_file_explorer = false,
|
||||||
|
})
|
||||||
|
|
||||||
-- nvim-lspconfig - Providing basic, default Nvim LSP client configurations for various LSP servers.
|
-- nvim-lspconfig - Providing basic, default Nvim LSP client configurations for various LSP servers.
|
||||||
local lspconfig = require("lspconfig")
|
local lspconfig = require("lspconfig")
|
||||||
lspconfig.pyright.setup({})
|
lspconfig.pyright.setup({})
|
||||||
lspconfig.ts_ls.setup({})
|
lspconfig.ts_ls.setup({})
|
||||||
lspconfig.gopls.setup({})
|
lspconfig.gopls.setup({})
|
||||||
lspconfig.bashls.setup({})
|
lspconfig.bashls.setup({})
|
||||||
|
lspconfig.xml.setup({})
|
||||||
local luasnip = require("luasnip")
|
local luasnip = require("luasnip")
|
||||||
require("luasnip.loaders.from_vscode").lazy_load()
|
require("luasnip.loaders.from_vscode").lazy_load()
|
||||||
require("luasnip").config.set_config({
|
require("luasnip").config.set_config({
|
||||||
@@ -121,8 +140,8 @@ require("luasnip").config.set_config({
|
|||||||
local vim = vim
|
local vim = vim
|
||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
|
|
||||||
opt.foldmethod = "expr"
|
-- opt.foldmethod = "expr"
|
||||||
opt.foldexpr = "nvim_treesitter#foldexpr()"
|
-- opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||||
|
|
||||||
vim.wo.number = true
|
vim.wo.number = true
|
||||||
vim.wo.relativenumber = true
|
vim.wo.relativenumber = true
|
||||||
@@ -146,6 +165,7 @@ require("conform").setup({
|
|||||||
html = { "prettier" },
|
html = { "prettier" },
|
||||||
go = { "gofmt" },
|
go = { "gofmt" },
|
||||||
bash = { "shfmt" },
|
bash = { "shfmt" },
|
||||||
|
nginx = { "nginxfmt" },
|
||||||
},
|
},
|
||||||
format_on_save = {
|
format_on_save = {
|
||||||
timeout_ms = 500,
|
timeout_ms = 500,
|
||||||
@@ -181,6 +201,6 @@ vim.api.nvim_create_autocmd({ "InsertLeave", "FocusLost" }, {
|
|||||||
pattern = "*",
|
pattern = "*",
|
||||||
callback = function()
|
callback = function()
|
||||||
require("conform").format()
|
require("conform").format()
|
||||||
vim.cmd("silent! write")
|
vim.cmd("silent! wa")
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
11
README.md
11
README.md
@@ -1,2 +1,11 @@
|
|||||||
# MiningTcup's dotfiles for Arch Linux / Hyprland
|
# MiningTcup's dotfiles for Arch Linux / Hyprland
|
||||||
uh yea steal em if u want idc
|
My current dotfiles! I've been working on them for a while, feel free to use them (but please don't claim they're your own)!
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
Install [GNU Stow](https://www.gnu.org/software/stow/). Clone this repo and stow it.
|
||||||
|
```sh
|
||||||
|
cd
|
||||||
|
git clone https://git.miningtcup.me/MiningTcup/dotfiles.git
|
||||||
|
cd dotfiles
|
||||||
|
stow .
|
||||||
|
```
|
Reference in New Issue
Block a user