summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/go2work/go2work.toml3
-rw-r--r--.config/mutt/defaults.muttrc5
-rw-r--r--.config/mutt/muttrc20
-rwxr-xr-x.local/bin/fetch_mail.sh7
-rwxr-xr-x.local/bin/linkview3
5 files changed, 22 insertions, 16 deletions
diff --git a/.config/go2work/go2work.toml b/.config/go2work/go2work.toml
index 16405b7..58d28df 100644
--- a/.config/go2work/go2work.toml
+++ b/.config/go2work/go2work.toml
@@ -7,7 +7,7 @@ files = [
# '/home/jozan/mu/rock/stoner_rock/slo_burn/1997_amusing_the_amazing_ep/02_muezli.flac'
# '/home/jozan/mu/rock/stoner_rock/slo_burn/1997_amusing_the_amazing_ep/03_pilot_the_dune.flac'
# '/home/jozan/mu/ost/mick_gordon/2020_doom_eternal_original_game_soundtrack/54_meathook.flac',
- '/home/jozan/mu/ost/mick_gordon/2020_doom_eternal_original_game_soundtrack/02_cultist_base.flac',
+ # '/home/jozan/mu/ost/mick_gordon/2020_doom_eternal_original_game_soundtrack/02_cultist_base.flac',
# '/home/jozan/mu/rock/punk/guerilla_poubelle/2007_punk_existentialisme/10_dans_la_diagonale.flac',
# '/home/jozan/mu/rock/punk/guerilla_poubelle/2005_il_faut_repeindre_le_monde_en_noir/15_exception_culturelle_trafic_darmes.flac',
# '/home/jozan/mu/ost/mick_gordon/2020_doom_eternal_original_game_soundtrack/21_the_super_gore_nest.flac',
@@ -23,6 +23,7 @@ files = [
# '/home/jozan/mu/rock/grunge/soundgarden/1994_superunknown/04_mailman.flac',
# '/home/jozan/mu/rock/grunge/nirvana/2005_sliver_the_best_of_the_box_compilation/03_mrs._butterworth_rehearsal_demo.flac',
# '/home/jozan/mu/rock/grunge/nirvana/2009_bleach_20th_anniversary_deluxe_edition/04_school.flac',
+ '/var/dev/mid/sort/headstrong.opus',
]
# The program used to play the music files
# Default: 'mpv'
diff --git a/.config/mutt/defaults.muttrc b/.config/mutt/defaults.muttrc
index 3787f44..4c8b71c 100644
--- a/.config/mutt/defaults.muttrc
+++ b/.config/mutt/defaults.muttrc
@@ -31,9 +31,10 @@ set nobeep
set charset = utf-8
set noallow_8bit
set uncollapse_jump
-set pager_index_lines = 10
+set pager_index_lines = 6
set text_flowed = no
set indent_string = "> "
+set meta_key = no
# set sig_on_top = yes
#set crypt_opportunistic_encrypt = yes
@@ -47,7 +48,7 @@ alternative_order text/plain text/enriched text/html
# Sidebar mappings
set sidebar_visible = yes
-set sidebar_width = 32
+set sidebar_width = 24
set sidebar_short_path = yes
set sidebar_next_new_wrap = yes
set sidebar_delim_chars = '/'
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc
index 8555076..8317a09 100644
--- a/.config/mutt/muttrc
+++ b/.config/mutt/muttrc
@@ -1,13 +1,17 @@
# vim: filetype=neomuttrc
source $XDG_CONFIG_HOME/mutt/defaults.muttrc
source $XDG_CONFIG_HOME/mutt/accounts/1-gmx_rbo.muttrc
-macro index,pager <f1> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-gmx_rbo.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbo@gmx.us"
-macro index,pager 1 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-gmx_rbo.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbo@gmx.us"
-macro index,pager <f2> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/2-gmx_shop.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbo_shop@gmx.us"
-macro index,pager 2 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/2-gmx_shop.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbo_shop@gmx.us"
-macro index,pager <f3> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/3-gmail_br.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
-macro index,pager 3 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/3-gmail_br.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
-macro index,pager <f4> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/4-gmail_oon.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to olsen.oyvind.nor@gmail.com"
-macro index,pager 4 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/4-gmail_oon.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to olsen.oyvind.nor@gmail.com"
+macro index,pager <f1> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-gmx_rbo.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbo@gmx.us"
+macro index,pager 1 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-gmx_rbo.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbo@gmx.us"
+macro index,pager <261> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-gmx_rbo.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbo@gmx.us"
+macro index,pager <f2> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/2-gmx_shop.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbo_shop@gmx.us"
+macro index,pager 2 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/2-gmx_shop.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbo_shop@gmx.us"
+macro index,pager <262> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/2-gmx_shop.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbo_shop@gmx.us"
+macro index,pager <f3> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/3-gmail_br.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
+macro index,pager 3 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/3-gmail_br.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
+macro index,pager <263> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/3-gmail_br.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
+macro index,pager <f4> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/4-gmail_oon.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to olsen.oyvind.nor@gmail.com"
+macro index,pager 4 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/4-gmail_oon.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to olsen.oyvind.nor@gmail.com"
+macro index,pager <264> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/4-gmail_oon.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to olsen.oyvind.nor@gmail.com"
# macro index,pager <f6> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/6-gmail_tos.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to towerofsilence777@gmail.com"
# macro index,pager 6 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/6-gmail_tos.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to towerofsilence777@gmail.com"
diff --git a/.local/bin/fetch_mail.sh b/.local/bin/fetch_mail.sh
index 061232d..012041b 100755
--- a/.local/bin/fetch_mail.sh
+++ b/.local/bin/fetch_mail.sh
@@ -20,10 +20,9 @@ if ! echo test | gpg2 --sign --batch --no-tty --pinentry-mode error -o /dev/null
exit 1
fi
killall mbsync >/dev/null 2>&1
-notify-send -u critical -t 3000 'mbsync' ' fetching mail' >/dev/null 2>&1
+notify-send -u critical -t 3000 'mbsync' ' fetching mail' >/dev/null 2>&1
# {
-mbsync -a ||
- notify-send -u critical -t 6000 'mbsync' ' failed to fetch mail' >/dev/null 2>&1
+mbsync -a || notify-send -u critical -t 6000 'mbsync' ' failed to fetch mail' >/dev/null 2>&1
# }&
# gsleep 0.2
# kill -74 $(pidof dwmblocks) >/dev/null 2>&1
@@ -35,7 +34,7 @@ mb1="$(ls "${MAIL:-/var/mail/jozan}"/gmx_shop/INBOX/new | wc -l 2>/dev/null)"
# mb2="$(ls "${MAIL:-/var/mail/jozan}"/gmail_tos/INBOX/new | wc -l 2>/dev/null)"
post_count="$((post_count + mb1))"
if [ $post_count -gt $pre_count ]; then
- notify-send -u normal 'neomutt' ' '$post_count' new mail(s)'
+ notify-send -u normal 'neomutt' ' '$post_count' new mail(s)'
fi
echo $post_count >$mc_file
# sleep 1
diff --git a/.local/bin/linkview b/.local/bin/linkview
index 605e0b7..f7dc7ca 100755
--- a/.local/bin/linkview
+++ b/.local/bin/linkview
@@ -501,7 +501,8 @@ sub linkview
{
my $answer;
- if (@ARGV == 0 || $ARGV[0] eq '') {
+ if ((@ARGV == 0 or $ARGV[0] eq '') or
+ (@ARGV == 1 and $ARGV[0] eq '--dmenu')) {
print STDERR "linkview: no URL\n";
exit 1;
}