aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md17
-rw-r--r--env/.config/hypr/hyprland.conf6
-rw-r--r--env/.config/nvim/after/plugin/lint.lua22
-rwxr-xr-xenv/.config/nvim/after/plugin/lsp.lua11
-rw-r--r--env/.config/nvim/after/plugin/markdown-preview.lua2
-rwxr-xr-xenv/.config/nvim/after/plugin/telescope.lua14
-rwxr-xr-xenv/.config/nvim/lua/yourmom/init.lua2
-rwxr-xr-xenv/.config/nvim/lua/yourmom/packer.lua17
-rw-r--r--env/.markdownlint.yaml2
-rwxr-xr-xruns-all/get-reqs-arch.sh2
-rwxr-xr-xruns/env.sh18
11 files changed, 95 insertions, 18 deletions
diff --git a/README.md b/README.md
index bf51132..0590d12 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,15 @@
# hi
+
this is just some configs and stuffs i decided to put on my github
eg my dotfiles
-# update 05/24/2025
+## update 05/24/2025
+
i liked how primagen did his dev environment and deploying of scripts. so im making my own version
note: the pacman install scripts may not be fully what i have as i made this loong after installing software
-# requirements
+## requirements
+
- for dwm or awesome
- xorg-server
- xorg-xinit
@@ -15,7 +18,8 @@ note: the pacman install scripts may not be fully what i have as i made this loo
- libxft
- libxinerama
- for awesome extra
- - rofi-wayland (works on x. my rofi command on awesome is rofi -x11 so this may be required)
+ - rofi-wayland
+ (works on x. my rofi command on awesome is rofi -x11 so this may be required)
- for surf
- gcr
- webkit2gtk
@@ -44,7 +48,7 @@ note: the pacman install scripts may not be fully what i have as i made this loo
- secondary rxvt-unicode # less memory usage
- ibus
- ibus-mozc # for japanese input
-- fonts
+- fonts
- B612 mono
- ttf-inconsolata
- ttf-jetbrains-mono
@@ -73,7 +77,7 @@ note: the pacman install scripts may not be fully what i have as i made this loo
- pipewire-pulse
- qpwgraph
- onscreen keys - screenkey
-- compositor
+- compositor
- xcompmgr # primarily
- picom # for fancy ness
- inetutils # for normal ftp
@@ -93,7 +97,8 @@ note: the pacman install scripts may not be fully what i have as i made this loo
- calender
- calcurse
-# todo
+## todo
+
- deploy system folder? or just add keep/system directory to path. tis the question.
- probably will deploy.
- make 3rd env so first is minimal????
diff --git a/env/.config/hypr/hyprland.conf b/env/.config/hypr/hyprland.conf
index 4a6da99..5c81073 100644
--- a/env/.config/hypr/hyprland.conf
+++ b/env/.config/hypr/hyprland.conf
@@ -440,3 +440,9 @@ windowrule = workspace 8, title: VRChat
windowrule = noinitialfocus, title:im-emoji-picker
windowrule = nofocus, title:im-emoji-picker
+
+windowrule = float,title:(blob\:https://)(.*),class:xdg-desktop-portal-gtk
+windowrule = size 60% 60%,title:(blob\:https://)(.*),class:xdg-desktop-portal-gtk
+
+windowrule = float,title:Open Files,class:xdg-desktop-portal-gtk
+windowrule = size 60% 60%,title:Open Files,class:xdg-desktop-portal-gtk
diff --git a/env/.config/nvim/after/plugin/lint.lua b/env/.config/nvim/after/plugin/lint.lua
new file mode 100644
index 0000000..e22c4db
--- /dev/null
+++ b/env/.config/nvim/after/plugin/lint.lua
@@ -0,0 +1,22 @@
+local ok, lint = pcall(require, 'lint')
+if ok then
+ lint.linters_by_ft = {
+ markdown = { 'markdownlint-cli2' },
+ }
+
+ -- ive spent like 3 hours getting this to work
+ local markdownlint = lint.linters['markdownlint-cli2']
+ markdownlint.args = {
+ "--config", vim.fn.expand("~/.markdownlint.yaml"),
+ "--",
+ }
+
+ local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
+
+ vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, {
+ group = lint_augroup,
+ callback = function()
+ lint.try_lint()
+ end,
+ })
+end
diff --git a/env/.config/nvim/after/plugin/lsp.lua b/env/.config/nvim/after/plugin/lsp.lua
index 0f120a5..1f20362 100755
--- a/env/.config/nvim/after/plugin/lsp.lua
+++ b/env/.config/nvim/after/plugin/lsp.lua
@@ -76,3 +76,14 @@ if ok then
lsp.setup()
end
+
+
+
+local ok, null_ls = pcall(require, 'null-ls')
+if ok then
+ null_ls.setup({
+ sources = {
+ null_ls.builtins.diagnostics.markdownlint_cli2,
+ },
+ })
+end
diff --git a/env/.config/nvim/after/plugin/markdown-preview.lua b/env/.config/nvim/after/plugin/markdown-preview.lua
new file mode 100644
index 0000000..16b3de7
--- /dev/null
+++ b/env/.config/nvim/after/plugin/markdown-preview.lua
@@ -0,0 +1,2 @@
+vim.keymap.set('n', '<leader>mx', ':MarkdownPreview<cr>')
+vim.keymap.set('n', '<leader>ms', ':MarkdownPreviewStop<cr>')
diff --git a/env/.config/nvim/after/plugin/telescope.lua b/env/.config/nvim/after/plugin/telescope.lua
index 26d3ee7..b77a657 100755
--- a/env/.config/nvim/after/plugin/telescope.lua
+++ b/env/.config/nvim/after/plugin/telescope.lua
@@ -2,6 +2,17 @@ local ok, _ = pcall(require, 'telescope')
if ok then
local telescope = require('telescope')
local builtin = require('telescope.builtin')
+ local action = require('telescope.actions')
+ telescope.setup{
+ defaults = {
+ mappings = {
+ n = {
+ ["d"] = action.delete_buffer,
+ ["q"] = action.close,
+ }
+ }
+ }
+ }
if string.find(vim.loop.cwd(),"iceys%-linux%-stuffs") then
telescope.setup{
pickers = {
@@ -11,6 +22,9 @@ if ok then
}
}
end
+ -- vim.keymap.set('n', '<leader>pf', "<cmd>Telescope find_files initial_mode=normal<cr>", {})
+ -- sort_mru=true sort by most recently used
+ -- sort_lastused=true
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
vim.keymap.set('n', '<leader>pg', builtin.live_grep, {})
vim.keymap.set('n', '<leader>pb', builtin.buffers, {})
diff --git a/env/.config/nvim/lua/yourmom/init.lua b/env/.config/nvim/lua/yourmom/init.lua
index 2ec6adc..5dff7bf 100755
--- a/env/.config/nvim/lua/yourmom/init.lua
+++ b/env/.config/nvim/lua/yourmom/init.lua
@@ -14,7 +14,7 @@ vim.opt.smartindent=true
vim.opt.wrap = true
-vim.opt.hlsearch = false
+vim.opt.hlsearch = true
vim.opt.incsearch = true
vim.o.ignorecase = true
diff --git a/env/.config/nvim/lua/yourmom/packer.lua b/env/.config/nvim/lua/yourmom/packer.lua
index 9354a9d..4378a22 100755
--- a/env/.config/nvim/lua/yourmom/packer.lua
+++ b/env/.config/nvim/lua/yourmom/packer.lua
@@ -71,4 +71,21 @@ return require('packer').startup(function(use)
{'L3MON4D3/LuaSnip'},
}
}
+
+ use 'mfussenegger/nvim-lint'
+
+ use 'nvimtools/none-ls.nvim'
+
+ use({ "iamcco/markdown-preview.nvim", run = "cd app && npm install", setup = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" }, })
+
+ -- use({
+ -- 'MeanderingProgrammer/render-markdown.nvim',
+ -- after = { 'nvim-treesitter' },
+ -- requires = { 'echasnovski/mini.nvim', opt = true }, -- if you use the mini.nvim suite
+ -- -- requires = { 'echasnovski/mini.icons', opt = true }, -- if you use standalone mini plugins
+ -- -- requires = { 'nvim-tree/nvim-web-devicons', opt = true }, -- if you prefer nvim-web-devicons
+ -- config = function()
+ -- require('render-markdown').setup({})
+ -- end,
+ -- })
end)
diff --git a/env/.markdownlint.yaml b/env/.markdownlint.yaml
new file mode 100644
index 0000000..8642220
--- /dev/null
+++ b/env/.markdownlint.yaml
@@ -0,0 +1,2 @@
+MD013: false
+MD007: false
diff --git a/runs-all/get-reqs-arch.sh b/runs-all/get-reqs-arch.sh
index 6ad86be..8b2a18e 100755
--- a/runs-all/get-reqs-arch.sh
+++ b/runs-all/get-reqs-arch.sh
@@ -7,7 +7,7 @@ sudo="sudo"
echo GETTING CURRENT REQS ARCH
-$sudo pacman -S xorg-server libxft libxinerama pipewire-pulse pipewire-alsa pipewire-jack qpwgraph wezterm ttf-inconsolata sddm wayland hyprland waybar xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk zsh vlc v4l2loopback-dkms qt6-wayland qt5-wayland ntfs-3g gnome-keyring inetutils doas cowsay fastfetch yt-dlp ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji font-manager atuin gvfs-mtp bat lxappearance cmus grim btop htop rxvt-unicode lf inetutils openrgb reflector steam rofi-wayland
+$sudo pacman -S xorg-server libxft libxinerama pipewire-pulse pipewire-alsa pipewire-jack qpwgraph wezterm ttf-inconsolata sddm wayland hyprland waybar xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk zsh vlc v4l2loopback-dkms qt6-wayland qt5-wayland ntfs-3g gnome-keyring inetutils doas cowsay fastfetch yt-dlp ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji font-manager atuin gvfs-mtp bat lxappearance cmus grim btop htop rxvt-unicode lf inetutils openrgb reflector steam rofi-wayland ripgrep
$sudo pacman -S fcitx5-im fcitx5-mozc networkmanager openvpn networkmanager-openvpn openresolv
# for vr
diff --git a/runs/env.sh b/runs/env.sh
index 0453a4e..7d42323 100755
--- a/runs/env.sh
+++ b/runs/env.sh
@@ -3,16 +3,14 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
echo DEPLOYING ENV
-cp -r $script_dir/../env/.bashrc "$DEV_ENV"
-cp -r $script_dir/../env/.bash_profile "$DEV_ENV"
-cp -r $script_dir/../env/.vimrc "$DEV_ENV"
+cp $script_dir/../env/.bashrc "$DEV_ENV"
+cp $script_dir/../env/.bash_profile "$DEV_ENV"
+cp $script_dir/../env/.vimrc "$DEV_ENV"
+cp $script_dir/../env/.markdownlint.yaml "$DEV_ENV"
mkdir "$DEV_ENV/.config"
-cp -r $script_dir/../env/.config/.profile "$DEV_ENV/.config"
-mkdir "$DEV_ENV/.config/nvim"
-cp -r $script_dir/../env/.config/nvim "$DEV_ENV/.config/nvim"
-mkdir "$DEV_ENV/.config/tmux"
-cp -r $script_dir/../env/.config/tmux "$DEV_ENV/.config/tmux"
-mkdir "$DEV_ENV/.config/wezterm"
-cp -r $script_dir/../env/.config/wezterm "$DEV_ENV/.config/wezterm"
+cp $script_dir/../env/.config/.profile "$DEV_ENV/.config"
+cp -r $script_dir/../env/.config/nvim "$DEV_ENV/.config"
+cp -r $script_dir/../env/.config/tmux "$DEV_ENV/.config"
+cp -r $script_dir/../env/.config/wezterm "$DEV_ENV/.config"
echo -----------------