add some misc dots
This commit is contained in:
parent
21464a23d0
commit
dd39ecb6f5
|
@ -5,6 +5,11 @@
|
||||||
|
|
||||||
# some housekeeping
|
# some housekeeping
|
||||||
alias ls="ls --color=auto --group-directories-first"
|
alias ls="ls --color=auto --group-directories-first"
|
||||||
|
alias weather="curl https://wttr.in"
|
||||||
|
alias lynx="lynx -cfg=$LYNX_CFG_PATH/lynx.cfg"
|
||||||
|
alias elinks="TERM='xterm-color' elinks"
|
||||||
|
alias pkgsearch="nix search nixpkgs"
|
||||||
|
alias reload=". ~/.config/bash/profile"
|
||||||
|
|
||||||
function cd() {
|
function cd() {
|
||||||
builtin cd "$@" && ls --color=auto --group-directories-first
|
builtin cd "$@" && ls --color=auto --group-directories-first
|
||||||
|
|
|
@ -35,6 +35,9 @@ export GTK_THEME="earth"
|
||||||
# elinks
|
# elinks
|
||||||
export ELINKS_CONFDIR="$XDG_CONFIG_HOME/elinks"
|
export ELINKS_CONFDIR="$XDG_CONFIG_HOME/elinks"
|
||||||
|
|
||||||
|
# lynx
|
||||||
|
export LYNX_CFG_PATH="$XDG_CONFIG_HOME/lynx"
|
||||||
|
|
||||||
# dbus configuration
|
# dbus configuration
|
||||||
export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"
|
export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,9 @@
|
||||||
mkdir -p /home/usr/.config/khard
|
mkdir -p /home/usr/.config/khard
|
||||||
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/khard/khard.conf /home/usr/.config/khard/khard.conf
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/khard/khard.conf /home/usr/.config/khard/khard.conf
|
||||||
|
|
||||||
|
mkdir -p /home/usr/.config/lynx
|
||||||
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/lynx/lynx.cfg /home/usr/.config/lynx/lynx.cfg
|
||||||
|
|
||||||
mkdir -p /home/usr/.config/msmtp
|
mkdir -p /home/usr/.config/msmtp
|
||||||
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/msmtp/config /home/usr/.config/msmtp/config
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/msmtp/config /home/usr/.config/msmtp/config
|
||||||
|
|
||||||
|
@ -46,6 +49,9 @@
|
||||||
mkdir -p /home/usr/.config/nvim
|
mkdir -p /home/usr/.config/nvim
|
||||||
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/nvim/init.lua /home/usr/.config/nvim/init.lua
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/nvim/init.lua /home/usr/.config/nvim/init.lua
|
||||||
|
|
||||||
|
mkdir -p /home/usr/.config/python
|
||||||
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/python/pythonrc.py /home/usr/.config/python/pythonrc.py
|
||||||
|
|
||||||
mkdir -p /home/usr/.config/rbw
|
mkdir -p /home/usr/.config/rbw
|
||||||
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/rbw/config.json /home/usr/.config/rbw/config.json
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/rbw/config.json /home/usr/.config/rbw/config.json
|
||||||
|
|
||||||
|
@ -57,6 +63,9 @@
|
||||||
mkdir -p /home/usr/.config/sx
|
mkdir -p /home/usr/.config/sx
|
||||||
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/sx/sxrc /home/usr/.config/sx/sxrc
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/sx/sxrc /home/usr/.config/sx/sxrc
|
||||||
|
|
||||||
|
mkdir -p /home/usr/.config/tmux
|
||||||
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/tmux/tmux.conf /home/usr/.config/tmux/tmux.conf
|
||||||
|
|
||||||
mkdir -p /home/usr/.config/todoman
|
mkdir -p /home/usr/.config/todoman
|
||||||
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/todoman/config.py /home/usr/.config/todoman/config.py
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/todoman/config.py /home/usr/.config/todoman/config.py
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,56 @@
|
||||||
|
accept_all_cookies=off
|
||||||
|
anonftp_password=
|
||||||
|
bookmark_file=lynx_bookmarks.html
|
||||||
|
case_sensitive_searching=off
|
||||||
|
character_set=Western (ISO-8859-1)
|
||||||
|
cookie_accept_domains=
|
||||||
|
cookie_file=
|
||||||
|
cookie_loose_invalid_domains=
|
||||||
|
cookie_query_invalid_domains=
|
||||||
|
cookie_reject_domains=
|
||||||
|
cookie_strict_invalid_domains=
|
||||||
|
dir_list_order=ORDER_BY_NAME
|
||||||
|
dir_list_style=MIXED_STYLE
|
||||||
|
emacs_keys=off
|
||||||
|
file_editor=
|
||||||
|
file_sorting_method=BY_FILENAME
|
||||||
|
keypad_mode=LINKS_ARE_NOT_NUMBERED
|
||||||
|
lineedit_mode=Default Binding
|
||||||
|
multi_bookmarkB=
|
||||||
|
multi_bookmarkC=
|
||||||
|
multi_bookmarkD=
|
||||||
|
multi_bookmarkE=
|
||||||
|
multi_bookmarkF=
|
||||||
|
multi_bookmarkG=
|
||||||
|
multi_bookmarkH=
|
||||||
|
multi_bookmarkI=
|
||||||
|
multi_bookmarkJ=
|
||||||
|
multi_bookmarkK=
|
||||||
|
multi_bookmarkL=
|
||||||
|
multi_bookmarkM=
|
||||||
|
multi_bookmarkN=
|
||||||
|
multi_bookmarkO=
|
||||||
|
multi_bookmarkP=
|
||||||
|
multi_bookmarkQ=
|
||||||
|
multi_bookmarkR=
|
||||||
|
multi_bookmarkS=
|
||||||
|
multi_bookmarkT=
|
||||||
|
multi_bookmarkU=
|
||||||
|
multi_bookmarkV=
|
||||||
|
multi_bookmarkW=
|
||||||
|
multi_bookmarkX=
|
||||||
|
multi_bookmarkY=
|
||||||
|
multi_bookmarkZ=
|
||||||
|
personal_mail_address=
|
||||||
|
personal_mail_name=
|
||||||
|
preferred_charset=
|
||||||
|
preferred_language=en
|
||||||
|
select_popups=on
|
||||||
|
show_color=default
|
||||||
|
show_cursor=on
|
||||||
|
show_dotfiles=off
|
||||||
|
sub_bookmarks=OFF
|
||||||
|
user_mode=ADVANCED
|
||||||
|
verbose_images=on
|
||||||
|
vi_keys=off
|
||||||
|
visited_links=LAST_REVERSED
|
|
@ -0,0 +1,17 @@
|
||||||
|
import os
|
||||||
|
import atexit
|
||||||
|
import readline
|
||||||
|
|
||||||
|
history = os.path.join(os.path.expanduser('~'), '.cache/python_history')
|
||||||
|
try:
|
||||||
|
readline.read_history_file(history)
|
||||||
|
except OSError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
def write_history():
|
||||||
|
try:
|
||||||
|
readline.write_history_file(history)
|
||||||
|
except OSError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
atexit.register(write_history)
|
|
@ -64,6 +64,7 @@
|
||||||
tea
|
tea
|
||||||
neovim
|
neovim
|
||||||
git
|
git
|
||||||
|
git-annex
|
||||||
|
|
||||||
# audio
|
# audio
|
||||||
cmus
|
cmus
|
||||||
|
@ -83,7 +84,21 @@
|
||||||
htop
|
htop
|
||||||
tmux
|
tmux
|
||||||
rbw
|
rbw
|
||||||
|
elinks
|
||||||
|
lynx
|
||||||
|
jq
|
||||||
|
peaclock
|
||||||
usbutils # for lsusb
|
usbutils # for lsusb
|
||||||
|
pciutils # for lspci
|
||||||
|
kjv
|
||||||
|
epr
|
||||||
|
poppler_utils
|
||||||
|
ledger
|
||||||
|
gnuplot
|
||||||
|
anki-bin
|
||||||
|
|
||||||
|
# for the remote access functionality
|
||||||
|
vscode-fhs
|
||||||
];
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
Loading…
Reference in New Issue