Introduction
Introduction Statistics Contact Development Disclaimer Help
remove 2nd monitor, neck gets sore quickly. - dotfiles - These are my dotfiles.…
git clone git://jay.scot/dotfiles
Log
Files
Refs
README
---
commit 3531ea824509e3e833008e785a337228714692c5
parent 24d065e7064b5edf315efc1614d3dddb9517a07f
Author: Jay Scott <[email protected]>
Date: Sun, 23 Nov 2025 10:33:20 +0000
remove 2nd monitor, neck gets sore quickly.
Diffstat:
M ashrc | 8 ++++++--
M bin/link-handler | 2 +-
M bin/ytd | 2 +-
M nvim/init.lua | 4 ++--
M sway/config | 19 +------------------
5 files changed, 11 insertions(+), 24 deletions(-)
---
diff --git a/ashrc b/ashrc
@@ -30,6 +30,9 @@ export LANG=en_US.UTF-8
export LC_CTYPE="en_US.UTF-8"
export LC_ALL=en_US.UTF-8
+# paste bin
+alias tb='nc termbin.com 9999'
+
# safety first kids!
alias cp='cp -i'
alias mv='mv -i'
@@ -40,6 +43,7 @@ alias weather='curl wttr.in/?1QF'
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
alias 0ad='flatpak run com.play0ad.zeroad'
alias openra='flatpak run net.openra.OpenRA'
+alias c89='gcc -ansi -pedantic'
# git alias
alias ga='git add -A'
@@ -54,8 +58,8 @@ alias mutt='neomutt'
alias mpv="mpv --autofit=30% --really-quiet --no-terminal"
# vpn
-alias von='doas resolvconf -u && doas wg-quick up fi-hel-wg-002'
-alias voff='doas wg-quick down fi-hel-wg-002'
+alias von='doas resolvconf -u && doas wg-quick up be-bru-wg-103'
+alias voff='doas wg-quick down be-bru-wg-103'
alias vcheck='curl https://am.i.mullvad.net/connected'
alias s='ddgr --unsafe --noua'
diff --git a/bin/link-handler b/bin/link-handler
@@ -9,7 +9,7 @@ gopher="foot -e lynx"
pdf="zathura"
images="swayimg"
torrent="qbittorrent"
-browser="rdrview"
+browser="foot -e rdrview"
uri="$1"
uri_lower="$(printf "%s" "$uri" | tr '[:upper:]' '[:lower:]')"
diff --git a/bin/ytd b/bin/ytd
@@ -37,7 +37,6 @@ main() {
"$action" "rhykker" "UURl31PWkfF0a3j3hiDRaCGA"
"$action" "brodie_robertson" "UUld68syR8Wi-GY_n4CaoJGA"
"$action" "distrotube" "UUVls1GmFKf6WlTraIb_IaJg"
- "$action" "linux_cast" "UUylGUf9BvQooEFjgdNudoQg"
"$action" "max_roving" "UUOxpcQ7KtZc7fd0jhnWS0Sg"
"$action" "misfit_minds" "UUEpHkpv4_CgZIEadjjOv4jA"
"$action" "better_offline" "UUsdzuPs5NKvdsBkQnP7Af8w"
@@ -46,6 +45,7 @@ main() {
"$action" "andrea_borman" "UUJsinEiaDqEn8a-GcADVEVA"
"$action" "veronica_explains" "UUMiyV_Ib77XLpzHPQH_q0qQ"
"$action" "chubby_trekka" "UU5YskHOZiTEzjdps94jFX1g"
+ "$action" "bythecurb" "UUUZ68a2OJnyTutbTNG1tSpA"
}
get_video() {
diff --git a/nvim/init.lua b/nvim/init.lua
@@ -99,7 +99,7 @@ require("lazy").setup({
-- appearance
vim.opt.number = true
vim.opt.signcolumn = "yes"
-vim.opt.colorcolumn = "80"
+vim.opt.colorcolumn = "72"
vim.opt.termguicolors = true
-- behaviour
@@ -152,7 +152,7 @@ vim.keymap.set("n", "<leader>fb", ":Telescope buffers<CR>",…
-- format paragraphs
vim.keymap.set("n", "<leader>pp", "gqap", { noremap = true, silent = true })
-vim.opt.textwidth = 80
+vim.opt.textwidth = 72
-- enable spellchecking
vim.keymap.set("n", "<leader>ps", ":setlocal spell! spelllang=en_gb<CR>", { no…
diff --git a/sway/config b/sway/config
@@ -16,7 +16,7 @@ workspace_layout default
font pango: Hack:style=Regular 2
# application assignment
-#for_window [app_id="mpv"] floating enable, sticky enable, resize set 560 280,…
+for_window [app_id="mpv"] floating enable, sticky enable, resize set 560 280, …
assign [app_id="librewolf"] 2
assign [app_id="qutebrowser"] 2
@@ -30,23 +30,6 @@ input * {
xkb_variant "extd"
}
-# monitors
-output DP-1 {
- pos 1080 0 res 2560x1440
- #pos 1920 0 res 2560x1440
-}
-
-output DP-2 {
- transform 270 pos 0 0 res 1920x1080
- #pos 0 0 res 1920x1080
-}
-
-workspace 1 output DP-1
-workspace 2 output DP-2
-workspace 3 output DP-1
-workspace 4 output DP-1
-focus output DP-1
-
# keybinds
bindsym $mod+Space exec footclient
bindsym $mod+p exec $menu
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.