summaryrefslogtreecommitdiffstatshomepage
path: root/dot_config
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config')
-rw-r--r--dot_config/git/config4
-rw-r--r--dot_config/mimeapps.list2
-rw-r--r--dot_config/sway/config5
-rw-r--r--dot_config/sway/executable_type-vpn-otp.sh23
-rw-r--r--dot_config/systemd/user/teams-sii.service28
-rw-r--r--dot_config/systemd/user/teams-xsight.service28
-rw-r--r--dot_config/zsh/dot_zprofile6
-rw-r--r--dot_config/zsh/dot_zshrc1
8 files changed, 2 insertions, 95 deletions
diff --git a/dot_config/git/config b/dot_config/git/config
index a4831cf..56e14be 100644
--- a/dot_config/git/config
+++ b/dot_config/git/config
@@ -128,10 +128,6 @@
swd = switch -d
unstage = reset HEAD --
update=!git fetch && git merge --ff-only
-[includeIf "gitdir:/home/*/work/"]
- path = config-work
-[includeIf "gitdir:/home/swuser/"]
- path = config-work
[includeIf "gitdir:~/doxfiles/.git"]
path = config-personal
[includeIf "gitdir:~/dev/copilot/.git"]
diff --git a/dot_config/mimeapps.list b/dot_config/mimeapps.list
index b8e8db7..79ed4ed 100644
--- a/dot_config/mimeapps.list
+++ b/dot_config/mimeapps.list
@@ -93,7 +93,6 @@ x-scheme-handler/webcal=org.mozilla.thunderbird.desktop
text/calendar=org.mozilla.thunderbird.desktop
application/x-extension-ics=org.mozilla.thunderbird.desktop
x-scheme-handler/webcals=org.mozilla.thunderbird.desktop
-x-scheme-handler/msteams=teams-xsight.desktop
[Added Associations]
x-scheme-handler/http=io.gitlab.librewolf-community.desktop;
@@ -110,4 +109,3 @@ x-scheme-handler/mailto=org.mozilla.thunderbird.desktop;
x-scheme-handler/mid=org.mozilla.thunderbird.desktop;
x-scheme-handler/webcal=org.mozilla.thunderbird.desktop;
x-scheme-handler/webcals=org.mozilla.thunderbird.desktop;
-x-scheme-handler/msteams=teams-xsight.desktop;
diff --git a/dot_config/sway/config b/dot_config/sway/config
index 6490001..32e7320 100644
--- a/dot_config/sway/config
+++ b/dot_config/sway/config
@@ -53,11 +53,6 @@ for_window [class="Tor Browser"] floating enable
for_window [app_id="org.mozilla.thunderbird" title=".*Mozilla Thunderbird$"] mark --add tb-main
for_window [shell=".*"] inhibit_idle fullscreen
-# virt-viewer / virt-manager grab the Mod key via the keyboard-shortcuts-inhibit
-# Wayland protocol. Refuse so $mod+... bindings keep working while the VM has focus.
-for_window [app_id="virt-viewer"] shortcuts_inhibitor disable
-for_window [app_id="remote-viewer"] shortcuts_inhibitor disable
-for_window [app_id="virt-manager"] shortcuts_inhibitor disable
for_window [app_id="^[Ww]aydroid.*"] shortcuts_inhibitor disable
# ── Standard keybinds (sway defaults) ─────────────────────────────────────────
diff --git a/dot_config/sway/executable_type-vpn-otp.sh b/dot_config/sway/executable_type-vpn-otp.sh
deleted file mode 100644
index f62ecbc..0000000
--- a/dot_config/sway/executable_type-vpn-otp.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env dash
-# Fetch the current VPN TOTP from pass-otp and type it into the focused
-# surface via wtype. If wtype isn't available or fails (focused surface
-# lacks virtual-keyboard support, e.g. an Xwayland app), copy the code
-# to the Wayland clipboard instead and notify so the user can Ctrl+V it.
-set -eu
-
-code=$(pass otp show vpn/totp 2>/dev/null | tr -d ' \t\n\r') || {
- notify-send -u critical "VPN OTP" "pass otp show vpn/totp failed"
- exit 1
-}
-
-if [ -z "$code" ]; then
- notify-send -u critical "VPN OTP" "empty code from pass-otp"
- exit 1
-fi
-
-if command -v wtype >/dev/null 2>&1 && wtype -- "$code" 2>/dev/null; then
- exit 0
-fi
-
-printf '%s' "$code" | wl-copy
-notify-send "VPN OTP" "Typed via wtype failed — code copied to clipboard"
diff --git a/dot_config/systemd/user/teams-sii.service b/dot_config/systemd/user/teams-sii.service
deleted file mode 100644
index 92a2bac..0000000
--- a/dot_config/systemd/user/teams-sii.service
+++ /dev/null
@@ -1,28 +0,0 @@
-[Unit]
-Description=Microsoft Teams — Sii account (flatpak)
-PartOf=graphical-session.target
-After=graphical-session.target
-ConditionEnvironment=WAYLAND_DISPLAY
-
-[Service]
-Type=simple
-# Mirrors the Exec= line in teams-sii.desktop. --user-data-dir isolates this
-# instance from teams-xsight; --class is for sway window matching.
-ExecStart=/usr/bin/flatpak run com.github.IsmaelMartinez.teams_for_linux \
- --class=teams-sii \
- --user-data-dir=%h/.var/app/com.github.IsmaelMartinez.teams_for_linux/config/profile-sii \
- --appIcon=%h/.local/share/icons/hicolor/256x256/apps/teams-sii.png \
- "--appTitle=Teams — Sii" \
- --minimized=true
-# Both Teams instances share the same flatpak app id, so we can't use
-# `flatpak kill <app-id>` in ExecStop (it would also kill the xsight one).
-# KillMode=mixed sends SIGTERM to the main process only — teams-for-linux
-# treats that as a real Quit (not tray-hide), and SIGKILL hits stragglers
-# after the stop timeout if Electron misbehaves.
-KillMode=mixed
-Restart=on-failure
-RestartSec=5s
-TimeoutStopSec=15s
-
-[Install]
-WantedBy=sway-session.target
diff --git a/dot_config/systemd/user/teams-xsight.service b/dot_config/systemd/user/teams-xsight.service
deleted file mode 100644
index a212196..0000000
--- a/dot_config/systemd/user/teams-xsight.service
+++ /dev/null
@@ -1,28 +0,0 @@
-[Unit]
-Description=Microsoft Teams — XSight account (flatpak)
-PartOf=graphical-session.target
-After=graphical-session.target
-ConditionEnvironment=WAYLAND_DISPLAY
-
-[Service]
-Type=simple
-# Mirrors the Exec= line in teams-xsight.desktop. --user-data-dir isolates
-# this instance from teams-sii; --class is for sway window matching.
-ExecStart=/usr/bin/flatpak run com.github.IsmaelMartinez.teams_for_linux \
- --class=teams-xsight \
- --user-data-dir=%h/.var/app/com.github.IsmaelMartinez.teams_for_linux/config/profile-xsight \
- --appIcon=%h/.local/share/icons/hicolor/256x256/apps/teams-xsight.png \
- "--appTitle=Teams — XSight" \
- --minimized=true
-# Both Teams instances share the same flatpak app id, so we can't use
-# `flatpak kill <app-id>` in ExecStop (it would also kill the sii one).
-# KillMode=mixed sends SIGTERM to the main process only — teams-for-linux
-# treats that as a real Quit (not tray-hide), and SIGKILL hits stragglers
-# after the stop timeout if Electron misbehaves.
-KillMode=mixed
-Restart=on-failure
-RestartSec=5s
-TimeoutStopSec=15s
-
-[Install]
-WantedBy=sway-session.target
diff --git a/dot_config/zsh/dot_zprofile b/dot_config/zsh/dot_zprofile
index cc92558..a2f5c8b 100644
--- a/dot_config/zsh/dot_zprofile
+++ b/dot_config/zsh/dot_zprofile
@@ -70,8 +70,8 @@ export LESS="-F --RAW-CONTROL-CHARS"
# ── GPG / SSH ─────────────────────────────────────────────────────────────────
unset SSH_AGENT_PID
-# Always route SSH auth through the machine-local gpg-agent. The VM imports its
-# own work GPG key; we deliberately do not use forwarded ssh-agent sockets.
+# Always route SSH auth through the machine-local gpg-agent. We deliberately do
+# not use forwarded ssh-agent sockets.
SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
export SSH_AUTH_SOCK
@@ -138,8 +138,6 @@ case $(uname -n) in
;;
hercules)
export OCL_ICD_VENDORS=nvidia
- # shellcheck disable=SC1091 # optional, loaded only on hosts that have it
- [[ -r "$XDG_CONFIG_HOME/sh/work-envrc" ]] && source "$XDG_CONFIG_HOME/sh/work-envrc"
;;
esac
diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc
index d432e45..17c3d1b 100644
--- a/dot_config/zsh/dot_zshrc
+++ b/dot_config/zsh/dot_zshrc
@@ -245,7 +245,6 @@ alias ip="ip -color=auto"
alias lsip="ip -human -color=auto --brief address show"
alias ipa="ip -stats -details -human -color=auto address show"
alias ipecho='curl ipecho.net/plain'
-alias mw="mosh --server=/home/swuser/.nix-profile/bin/mosh-server work.wg -- /home/swuser/.nix-profile/bin/zsh -lic 'za'"
alias ss='sudo ss -tupnl'
# Privilege escalation