From bc8b5e21a5ff2901af0024599d9810b796e94581 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sat, 17 May 2025 10:27:17 -0500 Subject: [PATCH] update --- .config/nvim/lua/plugins/misc.lua | 4 ++- .config/qutebrowser/config.py | 43 ++++++++++++----------- .config/shell/export.zsh | 2 ++ .config/sway/config | 2 +- ansible/files/ssh-agent.service | 10 ++++++ ansible/roles/packages/vars/Archlinux.yml | 4 ++- ansible/scripts/install_brew.yml | 2 +- 7 files changed, 43 insertions(+), 24 deletions(-) create mode 100644 ansible/files/ssh-agent.service diff --git a/.config/nvim/lua/plugins/misc.lua b/.config/nvim/lua/plugins/misc.lua index e08600a..74a9d69 100644 --- a/.config/nvim/lua/plugins/misc.lua +++ b/.config/nvim/lua/plugins/misc.lua @@ -1,6 +1,7 @@ return { { - "williamboman/mason.nvim", + "mason-org/mason.nvim", + version = "^1.0.0", opts = { ensure_installed = { "gopls", @@ -23,6 +24,7 @@ return { }, }, }, + { "mason-org/mason-lspconfig.nvim", version = "^1.0.0" }, { "nvim-treesitter/nvim-treesitter", opts = { diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index ef76cb1..552ecc0 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -69,6 +69,8 @@ config.bind("gJ", "tab-move +") config.bind("gK", "tab-move -") config.bind("gm", "tab-move") config.bind("x", "tab-close") +config.bind("u", "spawn --userscript bw") + # styles, cosmetics # c.content.user_stylesheets = ["~/.config/qutebrowser/styles/youtube-tweaks.css"] @@ -105,23 +107,24 @@ config.set("content.cookies.store", True) # You can also watch yt vids directly in mpv, see qutebrowser FAQ for how to do that. # If you want additional blocklists, you can get the python-adblock package, or you can uncomment the ublock lists here. c.content.blocking.enabled = True -# c.content.blocking.method = 'adblock' # uncomment this if you install python-adblock -# c.content.blocking.adblock.lists = [ -# "https://github.com/ewpratten/youtube_ad_blocklist/blob/master/blocklist.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/legacy.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2020.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2021.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2022.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2023.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2024.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/badware.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/privacy.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/badlists.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances-cookies.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances-others.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/badlists.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/quick-fixes.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/resource-abuse.txt", -# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/unbreak.txt"] +c.content.blocking.method = "adblock" # uncomment this if you install python-adblock +c.content.blocking.adblock.lists = [ + "https://github.com/ewpratten/youtube_ad_blocklist/blob/master/blocklist.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/legacy.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2020.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2021.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2022.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2023.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2024.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/badware.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/privacy.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/badlists.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances-cookies.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances-others.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/badlists.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/quick-fixes.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/resource-abuse.txt", + "https://github.com/uBlockOrigin/uAssets/raw/master/filters/unbreak.txt", +] diff --git a/.config/shell/export.zsh b/.config/shell/export.zsh index c493f3b..c2db5c8 100644 --- a/.config/shell/export.zsh +++ b/.config/shell/export.zsh @@ -1,4 +1,5 @@ export ZSH="$HOME/.oh-my-zsh" +export DEVPOD_DISABLE_TELEMETRY=true export DOTNET_CLI_TELEMETRY_OPTOUT=1 export POWERSHELL_TELEMETRY_OPTOUT=1 export DOTNET_ROOT="/usr/share/dotnet" @@ -13,6 +14,7 @@ export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="bg=none,fg=white,bold" #eval $(thefuck --alias) export GEM_HOME="$HOME/gems" export XCURSOR_SIZE=24 +export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" export PATH="$HOME/.local/bin:$HOME/gems/bin:/usr/local/go/bin:$HOME/go/bin:/home/linuxbrew/.linuxbrew/bin:$PATH" export PATH="$HOME/.local/bin/DSC:$PATH" diff --git a/.config/sway/config b/.config/sway/config index 9051b71..aef8165 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -187,7 +187,7 @@ bindsym $mod+Shift+i exec /opt/goland/bin/goland.sh #bindsym $mod+v splitv # Switch the current container between different layout styles - bindsym $mod+s layout stacking +# bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split diff --git a/ansible/files/ssh-agent.service b/ansible/files/ssh-agent.service new file mode 100644 index 0000000..9428410 --- /dev/null +++ b/ansible/files/ssh-agent.service @@ -0,0 +1,10 @@ +[Unit] +Description=SSH key agent + +[Service] +Type=simple +Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket +ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK + +[Install] +WantedBy=default.target diff --git a/ansible/roles/packages/vars/Archlinux.yml b/ansible/roles/packages/vars/Archlinux.yml index 9aee5fc..134bbf5 100644 --- a/ansible/roles/packages/vars/Archlinux.yml +++ b/ansible/roles/packages/vars/Archlinux.yml @@ -103,8 +103,9 @@ required_packages_pacman: - less - blueman - qutebrowser - - python-tldextrct + - python-tldextract - python-pyperclip + - python-adblock flatpak_remote: - { name: "flathub", url: "https://dl.flathub.org/repo/flathub.flatpakrepo" } @@ -123,6 +124,7 @@ required_packages_flatpak: - sh.loft.devpod - com.parsecgaming.parsec - io.gitlab.librewolf-community + - org.videolan.VLC systemd_service: - cronie.service diff --git a/ansible/scripts/install_brew.yml b/ansible/scripts/install_brew.yml index 264cf38..faff8e6 100644 --- a/ansible/scripts/install_brew.yml +++ b/ansible/scripts/install_brew.yml @@ -22,7 +22,7 @@ - name: Load Brew shellenv become_user: "{{ USER }}" - shell: eval "$(/home/linuxbrew/.linuxbrew/bin brew shellenv)" + shell: eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" when: - required_packages_brew is defined - not homebrew_check.stat.exists