From 143696c0a95af8eb819562701dcd0421254620f8 Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Sat, 19 Jul 2025 14:39:56 -0500 Subject: [PATCH] lots of changes - changed music command - added music to backup - showmethekey more window rules - added mpv config - added seahorse to all reqs - nvim - added render markdown - added treesitter. ive been using just my systems treesitter. - fixed undotree bind - removed eldritch theme. it broke --- env/.config/.profile | 2 +- env/.config/hypr/hyprland.conf | 4 ++ env/.config/mpv/mpv.conf | 6 +++ .../nvim/after/plugin/render-markdown.lua | 38 +++++++++++++++++++ env/.config/nvim/after/plugin/treesitter.lua | 7 ++++ env/.config/nvim/after/plugin/undotree.lua | 5 +-- env/.config/nvim/lua/yourmom/init.lua | 4 +- env/.config/nvim/lua/yourmom/packer.lua | 32 +++++----------- env/.local/bin/scripts/backup/backup-tol | 2 +- runs-all/get-reqs-arch.sh | 2 +- 10 files changed, 71 insertions(+), 31 deletions(-) create mode 100644 env/.config/mpv/mpv.conf create mode 100644 env/.config/nvim/after/plugin/render-markdown.lua create mode 100644 env/.config/nvim/after/plugin/treesitter.lua diff --git a/env/.config/.profile b/env/.config/.profile index 437a40f..18fa1ef 100755 --- a/env/.config/.profile +++ b/env/.config/.profile @@ -65,7 +65,7 @@ alias fman="bash -c 'compgen -c' | fzf | xargs man" alias LC="fukn loadkeys ~/.config/swapscape.map" -alias music="nohup vlc $YT_PLAYLIST_DIR/title_vids > /dev/null 2> /dev/null < /dev/null & disown && cd $YT_PLAYLIST_DIR/title_vids && lfk" +alias music="nohup vlc ~/stuff/media/music > /dev/null 2> /dev/null < /dev/null & disown && cd ~/stuff/media/music && lfk" alias ibuss="ibus-daemon -rxRd" alias ygg="fukn bash -c 'mkdir /var/run/yggdrasil; yggdrasil -useconf < /etc/yggdrasil.conf'" alias obss="obs && obs --enable-media-stream & disown" diff --git a/env/.config/hypr/hyprland.conf b/env/.config/hypr/hyprland.conf index 311bd2a..4c20d06 100644 --- a/env/.config/hypr/hyprland.conf +++ b/env/.config/hypr/hyprland.conf @@ -465,6 +465,10 @@ windowrule = size 60% 60%,title:Open Files,class:xdg-desktop-portal-gtk windowrule = noblur,class:showmethekey-gtk windowrule = noshadow,class:showmethekey-gtk windowrule = noborder,class:showmethekey-gtk +windowrule = float,class:showmethekey-gtk +windowrule = size 1128 53,class:showmethekey-gtk +windowrule = move 253 1450,class:showmethekey-gtk +windowrule = workspace 1,class:showmethekey-gtk windowrule = noblur,class:desktop-pet windowrule = noshadow,class:desktop-pet diff --git a/env/.config/mpv/mpv.conf b/env/.config/mpv/mpv.conf new file mode 100644 index 0000000..fd7baa6 --- /dev/null +++ b/env/.config/mpv/mpv.conf @@ -0,0 +1,6 @@ +sub-color='#FFFF00' #subtitle color in rgb +sub-shadow-color='#000000' #shadow color +sub-font='Noto Sans' #set font +sub-bold=yes +sub-font-size=60 +sub-pos=95 #subtitle position 5 percent above the bottom of the screen diff --git a/env/.config/nvim/after/plugin/render-markdown.lua b/env/.config/nvim/after/plugin/render-markdown.lua new file mode 100644 index 0000000..04533a6 --- /dev/null +++ b/env/.config/nvim/after/plugin/render-markdown.lua @@ -0,0 +1,38 @@ +local ok, rmarkdown = pcall(require, 'render-markdown') +if ok then + rmarkdown.setup({ + code = { + enabled = true, + render_modes = false, + sign = true, + style = 'full', + position = 'left', + language_pad = 0, + language_icon = true, + language_name = true, + language_info = true, + disable_background = { 'diff' }, + width = 'full', + left_margin = 0, + left_pad = 0, + right_pad = 0, + min_width = 0, + border = 'hide', + language_border = '█', + language_left = '', + language_right = '', + above = '▄', + below = '▀', + inline_left = '', + inline_right = '', + inline_pad = 0, + highlight = 'RenderMarkdownCode', + highlight_info = 'RenderMarkdownCodeInfo', + highlight_language = nil, + highlight_border = 'RenderMarkdownCodeBorder', + highlight_fallback = 'RenderMarkdownCodeFallback', + highlight_inline = 'RenderMarkdownCodeInline', + }, + completions = { lsp = { enabled = true } }, + }) +end diff --git a/env/.config/nvim/after/plugin/treesitter.lua b/env/.config/nvim/after/plugin/treesitter.lua new file mode 100644 index 0000000..60eb152 --- /dev/null +++ b/env/.config/nvim/after/plugin/treesitter.lua @@ -0,0 +1,7 @@ +local ok, treesitter = pcall(require, 'nvim-treesitter.configs') +if ok then + treesitter.setup { + ensure_installed = { "c", "lua", "rust", "css", "html", "bash", "markdown", "markdown_inline" }, + highlight = { enable = true, }, + } +end diff --git a/env/.config/nvim/after/plugin/undotree.lua b/env/.config/nvim/after/plugin/undotree.lua index 9b52a6e..478b145 100644 --- a/env/.config/nvim/after/plugin/undotree.lua +++ b/env/.config/nvim/after/plugin/undotree.lua @@ -1,4 +1 @@ -local ok, _ = pcall(require, 'undotree') -if ok then - vim.keymap.set("n", "u", vim.cmd.UndotreeToggle) -end +vim.keymap.set("n", "u", ":UndotreeToggle") diff --git a/env/.config/nvim/lua/yourmom/init.lua b/env/.config/nvim/lua/yourmom/init.lua index 9d9f56a..2c9fc16 100755 --- a/env/.config/nvim/lua/yourmom/init.lua +++ b/env/.config/nvim/lua/yourmom/init.lua @@ -22,8 +22,8 @@ vim.o.ignorecase = true vim.opt.updatetime = 50 --vim.opt.colorcolumn = "80" --vim.cmd('colorscheme vim') ---vim.cmd('colorscheme tokyonight') -vim.cmd('colorscheme eldritch') +vim.cmd('colorscheme tokyonight') + vim.api.nvim_set_hl(0, "Normal", { bg = "none" }) vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" }) diff --git a/env/.config/nvim/lua/yourmom/packer.lua b/env/.config/nvim/lua/yourmom/packer.lua index 59db642..0ed8f41 100755 --- a/env/.config/nvim/lua/yourmom/packer.lua +++ b/env/.config/nvim/lua/yourmom/packer.lua @@ -19,8 +19,6 @@ return require('packer').startup(function(use) use { "rose-pine/neovim", as = "rose-pine" } use { "folke/tokyonight.nvim", as = "tokyonight"} - use { "eldritch-theme/eldritch.nvim", as = "eldritch" } - use "jbyuki/quickmath.nvim" @@ -38,21 +36,13 @@ return require('packer').startup(function(use) --requires = { 'nvim-tree/nvim-web-devicons', opt = true } } - --[[ - use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate', - config = function() - require("nvim-treesitter.configs").setup { - ensure_installed = { "c", "lua", "rust" }, - highlight = { enable = true, } - } - end - }) - ]]-- + --use "jbyuki/venn.nvim" use 'tpope/vim-fugitive' -- # main dev requirements + use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'}) use 'ThePrimeagen/harpoon' use("mbbill/undotree") @@ -94,14 +84,12 @@ return require('packer').startup(function(use) 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, - -- }) + + 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 + }) end) diff --git a/env/.local/bin/scripts/backup/backup-tol b/env/.local/bin/scripts/backup/backup-tol index 49e73aa..4dcc42f 100755 --- a/env/.local/bin/scripts/backup/backup-tol +++ b/env/.local/bin/scripts/backup/backup-tol @@ -15,7 +15,7 @@ fsyncb () { fi } -syncfile=".surf/styles .urlview .gnupg .local/bin/lf-gadgets .local/share/applications/custom .config/FreeTube .config/newsboat .config/zsh .config/vesktop/themes .keepass .config/Pinta .config/cmus stuff/notes stuff/openvpn-cons stuff/scripts stuff/media/ICE" +syncfile=".surf/styles .urlview .gnupg .local/bin/lf-gadgets .local/share/applications/custom .config/FreeTube .config/newsboat .config/zsh .config/vesktop/themes .keepass .config/Pinta .config/cmus stuff/notes stuff/openvpn-cons stuff/scripts stuff/media/ICE stuff/media/music" #sync game stuff target="laptop:~" diff --git a/runs-all/get-reqs-arch.sh b/runs-all/get-reqs-arch.sh index 807e645..b5734f5 100755 --- a/runs-all/get-reqs-arch.sh +++ b/runs-all/get-reqs-arch.sh @@ -41,7 +41,7 @@ if [ $artix ] || [ $arch ]; then $sudo pacman -S --noconfirm zsh bat ntfs-3g inetutils doas atuin gvfs-mtp btop htop wezterm rxvt-unicode lf ripgrep rofi-wayland networkmanager # misc - $sudo pacman -S --noconfirm v4l2loopback-dkms sddm lxappearance reflector gnome-keyring yt-dlp grim slurp libnotify + $sudo pacman -S --noconfirm v4l2loopback-dkms sddm lxappearance reflector gnome-keyring seahorse yt-dlp grim slurp libnotify paru -S --noconfirm obs-studio-git gpu-screen-recorder gpu-screen-recorder-gtk urlview # fun