]>
git.rmz.io Git - dotfiles.git/log
Samir Benmendil [Sat, 1 May 2021 13:49:48 +0000 (14:49 +0100)]
git: use diff3 for conflictstyle
Provides extra info on the conflicted file, instead of showing just the
new and the old, it also provides the base. This should help with
deciding which side to pick or better integrate both sides of the
conflict.
Samir Benmendil [Sat, 1 May 2021 13:49:10 +0000 (14:49 +0100)]
vim: Dangerfile are Ruby
Samir Benmendil [Fri, 30 Apr 2021 14:11:37 +0000 (15:11 +0100)]
mbsync: use Far/Near
Samir Benmendil [Fri, 30 Apr 2021 14:07:34 +0000 (15:07 +0100)]
gnupg: use pinentry wrapper
Samir Benmendil [Wed, 17 Mar 2021 10:18:23 +0000 (10:18 +0000)]
mbsync: stop using SSLv3 for fpp
Samir Benmendil [Sat, 6 Feb 2021 14:09:44 +0000 (14:09 +0000)]
bin: add maif, a wrapper around maim with auto filename
Samir Benmendil [Tue, 2 Feb 2021 13:30:55 +0000 (13:30 +0000)]
qutebrowser: fix proxy-pac setting
Samir Benmendil [Sat, 6 Feb 2021 13:13:18 +0000 (13:13 +0000)]
zsh/prompt: show ahead/behing @{push} counters
Samir Benmendil [Sat, 6 Feb 2021 13:08:01 +0000 (13:08 +0000)]
vim: support for truecolors
May need to check if terminal supports it.
Samir Benmendil [Sat, 6 Feb 2021 12:18:25 +0000 (12:18 +0000)]
alias: return error when no arguments given to vim within VIM_TERMINAL
Samir Benmendil [Mon, 1 Feb 2021 09:58:41 +0000 (09:58 +0000)]
mutt: initial nord color theme
Samir Benmendil [Sun, 31 Jan 2021 16:13:28 +0000 (16:13 +0000)]
zsh/prompt: use porcelain=v2 for getting git status info
There's a bit more info in there and it's better structured.
Samir Benmendil [Sun, 31 Jan 2021 16:11:35 +0000 (16:11 +0000)]
zsh/prompt: don't try to populate git prompt if not in git repo
Just exit early here, rather than processing anything else.
Samir Benmendil [Sat, 30 Jan 2021 15:31:27 +0000 (15:31 +0000)]
kitty: use dvorak home row for hints
Samir Benmendil [Sat, 30 Jan 2021 16:38:52 +0000 (16:38 +0000)]
qutebrowser: never clear partial bindings
Samir Benmendil [Sat, 30 Jan 2021 16:21:06 +0000 (16:21 +0000)]
qutebrowser: use TERMINAL env to open external commands in
Samir Benmendil [Sat, 30 Jan 2021 16:06:09 +0000 (16:06 +0000)]
qutebrowser: delete colors from main config file
Samir Benmendil [Sat, 30 Jan 2021 16:04:51 +0000 (16:04 +0000)]
qutebrowser: tweak some colors to my liking
Samir Benmendil [Sat, 30 Jan 2021 16:03:45 +0000 (16:03 +0000)]
qutebrowser: update nord theme with new color configs
Samir Benmendil [Sat, 30 Jan 2021 12:05:43 +0000 (12:05 +0000)]
qutebrowser: add nord theme
Samir Benmendil [Thu, 28 Jan 2021 14:09:16 +0000 (14:09 +0000)]
bin: add simple wrapper for wttr.in
Samir Benmendil [Tue, 26 Jan 2021 00:15:35 +0000 (00:15 +0000)]
qutebrowser: add proxy-pac to qt.args
This defines which proxy (if at all) to use for which urls. It requires
qutebrowser to be patched to not load it's own proxy handling as that
seems to overwrite this.
This used to be set with QTWEBENGINE_CHROMIUM_FLAGS environment variable
in an untracked qutebrowser wrapper in PATH. It caused some issues with
darkmode though, as it seems that this env variable is not overwritten
when already set, and the correct darkmode settings are not being passed
to blink.
Setting the proxy file as qt.args works also with darkmode.
Samir Benmendil [Tue, 26 Jan 2021 00:11:52 +0000 (00:11 +0000)]
addnzb: always set priority to high for manually added files
Samir Benmendil [Tue, 26 Jan 2021 00:10:51 +0000 (00:10 +0000)]
vim: unfuck screen also closes popups
Samir Benmendil [Tue, 26 Jan 2021 00:04:56 +0000 (00:04 +0000)]
awesome: highlight urgent windows with nord11
Samir Benmendil [Tue, 26 Jan 2021 00:04:03 +0000 (00:04 +0000)]
awesome: no border for mpv
Maybe I want no borders for any floating window, or even only add
borders for terminals.
Samir Benmendil [Tue, 26 Jan 2021 00:03:30 +0000 (00:03 +0000)]
awesome: notify if theme failed to load and fallback to default
Samir Benmendil [Tue, 26 Jan 2021 00:01:16 +0000 (00:01 +0000)]
vim/man: set some defaults for man files similar to :help
Width of 80 chars is standard or something, make sure the window is wide
enough for that too too.
Samir Benmendil [Mon, 25 Jan 2021 23:57:57 +0000 (23:57 +0000)]
kitty: delete OS specific stuff
Samir Benmendil [Mon, 25 Jan 2021 23:45:07 +0000 (23:45 +0000)]
tmux: add Nord theme as a plugin
Samir Benmendil [Mon, 25 Jan 2021 23:43:32 +0000 (23:43 +0000)]
tmux: add tmux plugin manager (tpm) as a submodule
Samir Benmendil [Mon, 25 Jan 2021 23:43:57 +0000 (23:43 +0000)]
tmux: set default-terminal to tmux-256color
When set to screen, which I don't know why it was, the reset background
code is not accepted which left black backgrounds for some highlights in
vim, which made them quite unreadable.
Samir Benmendil [Mon, 25 Jan 2021 23:32:08 +0000 (23:32 +0000)]
tmux: move config to XDG_CONFIG_HOME
Samir Benmendil [Tue, 26 Jan 2021 00:13:09 +0000 (00:13 +0000)]
dircolors: add kitty to solarized-dark theme
Samir Benmendil [Mon, 25 Jan 2021 18:11:26 +0000 (18:11 +0000)]
dircolors: use nord dircolors
Samir Benmendil [Sun, 24 Jan 2021 23:22:05 +0000 (23:22 +0000)]
aliases: drop files into vim via abspath
Samir Benmendil [Sun, 24 Jan 2021 23:18:49 +0000 (23:18 +0000)]
vim: plug vim-man
Samir Benmendil [Sun, 24 Jan 2021 23:17:19 +0000 (23:17 +0000)]
vim/gitrebase: map \d :Drop
Samir Benmendil [Sun, 24 Jan 2021 23:16:11 +0000 (23:16 +0000)]
alias: only set vim function in VIM_TERMINAL
Samir Benmendil [Sun, 24 Jan 2021 21:00:20 +0000 (21:00 +0000)]
theme: introduce and use Nord theme
Samir Benmendil [Sun, 24 Jan 2021 22:07:23 +0000 (22:07 +0000)]
awesome: cleanup mlp theme
Samir Benmendil [Sun, 24 Jan 2021 21:07:05 +0000 (21:07 +0000)]
awesome: icons are now part of the theme
Samir Benmendil [Sun, 24 Jan 2021 22:25:49 +0000 (22:25 +0000)]
awesome: load theme from env variable
Samir Benmendil [Sun, 24 Jan 2021 22:32:58 +0000 (22:32 +0000)]
env: introduce THEME env variable to pick between various themes
Samir Benmendil [Sun, 24 Jan 2021 21:03:31 +0000 (21:03 +0000)]
awesome: make terminals slightly less transparent
Samir Benmendil [Sun, 24 Jan 2021 04:16:22 +0000 (04:16 +0000)]
picom: replace compton with picom
Samir Benmendil [Sun, 24 Jan 2021 04:03:20 +0000 (04:03 +0000)]
env: switch TERMINAL to kitty
Samir Benmendil [Sun, 24 Jan 2021 04:11:45 +0000 (04:11 +0000)]
kitty: initial configuration
Samir Benmendil [Fri, 22 Jan 2021 23:47:48 +0000 (23:47 +0000)]
kitty: add default config file
Samir Benmendil [Sun, 24 Jan 2021 03:53:19 +0000 (03:53 +0000)]
awesome: autostart applications from awesome
Ideally I had hoped that I could have a more logical tree structure
where awesome, the window manager starts before the clients. It seems to
have been backwards when xinit was responsible for spawning autostarts.
However, doing it this way seems to have resulted in awesome dropping
the spawns which are caught by PID1 (as seen in htop/pstree).
I don't think this is a big deal, but it's also not great.
Samir Benmendil [Sun, 24 Jan 2021 02:14:27 +0000 (02:14 +0000)]
awesome: cleanup some unused stuff
Samir Benmendil [Sun, 24 Jan 2021 01:31:13 +0000 (01:31 +0000)]
awesome: use TERMINAL env as much as possible
Samir Benmendil [Sun, 24 Jan 2021 01:31:48 +0000 (01:31 +0000)]
env: set default TERMINAL in environment
This will be an attempt to use this as much as possible to make
switching terminal as easy as possible.
Samir Benmendil [Sun, 24 Jan 2021 00:56:44 +0000 (00:56 +0000)]
awesome: delete unused volume_progressbar_widget
Samir Benmendil [Sat, 23 Jan 2021 16:09:35 +0000 (16:09 +0000)]
qutebrowser: update defaults
Samir Benmendil [Tue, 19 Jan 2021 00:02:19 +0000 (00:02 +0000)]
awesome/mpc: remove unnecessary init
Samir Benmendil [Tue, 19 Jan 2021 00:01:44 +0000 (00:01 +0000)]
awesome/mpc: don't show popup when not connected
Samir Benmendil [Mon, 18 Jan 2021 23:51:39 +0000 (23:51 +0000)]
awesome/mpc: don't try to reconnect on error
Samir Benmendil [Mon, 18 Jan 2021 23:49:47 +0000 (23:49 +0000)]
awesome/mpc: use a keep alive timer instead of ping on error
Basically just test if we are connected every second and reconnect if we
are not.
Samir Benmendil [Mon, 18 Jan 2021 23:35:28 +0000 (23:35 +0000)]
awesome/mpc: return early on error
Samir Benmendil [Sun, 24 Jan 2021 21:34:50 +0000 (21:34 +0000)]
vim: gitrebase mappings are buffer local and nowait
Samir Benmendil [Mon, 18 Jan 2021 00:04:11 +0000 (00:04 +0000)]
ranger: add preview for zip files
Samir Benmendil [Mon, 18 Jan 2021 00:02:38 +0000 (00:02 +0000)]
vim: open files in parent vim instance if running inside vim :term
This could possibly be a file in bin too, I'm not sure yet.
Samir Benmendil [Sun, 17 Jan 2021 23:58:53 +0000 (23:58 +0000)]
zsh: also ignore worktrees in gbdm alias
Samir Benmendil [Sun, 17 Jan 2021 23:58:16 +0000 (23:58 +0000)]
vim: slightly better parsing of :Ag command
Samir Benmendil [Sun, 17 Jan 2021 23:57:07 +0000 (23:57 +0000)]
vim: add more bindings for git commit and git push
Samir Benmendil [Sun, 17 Jan 2021 23:56:03 +0000 (23:56 +0000)]
vim: try out scratch plugin
Sometimes I just want to write something into a buffer without a file
attached.
Samir Benmendil [Sun, 17 Jan 2021 23:53:31 +0000 (23:53 +0000)]
vim: prefer other signs over gitgutter
The information provided by gitgutter is great, but it should really
never cover diagnostics from ycm.
I believe this is why I made this change, I had this uncommitted local
change for a while without any comments around it.
Samir Benmendil [Sun, 17 Jan 2021 23:51:37 +0000 (23:51 +0000)]
vim/cpp: switch to .cc files too
Samir Benmendil [Sun, 17 Jan 2021 23:24:18 +0000 (23:24 +0000)]
tmux: update env variables when attaching a tmux session
The main reason is to update SSH_AUTH_SOCK to support the new forwarded
ssh agent.
Samir Benmendil [Sun, 17 Jan 2021 23:20:29 +0000 (23:20 +0000)]
weechat: add new settings
Samir Benmendil [Sun, 17 Jan 2021 23:19:27 +0000 (23:19 +0000)]
weechat: add shrug alias ¯\_(ツ)_/¯
Samir Benmendil [Mon, 11 Jan 2021 12:50:41 +0000 (12:50 +0000)]
weechat/wee-slack: update submodule
Samir Benmendil [Sun, 17 Jan 2021 22:45:09 +0000 (22:45 +0000)]
zsh: set env variable to export compile commands with cmake
Samir Benmendil [Sun, 17 Jan 2021 22:42:51 +0000 (22:42 +0000)]
vim: silent GTest mappings + additional mappings
Samir Benmendil [Sun, 17 Jan 2021 22:41:34 +0000 (22:41 +0000)]
vim: disable ale for c/cpp files, already using ycm
Samir Benmendil [Sun, 17 Jan 2021 22:39:26 +0000 (22:39 +0000)]
vim/PKGBUILD: insert Maintainer string with \R
Don't clobber \r which runs make.
Samir Benmendil [Sun, 17 Jan 2021 22:38:59 +0000 (22:38 +0000)]
vim/PKGBUILD: update Maintainer email address
Samir Benmendil [Sun, 17 Jan 2021 22:37:25 +0000 (22:37 +0000)]
xinit: set redshift on X start
Samir Benmendil [Sun, 17 Jan 2021 22:36:52 +0000 (22:36 +0000)]
qutebrowser: add interceptor to redirect some urls
Samir Benmendil [Sun, 17 Jan 2021 22:33:24 +0000 (22:33 +0000)]
qutebrowser/config-cycle-tld: fallback to domain if registered_domain fails
Should allow to extract the pattern for IP addresses and singlo
hostnames for hosts in same domains.
Samir Benmendil [Sun, 17 Jan 2021 22:32:01 +0000 (22:32 +0000)]
mutt: unset signature to silence warning at startup
Samir Benmendil [Sun, 17 Jan 2021 22:30:10 +0000 (22:30 +0000)]
mutt: fetch mail with ^L
Samir Benmendil [Sun, 17 Jan 2021 21:49:52 +0000 (21:49 +0000)]
mutt: folder-hook match to $folder prefix
This could avoid matching the mailbox as a substring.
Samir Benmendil [Sun, 17 Jan 2021 21:48:37 +0000 (21:48 +0000)]
email: remove gmail and office365 accounts
Samir Benmendil [Sat, 16 Jan 2021 15:56:14 +0000 (15:56 +0000)]
mbsync: use Channel names matching the mailboxes on disk
Hopefully I might be able to simply extract the current mailbox in mutt
to be able to sync only the currently open channel on demand from a
macro.
Samir Benmendil [Sat, 16 Jan 2021 15:07:02 +0000 (15:07 +0000)]
bin/addnzb: print uploaded file name
Samir Benmendil [Sat, 16 Jan 2021 15:03:37 +0000 (15:03 +0000)]
awesome: catch Steam games, open them on tag 9 and center mouse
Samir Benmendil [Mon, 11 Jan 2021 12:42:10 +0000 (12:42 +0000)]
zsh: add outdated package count to motd
Samir Benmendil [Mon, 11 Jan 2021 11:47:23 +0000 (11:47 +0000)]
systemd: add user unit to download packages automatically
Samir Benmendil [Tue, 29 Dec 2020 17:52:49 +0000 (17:52 +0000)]
mkosi/kodi: use a bridged connection
Works a lot better to get connection to other services in the network.
I might want to setup a network group (or something) to allow
communication between the various services, will have to add a proxy to
access jellyfin from the rest of the network though.
Samir Benmendil [Tue, 29 Dec 2020 14:43:29 +0000 (14:43 +0000)]
mkosi/kodi: clean nspawn
lib/modules is only needed if the container needs to load kernel
drivers. We'll make sure that any driver needed is already loaded on the
host.
dev/bus/usb was probably an attempt to get udev working in the
container. This is a bad idea.
Samir Benmendil [Tue, 29 Dec 2020 14:39:08 +0000 (14:39 +0000)]
mkosi/kodi: cleanup Capability and SystemCallFilter
Most were not needed.
Samir Benmendil [Tue, 29 Dec 2020 14:35:30 +0000 (14:35 +0000)]
mkosi/kodi: steam uses virtual joysticks to simulate mouse
Need to have uinput bound for this.
Possibly also need to modprobe uinput on host. Will have to sort the
module deps at some point.
Samir Benmendil [Tue, 29 Dec 2020 14:49:20 +0000 (14:49 +0000)]
mkosi/kodi: don't rely on udev to discover joysticks
SDL prefers relying on udev events to discover and register new
joysticks. However inside the container, udev isn't running. We have
mounted /run/udev, but it seems that this is not sufficient.
As a workaround, tell SDL to prefer a fallback method of discovering new
joysticks.
Samir Benmendil [Tue, 29 Dec 2020 14:33:16 +0000 (14:33 +0000)]
mkosi/kodi: libinput needs to know about devices discovered by udev
If not bound, wayland does not get input devices or events.
Samir Benmendil [Tue, 29 Dec 2020 14:25:50 +0000 (14:25 +0000)]
mkosi/kodi: install deps for steam
Samir Benmendil [Tue, 29 Dec 2020 14:24:46 +0000 (14:24 +0000)]
mkosi/kodi: no need for EnvironmentFile
We can simply change the service directly.
Samir Benmendil [Tue, 29 Dec 2020 13:51:32 +0000 (13:51 +0000)]
mkosi/kodi: use RuntimeDirectory to create XDG_RUNTIME_DIR
Samir Benmendil [Tue, 29 Dec 2020 13:46:31 +0000 (13:46 +0000)]
mkosi/kodi: don't create kodi home directory
This is mounted from the host to have a persistent home dir.