Compare commits
No commits in common. "a86a935b69053defdd71104689d14b75e5365cac" and "562acd775f79a476595f0e4c26f64c6b0f3c051b" have entirely different histories.
a86a935b69
...
562acd775f
|
@ -19,7 +19,7 @@ scrolling:
|
|||
|
||||
font:
|
||||
normal:
|
||||
family: Courier Prime Code
|
||||
family: Iosevka
|
||||
style: Regular
|
||||
size: 12.0
|
||||
offset:
|
||||
|
|
|
@ -10,18 +10,15 @@ end
|
|||
# - _agw_dir_bin = volatile binary storage
|
||||
# - _agw_dir_rc = the directory holding this repository
|
||||
# - _agw_dir_src = non-volatile source code storage
|
||||
# - _agw_dir_dev = volatile chroot development environment
|
||||
switch (uname)
|
||||
case Linux NetBSD
|
||||
set -Ux _agw_dir_bin ~/bin
|
||||
set -Ux _agw_dir_rc ~/rc
|
||||
set -Ux _agw_dir_src ~/src
|
||||
set -Ux _agw_dir_dev ~/dev
|
||||
case Darwin
|
||||
set -Ux _agw_dir_bin ~/Binaries
|
||||
set -Ux _agw_dir_rc ~/Sources/scripts
|
||||
set -Ux _agw_dir_src ~/Sources
|
||||
set -Ux _agw_dir_dev ~/Development
|
||||
case \*
|
||||
echo (set_color red)"This platform is not configured!"
|
||||
end
|
||||
|
|
|
@ -2,4 +2,3 @@ save-position-on-quit
|
|||
resume-playback
|
||||
msg-level=all=warn
|
||||
sub-auto=fuzzy
|
||||
script=/usr/lib/mpv-mpris/mpris.so
|
||||
|
|
|
@ -1,11 +1,2 @@
|
|||
# -*-Conf-*-
|
||||
XBPS_CHROOT_CMD=uunshare
|
||||
XBPS_ALLOW_CHROOT_BREAKOUT=no
|
||||
|
||||
XBPS_CFLAGS="-O3 -pipe -march=native"
|
||||
XBPS_CXXFLAGS="${XBPS_CFLAGS}"
|
||||
XBPS_MAKEJOBS=12
|
||||
|
||||
XBPS_ALLOW_RESTRICTED=yes
|
||||
|
||||
## EOF
|
||||
|
|
|
@ -31,8 +31,7 @@
|
|||
"Sets up `org-mode'."
|
||||
(setq-local indent-tabs-mode nil
|
||||
standard-indent 2
|
||||
tab-width 2)
|
||||
(define-key evil-normal-state-map (kbd "TAB") 'org-cycle))
|
||||
tab-width 2))
|
||||
|
||||
(defun agw-cc-mode ()
|
||||
"Sets up `c-mode' and `c++-mode'."
|
||||
|
|
|
@ -51,4 +51,9 @@
|
|||
|
||||
(set-fontset-font t '(#x2e80 . #x9fff) "Noto Sans CJK JP")
|
||||
|
||||
(setq agw-mode-line-family
|
||||
(if (eq system-type 'windows-nt)
|
||||
"Noto Mono"
|
||||
"Iosevka"))
|
||||
|
||||
;; EOF
|
||||
|
|
|
@ -70,19 +70,24 @@
|
|||
|
||||
;; theme
|
||||
(use-package base16-theme
|
||||
:ensure t)
|
||||
|
||||
(use-package inkpot-theme
|
||||
:ensure t)
|
||||
|
||||
(load-theme
|
||||
(if (display-graphic-p)
|
||||
'base16-atelier-cave
|
||||
'inkpot)
|
||||
t nil)
|
||||
(set-face-attribute 'mode-line nil
|
||||
:background "#0a0a0a"
|
||||
:foreground "#92ebf0")
|
||||
:ensure t
|
||||
:config
|
||||
(load-theme 'base16-atelier-cave t)
|
||||
(dolist (face '(mode-line
|
||||
mode-line-buffer-id
|
||||
mode-line-emphasis
|
||||
mode-line-highlight
|
||||
mode-line-inactive
|
||||
header-line
|
||||
header-line-highlight))
|
||||
(set-face-attribute face nil
|
||||
:height 120
|
||||
:family agw-mode-line-family
|
||||
:weight 'normal
|
||||
:width 'normal))
|
||||
(set-face-attribute 'mode-line nil
|
||||
:background "#0a0a0a"
|
||||
:foreground "#92ebf0"))
|
||||
|
||||
;; major modes
|
||||
(use-package powershell
|
||||
|
|
31
fish/chroot
31
fish/chroot
|
@ -1,31 +0,0 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
function devrt-recreate
|
||||
echo "Ensure that you have committed any changes to the devrt that you need to before recreating."
|
||||
echo "Type 'ok' to continue, or anything else to exit."
|
||||
if test (read) != "ok"
|
||||
exit 1
|
||||
end
|
||||
rm -rf $_agw_dir_dev
|
||||
tar -xJf $_agw_dir_bin/dev-base.latest.tar.xz
|
||||
xbps-uunshare -- $_agw_dir_dev /setup.sh
|
||||
end
|
||||
|
||||
function devrt-commit
|
||||
pushd ~
|
||||
set lf $_agw_dir_bin/dev-base.latest.tar.xz
|
||||
set nf $_agw_dir_bin/dev-base.(stat -c %Y $lf).tar.xz
|
||||
mv $lf $nf
|
||||
tar -Ipixz -cf $lf (string replace ~/ "" -- $_agw_dir_dev)
|
||||
popd
|
||||
end
|
||||
|
||||
function devrt
|
||||
xbps-uunshare \
|
||||
-b $_agw_dir_rc:/home/marrub/rc \
|
||||
-b $_agw_dir_src:/home/marrub/src \
|
||||
-b $_agw_dir_bin:/home/marrub/bin \
|
||||
-- $_agw_dir_dev /usr/bin/env _agw_chroot=1 /usr/bin/fish -l -i -C cd
|
||||
end
|
||||
|
||||
## EOF
|
|
@ -1,7 +0,0 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
function emacs-nw
|
||||
env TERM=alacritty-direct ~/.local/bin/emacs -nw $argv
|
||||
end
|
||||
|
||||
## EOF
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
if type -q llvmenv
|
||||
set -gxa PATH (llvmenv prefix)/bin
|
||||
end
|
||||
|
||||
## EOF
|
13
fish/path
13
fish/path
|
@ -1,13 +0,0 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
if test -d ~/.gem/ruby
|
||||
set -gxa PATH ~/.gem/ruby/2.*/bin
|
||||
end
|
||||
if test -d ~/.cabal/bin
|
||||
set -gxa PATH ~/.cabal/bin
|
||||
end
|
||||
if test -d $_agw_dir_bin/llvm/$_agw_llvm_ver/bin
|
||||
set -gxa PATH $_agw_dir_bin/llvm/$_agw_llvm_ver/bin
|
||||
end
|
||||
|
||||
## EOF
|
18
fish/prompt
18
fish/prompt
|
@ -4,18 +4,12 @@ function fish_prompt
|
|||
set _stat $status
|
||||
echo -n (set_color 70a9ff)(date +%H:%M:%S)
|
||||
echo -n (set_color normal)(
|
||||
if test $_stat -eq 0
|
||||
echo '@'
|
||||
else
|
||||
echo '!'
|
||||
end)
|
||||
|
||||
echo -n (
|
||||
if test $_agw_chroot
|
||||
set_color f54f4c
|
||||
else
|
||||
set_color c792ea
|
||||
end)$hostname
|
||||
if test $_stat -eq 0
|
||||
echo '@'
|
||||
else
|
||||
echo '!'
|
||||
end)
|
||||
echo -n (set_color c792ea)$hostname
|
||||
echo (set_color normal)"% "
|
||||
end
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ export GTK_USE_PORTAL=1
|
|||
export KRITA_NO_STYLE_OVERRIDE=1
|
||||
|
||||
# misc
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
export PATH=$HOME/.local/bin:$HOME/.gem/ruby/2.6.0/bin:$HOME/.cabal/bin:$PATH
|
||||
export DOOMWADDIR=/media/store/games/doom/iwads
|
||||
export EDITOR=vi
|
||||
export WINEPREFIX=$HOME/progs/winepfx
|
||||
|
|
Loading…
Reference in New Issue