From e8b31ea3d4ab842de57119b667db894179db0f6c Mon Sep 17 00:00:00 2001 From: Clay Gomera Date: Tue, 5 Sep 2023 20:26:29 -0400 Subject: [PATCH] updated --- README.md | 5 +++++ user/.config/btop/btop.conf | 2 +- user/.config/lvim/config.lua | 6 +++--- user/.config/qutebrowser/config.py | 16 ++++++---------- user/.config/suckless/dwm/config.h | 4 ++-- user/.xinitrc | 2 +- 6 files changed, 18 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 4dcc5327b..cc1061572 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,8 @@ This is just a personal repository where i store all my dotfiles, you're free clone them and edit them as you wish. Part of this work was based on other people's dotfiles (Distrotube for example), and it may contain scripts or binaries that they made or modify. + +# Dependencies +``` sh +paru -S --needed bat exa feh fzf jq ripgrep maim slop cmus vifm ueberzugpp unclutter-xfixes-git lxsession picom xorg-setxkbmap xorg-xinit xorg-xprop xorg-xev xorg-xrandr arandr yt-dlp ani-cli-git ytfzf-git pulsemixer pamixer alsa-utils ttf-nerd-fonts-symbols ttf-nerd-fonts-symbols-mono ttf-mononoki-nerd zathura zathura-pdf-poppler zathura-cb kvantum gruvbox-dark-gtk gruvbox-dark-icons-gtk xcursor-simp1e-gruvbox-dark j4-dmenu-desktop ffmpegthumbnailer ffmpeg btop mpv gtk-engine-murrine +``` diff --git a/user/.config/btop/btop.conf b/user/.config/btop/btop.conf index a13cdc93d..c1669d15c 100644 --- a/user/.config/btop/btop.conf +++ b/user/.config/btop/btop.conf @@ -54,7 +54,7 @@ update_ms = 200 #* 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. -proc_sorting = "cpu lazy" +proc_sorting = "pid" #* Reverse sorting order, True or False. proc_reversed = False diff --git a/user/.config/lvim/config.lua b/user/.config/lvim/config.lua index 8a208125b..033aa60a6 100644 --- a/user/.config/lvim/config.lua +++ b/user/.config/lvim/config.lua @@ -28,8 +28,8 @@ vim.g.transparency = 0.9 vim.g.neovide_background_color = "#1d2021" .. alpha() -- nvim options -vim.opt.shiftwidth = 2 -vim.opt.tabstop = 2 +vim.opt.shiftwidth = 4 +vim.opt.tabstop = 4 vim.opt.relativenumber = true vim.cmd('autocmd FileType markdown setlocal nospell') vim.opt.wrap = true -- wrap lines @@ -39,7 +39,7 @@ vim.o.autochdir = true vim.cmd('autocmd BufEnter * lcd %:p:h') -- general -lvim.use_icons = false +lvim.use_icons = true lvim.log.level = "info" lvim.format_on_save = { enabled = true, diff --git a/user/.config/qutebrowser/config.py b/user/.config/qutebrowser/config.py index 711b6c8d3..7a50a7c4e 100644 --- a/user/.config/qutebrowser/config.py +++ b/user/.config/qutebrowser/config.py @@ -5,8 +5,6 @@ ## /_____/_/ \__,_/_/|_|\___/ My custom qutebrowser config ## -# Autogenerated config.py -# # NOTE: config.py is intended for advanced users who are comfortable # with manually migrating the config file on qutebrowser upgrades. If # you prefer, you can also configure qutebrowser using the @@ -30,7 +28,6 @@ c.aliases = {'q': 'quit', 'w': 'session-save', 'wq': 'quit --save'} # Setting dark mode #config.set("colors.webpage.darkmode.enabled", True) - # Which cookies to accept. With QtWebEngine, this setting also controls # other features with tracking capabilities similar to those of cookies; # including IndexedDB, DOM storage, filesystem API, service workers, and @@ -165,13 +162,6 @@ config.set('content.javascript.enabled', True, 'chrome://*/*') # Type: Bool config.set('content.javascript.enabled', True, 'qute://*/*') -# Type: BoolAsk -# Valid values: -# - true -# - false -# - ask -# config.set('content.notifications.enabled', True, 'https://www.youtube.com') - # Directory to save downloads to. If unset, a sensible OS-specific # default is used. # Type: Directory @@ -250,3 +240,9 @@ config.bind('xb', 'config-cycle statusbar.show always never') config.bind('xt', 'config-cycle tabs.show always never') config.bind('xx', 'config-cycle statusbar.show always never;; config-cycle tabs.show always never') +# configs +config.set('content.notifications.enabled', False) +config.set('content.blocking.method', 'both') +config.set('content.blocking.enabled', True) +config.set('content.autoplay', False) +config.set('content.register_protocol_handler', False) diff --git a/user/.config/suckless/dwm/config.h b/user/.config/suckless/dwm/config.h index 4995ca8df..498772feb 100644 --- a/user/.config/suckless/dwm/config.h +++ b/user/.config/suckless/dwm/config.h @@ -89,7 +89,7 @@ static const Rule rules[] = { { "neovide", NULL, NULL, 1, 0, -1 }, // test tag { "Virt-manager", NULL, NULL, 1 << 1, 0, -1 }, - { "Gnome-boxes", NULL, NULL, 1 << 1, 0, -1 }, + { "Gnome-boxes", NULL, NULL, 1 << 1, 0, -1 }, // web tag { "LibreWolf", NULL, NULL, 1 << 2, 0, -1 }, { "librewolf-default", NULL, NULL, 1 << 2, 0, -1 }, @@ -198,7 +198,7 @@ static const Key keys[] = { // text editor { MODKEY, XK_e, spawn, SHCMD("neovide --neovim-bin ~/.local/bin/lvim")}, // web browser - { MODKEY, XK_w, spawn, SHCMD("firefox")}, + { MODKEY, XK_w, spawn, SHCMD("qutebrowser")}, // chat { MODKEY, XK_s, spawn, SHCMD("signal-desktop")}, diff --git a/user/.xinitrc b/user/.xinitrc index 77a220b40..9bb3c56db 100755 --- a/user/.xinitrc +++ b/user/.xinitrc @@ -48,7 +48,7 @@ export LESSHISTFILE="-" # default apps export EDITOR="~/.local/bin/lvim" export VISUAL="neovide --neovim-bin ~/.local/bin/lvim" -export BROWSER="firefox" +export BROWSER="qutebrowser" export VIEWER="zathura" # start window manager / desktop environment