Updates for my old arch system

This commit is contained in:
Hunter Haugen 2025-04-11 16:15:57 -07:00
parent 4bd342b207
commit ffc67ae3d7
Signed by: hunner
GPG key ID: EF99694AA599DDAD
5 changed files with 10 additions and 10 deletions

View file

@ -102,6 +102,7 @@ Plug 'juvenn/mustache.vim'
Plug 'github/copilot.vim'
Plug 'hunner/vim-beancount'
Plug 'prisma/vim-prisma'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
call plug#end()
" Because.

View file

@ -2,9 +2,9 @@ default-cache-ttl 3600
max-cache-ttl 3600
enable-ssh-support
#disable-scdaemon
pinentry-program /usr/local/bin/pinentry-mac
#pinentry-program /usr/local/bin/pinentry-mac
#pinentry-program /usr/sbin/pinentry-curses
#pinentry-program /opt/homebrew/bin/pinentry-mac
#pinentry-program /usr/bin/pinentry-curses
pinentry-program /Users/haugenh1/.gnupg/pinentry-ide.sh
#extra-socket /Users/hunner/.gnupg/S.gpg-agent.extra
#pinentry-program /Users/haugenh1/.gnupg/pinentry-ide.sh
#extra-socket /Users/hunner/.gnupg/S.gpg-agent.extra

View file

@ -7,7 +7,6 @@
import XMonad hiding (Tall)
import System.Exit
import XMonad.Layout.Circle
import XMonad.Layout.HintedTile
import XMonad.Layout.MagicFocus
import XMonad.Layout.Magnifier
@ -114,9 +113,9 @@ mKeys = [ ("M-S-n" , sendMessage MirrorShrink ) -- Expand current window
-- ++ -- mod-[1..9] %! Move window to Nth workspace that exists in alphabetical order
-- zip (map (("M-S-" ++) . show) [0..9]) (map (withNthWorkspace W.shift) [0..])
++ -- mod-{o,e,u} %! Switch to physical/Xinerama screens 0, 1, or 2
zip (map ("M-" ++) ["o","e","u"]) (map (\x -> screenWorkspace x >>= flip whenJust (windows . W.view)) [0..])
zip (map ("M-" ++) ["o","u","e"]) (map (\x -> screenWorkspace x >>= flip whenJust (windows . W.view)) [0..])
++ -- mod-shift-{o,e,u} %! Move client to screen 0, 1, or 2
zip (map ("M-S-" ++) ["o","e","u"]) (map (\x -> screenWorkspace x >>= flip whenJust (windows . W.shift)) [0..])
zip (map ("M-S-" ++) ["o","u","e"]) (map (\x -> screenWorkspace x >>= flip whenJust (windows . W.shift)) [0..])
where -- Make the mouse jump to the middle of the screen for gridselect
warpToCentre = gets (W.screen . W.current . windowset) >>= \x -> warpToScreen x 0.5 0.5
warpToCorner = gets (W.screen . W.current . windowset) >>= \x -> warpToScreen x 1.0 1.0
@ -165,7 +164,7 @@ gsConfig = def
-- Layouts:
--mLayout = smartBorders Full ||| tiled ||| hintedTile Wide ||| simplestFloat ||| Circle ||| magnifier Circle
mLayout = Mirror tiled ||| tiled ||| smartBorders Full ||| Circle ||| simplestFloat
mLayout = Mirror tiled ||| tiled ||| smartBorders Full ||| simplestFloat
where
-- default tiling algorithm partitions the screen into two panes
--tiled = Tall nmaster delta ratio

4
.zshrc
View file

@ -56,7 +56,7 @@ esac
export PATH=/usr/sbin:/usr/bin:/sbin:/bin
export MANPATH=~/local/share/man:/usr/man:/usr/share/man:/usr/local/share/man
#paths=(/cat/bin)
prepaths=(/opt/puppetlabs/pdk/bin ~/.emacs.d/bin /opt/homebrew/bin /usr/local/bin /usr/local/sbin /usr/local/opt/node@8/bin ~/.local/bin ~/.rbenv/bin ~/local/talon ~/local/bin ~/local/sbin)
prepaths=(/opt/puppetlabs/pdk/bin ~/.config/emacs/bin /opt/homebrew/bin /usr/local/bin /usr/local/sbin /usr/local/opt/node@8/bin ~/.local/bin ~/.rbenv/bin ~/local/talon ~/local/bin ~/local/sbin)
#for dir in $paths ; do
# if [ -d $dir ] ; then
# export PATH=$PATH:$dir
@ -86,7 +86,7 @@ if [ -d /usr/local/opt/bison/bin ] ; then
export LDFLAGS="-L/usr/local/opt/bison/lib"
fi
# for latex
eval "$(/usr/libexec/path_helper)"
#eval "$(/usr/libexec/path_helper)"
#gem's path
if [ -d ~/.gems/bin ] ; then

View file

@ -5,4 +5,4 @@ xrandr --output DP-1-2 --auto
xrandr --output HDMI-1-1 --auto
xrandr --output DP-1-2 --left-of eDP-1-1
xrandr --output HDMI-1-1 --left-of DP-1-2
xrandr --output DP-1-2 --primary
xrandr --output HDMI-1-1 --primary