config: shell & x adjustments

This commit is contained in:
xeruf 2021-11-16 10:22:56 +01:00
parent bb2df41e23
commit a4b7d602ed
5 changed files with 9 additions and 6 deletions

View File

@ -506,6 +506,7 @@ Version 2019-11-04 2021-02-16"
)
(after! dired-aux
(add-to-list 'dired-compress-file-suffixes '("\\.nupkg\\'" "" "unzip -o -d %o %i"))
(add-to-list 'dired-compress-file-suffixes '("\\.tar\\'" "" "tar xf %i"))
)
(use-package! diredfl
:config (add-to-list 'diredfl-compressed-extensions ".nupkg")

View File

@ -37,23 +37,23 @@ let g:firenvim_config = {
\ '.*mail\.protonmail\.com.*': { 'priority': 9, 'takeover': 'empty', },
\ '.*church\.tools.*': { 'priority': 9, 'takeover': 'empty', },
\ '.*element\.io.*': { 'priority': 9, 'takeover': 'empty', },
\ '.*discord\.com.*': { 'priority': 9, 'takeover': 'once', },
\ '.*twitter\.com.*': { 'priority': 9, 'takeover': 'never', },
\ '.*openstreetmap\.org.*': { 'priority': 9, 'takeover': 'once', },
\ '.*openstreetmap\.de.*': { 'priority': 9, 'takeover': 'once', },
\ '.*github\.com.*': { 'priority': 9, 'takeover': 'once', },
\
\ '.*discord\.com.*': { 'priority': 9, 'takeover': 'never', },
\ '.*twitter\.com.*': { 'priority': 9, 'takeover': 'never', },
\ '.*wikipedia\.org.*': { 'priority': 9, 'takeover': 'never', },
\ '.*wikidata\.org.*': { 'priority': 9, 'takeover': 'never', },
\
\ '.*calendar\.google\.com.*': { 'priority': 9, 'takeover': 'empty', },
\ '.*docs\.google\.com.*': { 'priority': 9, 'takeover': 'never', },
\ '.*contacts\.google\.com.*': { 'priority': 9, 'takeover': 'never', },
\ '.*calendar\.google\.com.*': { 'priority': 9, 'takeover': 'empty', },
\ '.*notion\.so.*': { 'priority': 9, 'takeover': 'never', },
\ '.*cloud\.atomtoast\.xyz.*': { 'priority': 9, 'takeover': 'never', },
\ 'https://bigbluebutton.*': { 'priority': 9, 'takeover': 'never', },
\ 'https://dhall-lang.org.*': { 'priority': 9, 'takeover': 'never', },
\ 'https://aur.archlinux.org/acount.*': { 'priority': 9, 'takeover': 'never', },
\ 'https://aur.archlinux.org/account.*': { 'priority': 9, 'takeover': 'never', },
\
\ '.*stackexchange\.com.*': { 'priority': 9, 'takeover': 'never', },
\ '.*stackoverflow\.com.*': { 'priority': 9, 'takeover': 'never', },

View File

@ -1,6 +1,6 @@
[redshift]
temp-day=6400
temp-night=3600
temp-night=3900
brightness-day=1.0
brightness-night=0.8
fade=1

View File

@ -61,7 +61,7 @@ pathadd() {
}
# ZSH completion and stuff {{{1
alias rs="reset && exec $SHELL"
alias rs="reset && source ~/.zprofile && exec $SHELL"
alias hist='print -z $(history | tac | fzf --tiebreak=index --bind='"'"'del:execute(sed "\;$(echo {4..})$d" -i.bak $HISTFILE)'"'"' | sed "s|^ \+||" | cut -d" " -f5-)'
# Edit shell config files

View File

@ -1,3 +1,5 @@
export DESKTOP_SESSION=plasma
export QT_IM_MODULE=plasmaim
test $(cat /etc/hostname) = "pavilion-arch" &&
setxkbmap -option caps:swapescape
exec startplasma-x11