Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc. changes #44

Merged
merged 8 commits into from
Sep 2, 2023
Merged
1 change: 1 addition & 0 deletions etc/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
# GNOME:
/dleyna-renderer-service.conf
/dleyna-server-service.conf
/evince/
/evolution/
/gnome-control-center/
/pipewire-media-session/
Expand Down
2 changes: 1 addition & 1 deletion etc/qutebrowser/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
'hulbee': 'https://hulbee.com/?query={}&region=browser&uiLanguage=browser',
'gw': 'https://gnugeneration.epfl.ch/accueil?do=search&id={}',

'man': 'http://jlk.fjfi.cvut.cz/arch/manpages/search?q={}',
'man': 'https://man.archlinux.org/search?q={}',
'debman': 'https://dyn.manpages.debian.org/jump?q={}',
'sc': 'https://github.com/koalaman/shellcheck/wiki/SC{}',
'posix': 'http://pubs.opengroup.org/onlinepubs/9699919799/utilities/{}.html',
Expand Down
3 changes: 2 additions & 1 deletion etc/sh/interactive.d/60-less.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ LESS_TERMCAP_ue="$(printf '\033[0m')"
LESS_TERMCAP_us="$(printf '\033[32m')"
LESS_TERMCAP_mb="$(printf '\033[34m')"
LESS_TERMCAP_md="$(printf '\033[31m')"
GROFF_NO_SGR=1
export LESS_TERMCAP_mb LESS_TERMCAP_md LESS_TERMCAP_me LESS_TERMCAP_se \
LESS_TERMCAP_so LESS_TERMCAP_ue LESS_TERMCAP_us
LESS_TERMCAP_so LESS_TERMCAP_ue LESS_TERMCAP_us GROFF_NO_SGR
1 change: 1 addition & 0 deletions etc/sh/interactive.d/80-aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ alias watch='watch '

# Random other aliases:
alias cc='gcc -std=c11 -pedantic -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wfloat-equal -Wformat=2 -Wlogical-op -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings'
alias fixinput='sh $XDG_CONFIG_HOME/karuiwm/profile.d/10-xinput.sh && sh $XDG_CONFIG_HOME/X11/xprofile.d/10-setxkbmap.sh'
alias fixtgshit='git -C ~/.local checkout etc/mimeapps.list && rm $XDG_DATA_HOME/applications/userapp-Telegram*.desktop'
alias mpv='mpv --x11-netwm=yes'
alias todo='grep -n -R "TODO\|FIXME\|XXX" .'
1 change: 1 addition & 0 deletions etc/shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
external-sources=true
6 changes: 2 additions & 4 deletions etc/vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ function! StatuslineInactive()
let l:statusline = ''

" mode:
let l:statusline .= ' %{sep}'
let l:statusline .= ' NORMAL%{sep}'

" file path:
let l:statusline.='%<%{expand("%:p:h")}/'
Expand All @@ -640,9 +640,7 @@ function! StatuslineInactive()
let l:statusline.='%{expand("%:t")}'

" modified:
if &modified
let l:statusline .= ' *'
endif
let l:statusline.='%{&modified?" *":""}'

" separator, then change to the right side:
let l:statusline.='%{sep}%='
Expand Down
1 change: 0 additions & 1 deletion share/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# General:
/applications/
/gem/
/gstreamer-1.0/
/gvfs-metadata/
Expand Down
1 change: 1 addition & 0 deletions share/applications/mimeinfo.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[MIME Cache]