aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-02-23 21:53:50 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-02-23 21:53:50 +0100
commit3d5439a1be5e05f32faea88974bcef8a711ca987 (patch)
treeb415e525d5b3a54a4695babd78a17a494bb539c1
parent32b428284ebf29c24bcf301f3d035b35463dbad7 (diff)
downloaddotfiles-3d5439a1be5e05f32faea88974bcef8a711ca987.tar.gz
dotfiles-3d5439a1be5e05f32faea88974bcef8a711ca987.tar.bz2
dotfiles-3d5439a1be5e05f32faea88974bcef8a711ca987.zip
Misc updates, zathura down/up shortcut, XDG standard env variables, newsboat more threads, newsboat notification after reload
-rw-r--r--.newsboat/config11
-rw-r--r--.zshrc5
-rw-r--r--dunst/dunstrc2
-rw-r--r--xmonad.hs4
-rw-r--r--zathura/zathurarc2
5 files changed, 15 insertions, 9 deletions
diff --git a/.newsboat/config b/.newsboat/config
index 3dd60f4..f3ef9e1 100644
--- a/.newsboat/config
+++ b/.newsboat/config
@@ -1,5 +1,5 @@
# auto-reload yes # reload feeds at startup
-reload-threads 8
+reload-threads 64
max-items 100
# pager less
@@ -20,11 +20,14 @@ color listfocus_unread black cyan
color info default black
color article default default
-
highlight article "^(Title):.*$" blue default
highlight article "https?://[^ ]+" red default
highlight article "\\[image\\ [0-9]+\\]" green default
+highlight all "---.*" yellow default
+highlight all "===.*" yellow default
+highlight feedlist ".*(0/0))" black default
-# browser vimb
+macro v set browser "mpv --ytdl-format=best %u"; open-in-browser; set browser qutebrowser
-macro v set browser "mpv --ytdl-format=best %u"; open-in-browser; set browser chromium
+notify-always yes
+notify-program /usr/bin/notify-send
diff --git a/.zshrc b/.zshrc
index e5b9662..8a1ee8c 100644
--- a/.zshrc
+++ b/.zshrc
@@ -79,8 +79,9 @@ export LESS_TERMCAP_ZO=$(tput ssupm)
export LESS_TERMCAP_ZW=$(tput rsupm)
#XDG
-export XDG_CONFIG_HOME="$HOME/.config/"
-export XDG_DATA_HOME="$HOME/.data/"
+export XDG_CONFIG_HOME="$HOME/.config"
+export XDG_DATA_HOME="$HOME/.local/share"
+export XDG_CACHE_HOME="$HOME/.cache"
export EDITOR="vim"
export TERM="st-256color"
diff --git a/dunst/dunstrc b/dunst/dunstrc
index e48d91f..0a8f19a 100644
--- a/dunst/dunstrc
+++ b/dunst/dunstrc
@@ -166,7 +166,7 @@
max_icon_size = 32
# Paths to default icons.
- icon_path = /usr/share/icons/Adwaita/32x32/status/:/usr/share/icons/Adwaita/32x32/devices/:/usr/share/icons/Adwaita/32x32/legacy/
+ icon_path = /usr/share/icons/Adwaita/32x32/status/:/usr/share/icons/Adwaita/32x32/devices/:/usr/share/icons/Adwaita/32x32/legacy/:/usr/share/icons/Adwaita/32x32/mimetypes/
### History ###
diff --git a/xmonad.hs b/xmonad.hs
index b18951e..e41d556 100644
--- a/xmonad.hs
+++ b/xmonad.hs
@@ -52,9 +52,9 @@ myKeys = [ ("<XF86AudioLowerVolume>", spawn "pulseaudio-ctl down")
, ("M-o", spawn "~/bin/project-open")
, ("M-m", spawn "st -e mocp")
- , ("M-S-d", spawn "notify-send \"$(date +\"%H:%M %A %d/%m/%Y %B\")\"")
+ , ("M-S-d", spawn "notify-send -i x-office-calendar \"$(date +\"%H:%M %A %d/%m/%Y %B\")\"")
, ("M-S-b", spawn "notify-send \"battery: $(cat /sys/class/power_supply/BAT0/capacity)\"")
- , ("M-q", spawn "notify-send Restart" >> spawn restartCmd)
+ , ("M-q", spawn "notify-send 'Restarting xmonad'" >> spawn restartCmd)
, ("M-S-q", confirm "Are you sure you want to shutdown?" $ io (exitWith ExitSuccess))
]
diff --git a/zathura/zathurarc b/zathura/zathurarc
index ea10740..bac99f6 100644
--- a/zathura/zathurarc
+++ b/zathura/zathurarc
@@ -1 +1,3 @@
set selection-clipboard clipboard
+map u scroll half-up
+map d scroll half-down