[sxhkd] Fix shortcuts, Add bib-due overview
Changed sxhkd being hard-coded to use alacritty as a terminal. Though I don't see myself switching soon, changed the shortcut to make use of the already existing environment variable "$TERMINAL" which gets set as part of my basic env settings on the machine. Added pre-defined filter for styler entries, removing 256 color versions of base16 themes, as well as all atelier styles. I never use -256 versions of the themes so they can be hidden. If I want to use an atelier style (which is rarely), I can quickly remove the pre-defined filter since it is the last one added. Added a mapping to academia mode which shows *all* due papers, to get an overview at a glance. Uses F3, so that academia mappings go F1->F3 from most restricted to most encompassing views.
This commit is contained in:
parent
69f4cf3d75
commit
11a6eda0ce
2 changed files with 7 additions and 6 deletions
|
@ -26,9 +26,8 @@ export LIBRARYROOT="${LIBRARYROOT:-$HOME/documents/library}"
|
|||
export BIBFILE="${BIBFILE:-$LIBRARYROOT/academia/academia.bib}"
|
||||
|
||||
# these are my personal 'important' application settings
|
||||
export EDITOR=nvim
|
||||
export BROWSER=qutebrowser
|
||||
|
||||
export EDITOR="nvim"
|
||||
export BROWSER="qutebrowser"
|
||||
export TERMINAL="alacritty"
|
||||
export PAGER="less"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ super + BackSpace
|
|||
|
||||
# quick-switching of theme using styler
|
||||
super + F8
|
||||
styler set $(styler list themes | rofi -dmenu -theme /themes/dropdown -matching fuzzy)
|
||||
styler set $(styler list themes | rofi -dmenu -theme /themes/dropdown -matching fuzzy -filter "-256 -atelier ")
|
||||
|
||||
# enable function (/media) key functionality
|
||||
XF86MonBrightness{Up,Down}
|
||||
|
@ -22,9 +22,9 @@ XF86AudioMute
|
|||
XF86Audio{RaiseVolume,LowerVolume}
|
||||
pulsemixer --change-volume {-5,+5}
|
||||
|
||||
# Open terminal emulator (TODO find way to not hard-code alacritty, perhaps ENV vars)
|
||||
# Open terminal emulator (the variable gets set in sh module basic env vars)
|
||||
super + Return
|
||||
alacritty
|
||||
$TERMINAL
|
||||
|
||||
# open quick start menu
|
||||
super + space
|
||||
|
@ -68,3 +68,5 @@ alt + a : {F1,F2}
|
|||
# due papers overall
|
||||
alt + a : shift + {F1,F2}
|
||||
rofi-bib-due -p{1,3}
|
||||
alt + a : F3
|
||||
rofi-bib-due
|
||||
|
|
Loading…
Reference in a new issue