diff options
Diffstat (limited to 'programs')
-rw-r--r-- | programs/aliases.nix | 2 | ||||
-rw-r--r-- | programs/newsboat/urls | 2 | ||||
-rw-r--r-- | programs/nvim.nix | 6 | ||||
-rw-r--r-- | programs/zsh/zprofile | 10 |
4 files changed, 7 insertions, 13 deletions
diff --git a/programs/aliases.nix b/programs/aliases.nix index 59d94b2..28e3815 100644 --- a/programs/aliases.nix +++ b/programs/aliases.nix @@ -18,4 +18,6 @@ gc = "git commit"; gl = "git lg"; gd = "git diff"; + + calibre = "calibre --with-library=~/books"; } diff --git a/programs/newsboat/urls b/programs/newsboat/urls index 8b2c797..0449fcf 100644 --- a/programs/newsboat/urls +++ b/programs/newsboat/urls @@ -14,6 +14,7 @@ https://www.poznan.pl/mim/feeds/rss.xml "~PoznaĆ" #https://tvn24.pl/najwazniejsze.xml "~Polska" https://portal.mozz.us/gemini/cetacean.club/journal/atom.xml "~Christine Dodrill journal" https://feeds.simplecast.com/cgGduVSh "~Wayward Guide" +https://etno-love.blogspot.com/rss.xml "~Z.Margraf" ## Tech tech "~## TECH ##" @@ -21,6 +22,7 @@ https://github.com/pniedzwiedzinski.private.atom?token=AESSVFF6BRN4OM6S2436XX547 https://weekly.nixos.org/feeds/all.rss.xml "~NixOS Weekly" "tech" https://christine.website/blog.rss "~Christine Dodrill" "tech" https://portal.mozz.us/gemini/makeworld.gq/gemlog/atom.xml?raw=1 "~makeworld" "tech" +https://portal.mozz.us/gemini/gemini.marmaladefoo.com/cgi-bin/atom-feed.cgi%3Flukee?raw=1 "~Luke Emmet" ## Youtube yt "~## YOUTUBE ##" diff --git a/programs/nvim.nix b/programs/nvim.nix index d903c4d..6ce3e7b 100644 --- a/programs/nvim.nix +++ b/programs/nvim.nix @@ -108,11 +108,9 @@ pkgs.neovim.override { autocmd BufWritepre * %s/\n\+\%$//e " When shortcut files are updated, renew bash and ranger configs with new material: - autocmd BufWritePost files,directories !shortcuts + autocmd BufWritePost bm-files,bm-dirs !shortcuts " Run xrdb whenever Xdefaults or Xresources are updated. - autocmd BufWritePost *Xresources,*Xdefaults !xrdb % - " Update binds when sxhkdrc is updated. - autocmd BufWritePost *sxhkdrc !pkill -USR1 sxhkd + autocmd BufWritePost *Xresources,*Xdefaults,*xresources,*xdefaults !xrdb % " Turns off highlighting on the bits of code that are changed, so the line that is changed is highlighted but the actual text that has changed stands out on the line and is readable. if &diff diff --git a/programs/zsh/zprofile b/programs/zsh/zprofile index 38288a1..244bedb 100644 --- a/programs/zsh/zprofile +++ b/programs/zsh/zprofile @@ -136,15 +136,7 @@ LOCATION="Poznan" [ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shortcutrc ] && shortcuts >/dev/null 2>&1 & -#if pacman -Qs libxft-bgra >/dev/null 2>&1; then - # Start graphical server on tty1 if not already running. - [ "$(tty)" = "/dev/tty1" ] && ! pidof Xorg >/dev/null 2>&1 && exec startx &> $HOME/.Xoutput -#else -# echo "\033[31mIMPORTANT\033[0m: Note that \033[32m\`libxft-bgra\`\033[0m must be installed for this build of dwm. -#Please run: -# \033[32myay -S libxft-bgra\033[0m -#and replace \`libxft\`" -#fi +[ "$(tty)" = "/dev/tty1" ] && ! pidof Xorg >/dev/null 2>&1 && exec startx # Switch escape and caps if tty and no passwd required: # sudo -n loadkeys ${XDG_DATA_HOME:-$HOME/.local/share}/larbs/ttymaps.kmap 2>/dev/null |