summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/dunst/dunstrc20
-rw-r--r--.config/fish/alias.fish2
-rw-r--r--.config/fish/config.fish37
-rw-r--r--.config/mutt/defaults.muttrc2
-rw-r--r--.config/nvim/plugins.vim4
-rwxr-xr-x.local/bin/ref-newsboat.pl4
-rw-r--r--.profile16
7 files changed, 34 insertions, 51 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc
index df3d13d..0ef33f2 100644
--- a/.config/dunst/dunstrc
+++ b/.config/dunst/dunstrc
@@ -1,14 +1,14 @@
[global]
monitor = 0
- follow = keyboard
- geometry = "350x5-10+40"
+ follow = none
+ geometry = "400x5-30+30"
indicate_hidden = yes
shrink = yes
transparency = 0
notification_height = 0
- separator_height = 2
+ separator_height = 4
padding = 0
- horizontal_padding = 8
+ horizontal_padding = 10
frame_width = 3
frame_color = "#505050"
@@ -40,7 +40,7 @@
# Markup is allowed
format = "<b>%s</b>\n%b"
- alignment = left
+ alignment = center
show_age_threshold = 60
word_wrap = yes
ellipsize = middle
@@ -48,13 +48,13 @@
stack_duplicates = true
hide_duplicate_count = true
show_indicators = yes
- icon_position = left
- max_icon_size = 40
- #icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/:/usr/share/icons/Adwaita/256x256/status/
+ icon_position = right
+ max_icon_size = 100
+ # icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/:/usr/share/icons/Adwaita/256x256/status/
sticky_history = yes
history_length = 20
- dmenu = /usr/bin/dmenu -p dunst:
- browser = /usr/bin/firefox -new-tab
+ # dmenu = /usr/bin/dmenu -p dunst:
+ # browser = /usr/bin/firefox -new-tab
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
diff --git a/.config/fish/alias.fish b/.config/fish/alias.fish
index db740ab..ccdfd27 100644
--- a/.config/fish/alias.fish
+++ b/.config/fish/alias.fish
@@ -48,3 +48,5 @@ alias tsm='transmission-remote'
alias tsd='transmission-daemon'
alias df='df -h'
alias rsox='sox -t oss default'
+alias calcurse="calcurse -C $XDG_CONFIG_HOME/calcurse -D $XDG_DATA_HOME/calcurse"
+alias abook="abook -C $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook"
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 705d9c9..ef37ebf 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -1,33 +1,10 @@
-set -x PATH $HOME/.local/bin /usr/local/llvm11/bin $PATH; export PATH
-
-export EDITOR="nvim"
-export VISUAL="nvim"
-export PAGER="less"
-export TERMINAL="alacritty"
-export BROWSER="firefox"
-export READER="zathura"
-export FILE="vifm"
-export MPD_HOST="$HOME/.mpd/socket"
-export LANG="en_US.UTF-8"
-export LESSHISTFILE="-"
-export XDG_DATA_HOME="$HOME/.local/share"
-export XDG_CONFIG_HOME="$HOME/.config"
-export XDG_MUSIC_DIR="$HOME/Music"
-export CCACHE_PATH="/usr/bin:/usr/local/bin:/usr/local/llvm11/bin"
-export CCACHE_DIR="/var/cache/ccache-jozan"
-export CCACHE_LOGFILE="/var/log/ccache.log"
-export RUSTFLAGS="-L /usr/local/lib"
-export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border'
-set -x LESS "-R"; export LESS
-set -x MANPAGER "less -M +Gg"
-# export LESS_TERMCAP_mb="\033[1;32m"
-# export LESS_TERMCAP_md="\033[1;32m"
-# export LESS_TERMCAP_me="\033[0m"
-# export LESS_TERMCAP_se="\033[0m"
-# export LESS_TERMCAP_so="\033[01;33m"
-# export LESS_TERMCAP_ue="\033[0m"
-# export LESS_TERMCAP_us="\033[1;4;31m"
-
+export LESS_TERMCAP_mb=(printf '\e[1;31m')
+export LESS_TERMCAP_md=(printf '\e[1;31m')
+export LESS_TERMCAP_me=(printf '\e[0m')
+export LESS_TERMCAP_se=(printf '\e[0m')
+export LESS_TERMCAP_so=(printf '\e[1;33;40m')
+export LESS_TERMCAP_ue=(printf '\e[0m')
+export LESS_TERMCAP_us=(printf '\e[0;4;35m')
source $HOME/.config/fish/alias.fish
diff --git a/.config/mutt/defaults.muttrc b/.config/mutt/defaults.muttrc
index d3c76d6..5977c89 100644
--- a/.config/mutt/defaults.muttrc
+++ b/.config/mutt/defaults.muttrc
@@ -6,7 +6,7 @@
set mailcap_path = /usr/local/share/mutt-wizard/mailcap
set date_format="%y/%m/%d %I:%M%p"
set index_format="%2C %Z %?X?A& ? %D %-15.15F %s (%-4.4c)"
-set new_mail_command = "notify-send -u normal ' NeoMutt' '%n new mail(s)' &"
+set new_mail_command = "notify-send -u normal ' NeoMutt' '%n new mail(s)' &"
set sort = 'reverse-date'
set smtp_authenticators = 'gssapi:login'
set query_command = "abook --mutt-query '%s'"
diff --git a/.config/nvim/plugins.vim b/.config/nvim/plugins.vim
index 5b5cb47..022ce47 100644
--- a/.config/nvim/plugins.vim
+++ b/.config/nvim/plugins.vim
@@ -22,9 +22,11 @@ let g:startify_lists = [
\ { 'type': 'commands', 'header': startify#pad(['Commands']) },
\ ]
let g:startify_bookmarks = [
+ \ { 'b': '~/.config/bspwm/bspwmrc' },
+ \ { 'fa': '~/.config/fish/alias.fish' },
+ \ { 'fc': '~/.config/fish/config.fish' },
\ { 'v': '~/.config/nvim/init.vim' },
\ { 'z': '~/.config/zsh/.zshrc' },
- \ { 'b': '~/.config/bspwm/bspwmrc' },
\ ]
" Airline
diff --git a/.local/bin/ref-newsboat.pl b/.local/bin/ref-newsboat.pl
index f66e1f9..38d7231 100755
--- a/.local/bin/ref-newsboat.pl
+++ b/.local/bin/ref-newsboat.pl
@@ -32,8 +32,8 @@ sub main
system(
NOTIFY_SEND_PATH,
'-u',
- 'normal',
- ' newsboat',
+ 'low',
+ ' newsboat',
$stdout . ' new articles'
);
}
diff --git a/.profile b/.profile
index cc14b6d..3c4fc43 100644
--- a/.profile
+++ b/.profile
@@ -19,11 +19,10 @@
# set ENV to a file invoked each time sh is started for interactive use.
ENV=$HOME/.shrc; export ENV
-# Path
-export PATH="${HOME}/.local/bin:${HOME}/.cargo/bin:/usr/local/llvm11/bin:${PATH}"
+# PATH
+export PATH="${HOME}/.local/bin:${PATH}"
# Apps
-# export ZSH="/home/jozan/.oh-my-zsh"
export EDITOR="nvim"
export VISUAL="nvim"
export PAGER="less"
@@ -31,23 +30,26 @@ export TERMINAL="alacritty"
export BROWSER="firefox"
export READER="zathura"
export FILE="vifm"
-export MPD_HOST="${HOME}/.mpd/socket"
# UTF-8
export LANG="en_US.UTF-8"
# Cleanup
-export LESSHISTFILE="-"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CONFIG_HOME="$HOME/.config"
-export XDG_MUSIC_DIR="$HOME/Music"
+export XDG_MUSIC_DIR="$HOME/mu"
+export LESSHISTFILE="-"
# ccache
export CCACHE_PATH="/usr/bin:/usr/local/bin:/usr/local/llvm11/bin"
export CCACHE_DIR="/var/cache/ccache-jozan"
export CCACHE_LOGFILE="/var/log/ccache.log"
-# rust
+# Apps config
+export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border'
+export LESS="-R"
+export MANPAGER="less -R -M +Gg"
+export MPD_HOST="${HOME}/.mpd/socket"
export RUSTFLAGS="-L /usr/local/lib"
# Query terminal size; useful for serial lines.