Merge branch 'master' of ssh://git.jonathanh.co.uk/jab2870/Dotfiles

master
Jonathan Hodgson 7 months ago
commit 8e9073bd2d
  1. 7
      bin/.bin/screenlayouts/mirrored.sh
  2. 19
      nvim/.config/nvim/lazy-lock.json
  3. 3
      shells/zsh/STOW/.zshrc

@ -3,7 +3,10 @@
laptopScreen="eDP-1"
externalScreen="$(xrandr | grep -Eo '^.* connected' | grep -v "$laptopScreen" |
cut -d ' ' -f 1)"
laptopResolution="$(xrandr | grep -A 1 "$laptopScreen" | sed -n 2p | awk '{print $1}')"
xrandr | sed '/^ /d' | grep -Ev '(:|eDP-1)' | awk -v ORS=" " '{print "--output " $1 " --off"}' |
pkill compton
xrandr --output "$laptopScreen" --primary --mode 1920x1080 --pos 0x0 --rotate normal --output "$externalScreen" --mode 1920x1080 --pos 0x0 --rotate normal
/usr/bin/compton --config "$HOME/.config/picom/picom.conf" & disown
pkill picom
xrandr --output "$laptopScreen" --primary --mode "$laptopResolution" --pos 0x0 --rotate normal --output "$externalScreen" --mode "$laptopResolution" --pos 0x0 --rotate normal
/usr/bin/picom --config "$HOME/.config/picom/picom.conf" & disown

@ -1,19 +0,0 @@
{
"LuaSnip": { "branch": "master", "commit": "0df29db3543837f8b41597f2640397c5ec792b7b" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" },
"cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
"friendly-snippets": { "branch": "main", "commit": "53d3df271d031c405255e99410628c26a8f0d2b0" },
"fzf": { "branch": "master", "commit": "82954258c1c9f61bb6bb764c51470ffbcee01b6c" },
"fzf.vim": { "branch": "master", "commit": "1e054c1d075d87903647db9320116d360eb8b024" },
"gruvbox.nvim": { "branch": "main", "commit": "0940564208a490c173216c3b7d2188b0a5ad3491" },
"lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" },
"nvim-cmp": { "branch": "main", "commit": "41d7633e4146dce1072de32cea31ee31b056a131" },
"nvim-lspconfig": { "branch": "master", "commit": "bd405e45c5fb122c16af8f87fa2dd7ab1981b243" },
"nvim-surround": { "branch": "main", "commit": "633a0ab03159569a66b65671b0ffb1a6aed6cf18" },
"nvim-treesitter": { "branch": "master", "commit": "a6c655629cad421e432aa84af32cbfe35375113a" },
"ultimate-autopair.nvim": { "branch": "v0.6", "commit": "41d8b52183df39096d5a2918467cd6266282f64b" },
"vim-fugitive": { "branch": "master", "commit": "46eaf8918b347906789df296143117774e827616" }
}

@ -81,7 +81,8 @@ else
export OPENAPI="$(realpath "$current/$(yq -r .openapi "$current/index.yaml")")"
fi
mkdir "$current/shell-logs" 2> /dev/null
/usr/bin/script -f "$current/shell-logs/$(date +"%d-%b-%y_%H-%M-%S")_shell.log"
date="$(date +"%d-%b-%y_%H-%M-%S")"
/usr/bin/script -f "$current/shell-logs/${date}_shell.log" -T "$current/shell-logs/${date}_shell.timing"
fi
else
#type -p rem > /dev/null && rem -@

Loading…
Cancel
Save