]> git.rmz.io Git - dotfiles.git/log
dotfiles.git
4 years agokitty: add default config file
Samir Benmendil [Fri, 22 Jan 2021 23:47:48 +0000 (23:47 +0000)]
kitty: add default config file

4 years agoawesome: autostart applications from awesome
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.

4 years agoawesome: cleanup some unused stuff
Samir Benmendil [Sun, 24 Jan 2021 02:14:27 +0000 (02:14 +0000)]
awesome: cleanup some unused stuff

4 years agoawesome: use TERMINAL env as much as possible
Samir Benmendil [Sun, 24 Jan 2021 01:31:13 +0000 (01:31 +0000)]
awesome: use TERMINAL env as much as possible

4 years agoenv: set default TERMINAL in environment
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.

4 years agoawesome: delete unused volume_progressbar_widget
Samir Benmendil [Sun, 24 Jan 2021 00:56:44 +0000 (00:56 +0000)]
awesome: delete unused volume_progressbar_widget

4 years agoqutebrowser: update defaults
Samir Benmendil [Sat, 23 Jan 2021 16:09:35 +0000 (16:09 +0000)]
qutebrowser: update defaults

4 years agoawesome/mpc: remove unnecessary init
Samir Benmendil [Tue, 19 Jan 2021 00:02:19 +0000 (00:02 +0000)]
awesome/mpc: remove unnecessary init

4 years agoawesome/mpc: don't show popup when not connected
Samir Benmendil [Tue, 19 Jan 2021 00:01:44 +0000 (00:01 +0000)]
awesome/mpc: don't show popup when not connected

4 years agoawesome/mpc: don't try to reconnect on error
Samir Benmendil [Mon, 18 Jan 2021 23:51:39 +0000 (23:51 +0000)]
awesome/mpc: don't try to reconnect on error

4 years agoawesome/mpc: use a keep alive timer instead of ping 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.

4 years agoawesome/mpc: return early on error
Samir Benmendil [Mon, 18 Jan 2021 23:35:28 +0000 (23:35 +0000)]
awesome/mpc: return early on error

4 years agovim: gitrebase mappings are buffer local and nowait
Samir Benmendil [Sun, 24 Jan 2021 21:34:50 +0000 (21:34 +0000)]
vim: gitrebase mappings are buffer local and nowait

4 years agoranger: add preview for zip files
Samir Benmendil [Mon, 18 Jan 2021 00:04:11 +0000 (00:04 +0000)]
ranger: add preview for zip files

4 years agovim: open files in parent vim instance if running inside vim :term
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.

4 years agozsh: also ignore worktrees in gbdm alias
Samir Benmendil [Sun, 17 Jan 2021 23:58:53 +0000 (23:58 +0000)]
zsh: also ignore worktrees in gbdm alias

4 years agovim: slightly better parsing of :Ag command
Samir Benmendil [Sun, 17 Jan 2021 23:58:16 +0000 (23:58 +0000)]
vim: slightly better parsing of :Ag command

4 years agovim: add more bindings for git commit and git push
Samir Benmendil [Sun, 17 Jan 2021 23:57:07 +0000 (23:57 +0000)]
vim: add more bindings for git commit and git push

4 years agovim: try out scratch plugin
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.

4 years agovim: prefer other signs over gitgutter
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.

4 years agovim/cpp: switch to .cc files too
Samir Benmendil [Sun, 17 Jan 2021 23:51:37 +0000 (23:51 +0000)]
vim/cpp: switch to .cc files too

4 years agotmux: update env variables when attaching a tmux session
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.

4 years agoweechat: add new settings
Samir Benmendil [Sun, 17 Jan 2021 23:20:29 +0000 (23:20 +0000)]
weechat: add new settings

4 years agoweechat: add shrug alias ¯\_(ツ)_/¯
Samir Benmendil [Sun, 17 Jan 2021 23:19:27 +0000 (23:19 +0000)]
weechat: add shrug alias ¯\_(ツ)_/¯

4 years agoweechat/wee-slack: update submodule
Samir Benmendil [Mon, 11 Jan 2021 12:50:41 +0000 (12:50 +0000)]
weechat/wee-slack: update submodule

4 years agozsh: set env variable to export compile commands with cmake
Samir Benmendil [Sun, 17 Jan 2021 22:45:09 +0000 (22:45 +0000)]
zsh: set env variable to export compile commands with cmake

4 years agovim: silent GTest mappings + additional mappings
Samir Benmendil [Sun, 17 Jan 2021 22:42:51 +0000 (22:42 +0000)]
vim: silent GTest mappings + additional mappings

4 years agovim: disable ale for c/cpp files, already using ycm
Samir Benmendil [Sun, 17 Jan 2021 22:41:34 +0000 (22:41 +0000)]
vim: disable ale for c/cpp files, already using ycm

4 years agovim/PKGBUILD: insert Maintainer string with \R
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.

4 years agovim/PKGBUILD: update Maintainer email address
Samir Benmendil [Sun, 17 Jan 2021 22:38:59 +0000 (22:38 +0000)]
vim/PKGBUILD: update Maintainer email address

4 years agoxinit: set redshift on X start
Samir Benmendil [Sun, 17 Jan 2021 22:37:25 +0000 (22:37 +0000)]
xinit: set redshift on X start

4 years agoqutebrowser: add interceptor to redirect some urls
Samir Benmendil [Sun, 17 Jan 2021 22:36:52 +0000 (22:36 +0000)]
qutebrowser: add interceptor to redirect some urls

4 years agoqutebrowser/config-cycle-tld: fallback to domain if registered_domain fails
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.

4 years agomutt: unset signature to silence warning at startup
Samir Benmendil [Sun, 17 Jan 2021 22:32:01 +0000 (22:32 +0000)]
mutt: unset signature to silence warning at startup

4 years agomutt: fetch mail with ^L
Samir Benmendil [Sun, 17 Jan 2021 22:30:10 +0000 (22:30 +0000)]
mutt: fetch mail with ^L

4 years agomutt: folder-hook match to $folder prefix
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.

4 years agoemail: remove gmail and office365 accounts
Samir Benmendil [Sun, 17 Jan 2021 21:48:37 +0000 (21:48 +0000)]
email: remove gmail and office365 accounts

4 years agombsync: use Channel names matching the mailboxes on disk
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.

4 years agobin/addnzb: print uploaded file name
Samir Benmendil [Sat, 16 Jan 2021 15:07:02 +0000 (15:07 +0000)]
bin/addnzb: print uploaded file name

4 years agoawesome: catch Steam games, open them on tag 9 and center mouse
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

4 years agozsh: add outdated package count to motd
Samir Benmendil [Mon, 11 Jan 2021 12:42:10 +0000 (12:42 +0000)]
zsh: add outdated package count to motd

4 years agosystemd: add user unit to download packages automatically
Samir Benmendil [Mon, 11 Jan 2021 11:47:23 +0000 (11:47 +0000)]
systemd: add user unit to download packages automatically

4 years agomkosi/kodi: use a bridged connection
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.

4 years agomkosi/kodi: clean nspawn
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.

4 years agomkosi/kodi: cleanup Capability and SystemCallFilter
Samir Benmendil [Tue, 29 Dec 2020 14:39:08 +0000 (14:39 +0000)]
mkosi/kodi: cleanup Capability and SystemCallFilter

Most were not needed.

4 years agomkosi/kodi: steam uses virtual joysticks to simulate mouse
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.

4 years agomkosi/kodi: don't rely on udev to discover joysticks
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.

4 years agomkosi/kodi: libinput needs to know about devices discovered by udev
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.

4 years agomkosi/kodi: install deps for steam
Samir Benmendil [Tue, 29 Dec 2020 14:25:50 +0000 (14:25 +0000)]
mkosi/kodi: install deps for steam

4 years agomkosi/kodi: no need for EnvironmentFile
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.

4 years agomkosi/kodi: use RuntimeDirectory to create XDG_RUNTIME_DIR
Samir Benmendil [Tue, 29 Dec 2020 13:51:32 +0000 (13:51 +0000)]
mkosi/kodi: use RuntimeDirectory to create XDG_RUNTIME_DIR

4 years agomkosi/kodi: don't create kodi home directory
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.

4 years agomkosi/kodi: never start pulseaudio
Samir Benmendil [Tue, 29 Dec 2020 14:52:17 +0000 (14:52 +0000)]
mkosi/kodi: never start pulseaudio

We're relying on a system instance on the host to be running.

4 years agomkosi/kodi: remove xorg related config files
Samir Benmendil [Tue, 29 Dec 2020 13:45:13 +0000 (13:45 +0000)]
mkosi/kodi: remove xorg related config files

4 years agomkosi/kodi: kill the wayland executable on stop
Samir Benmendil [Tue, 29 Dec 2020 14:23:53 +0000 (14:23 +0000)]
mkosi/kodi: kill the wayland executable on stop

4 years agomkosi/kodi: cleanup pacman.d/mirrorlist
Samir Benmendil [Wed, 23 Dec 2020 20:48:54 +0000 (20:48 +0000)]
mkosi/kodi: cleanup pacman.d/mirrorlist

4 years agomkosi/kodi: install steam
Samir Benmendil [Wed, 23 Dec 2020 20:43:15 +0000 (20:43 +0000)]
mkosi/kodi: install steam

4 years agomkosi/kodi: enable lircd.socket
Samir Benmendil [Wed, 23 Dec 2020 20:41:48 +0000 (20:41 +0000)]
mkosi/kodi: enable lircd.socket

4 years agomkosi/kodi: use Password to set empty password for root
Samir Benmendil [Wed, 23 Dec 2020 20:41:09 +0000 (20:41 +0000)]
mkosi/kodi: use Password to set empty password for root

4 years agomkosi/kodi: switch to wayland
Samir Benmendil [Wed, 23 Dec 2020 20:39:28 +0000 (20:39 +0000)]
mkosi/kodi: switch to wayland

4 years agomkosi/kodi: don't depend on systemd-user-sessions
Samir Benmendil [Wed, 23 Dec 2020 12:43:59 +0000 (12:43 +0000)]
mkosi/kodi: don't depend on systemd-user-sessions

4 years agomkosi/kodi: limit ram usage
Samir Benmendil [Wed, 23 Dec 2020 12:39:26 +0000 (12:39 +0000)]
mkosi/kodi: limit ram usage

We don't want this container to take down the whole system.

There's probably a better way to do this and controll resources more
globally for the system, i.e. only ever allocate a max amount to all
containers.

4 years agomkosi/kodi: override.conf cleanup
Samir Benmendil [Wed, 23 Dec 2020 12:29:49 +0000 (12:29 +0000)]
mkosi/kodi: override.conf cleanup

/dev/dri and /dev/vga_arbiter should be covered by char-drm.

char-ptm was never needed, some confusion between the major and minor
number printed by `ls /dev/dri/renderD128`.

4 years agomkosi/kodi: remove unsupported intel-media-driver
Samir Benmendil [Wed, 23 Dec 2020 12:27:03 +0000 (12:27 +0000)]
mkosi/kodi: remove unsupported intel-media-driver

My GPU doesn't support this driver, libva-intel-driver is already
providing vaapi support.

4 years agomkosi: add jellyfin container
Samir Benmendil [Wed, 23 Dec 2020 12:24:40 +0000 (12:24 +0000)]
mkosi: add jellyfin container

4 years agomkosi/mpd: add mpd container
Samir Benmendil [Mon, 14 Dec 2020 11:19:08 +0000 (11:19 +0000)]
mkosi/mpd: add mpd container

4 years agomkosi: move gitignore to parent dir
Samir Benmendil [Mon, 14 Dec 2020 11:18:35 +0000 (11:18 +0000)]
mkosi: move gitignore to parent dir

4 years agomkosi/kodi: bind media folders
Samir Benmendil [Sun, 13 Dec 2020 10:52:51 +0000 (10:52 +0000)]
mkosi/kodi: bind media folders

4 years agomkosi/kodi: bind sockets and modules read only
Samir Benmendil [Sun, 13 Dec 2020 10:51:05 +0000 (10:51 +0000)]
mkosi/kodi: bind sockets and modules read only

More restrictive and seems to still work.

4 years agomkosi/kodi: disable DPMS
Samir Benmendil [Sun, 13 Dec 2020 10:47:41 +0000 (10:47 +0000)]
mkosi/kodi: disable DPMS

Xorg doesn't seem to recognise lirc inputs, so it doesn't register when
the remote is being pressed and will blank the screen after 10min even
if it is in use.

Let Kodi manage the screen blanking/saver instead.

Might need to reenable DPMS with no timeout in future though to allow
Kodi to force turn the screen off.

4 years agomkosi/kodi: don't automatically create VTs
Samir Benmendil [Sun, 13 Dec 2020 10:45:58 +0000 (10:45 +0000)]
mkosi/kodi: don't automatically create VTs

We're only using a single VT and we're requesting it specifically in
kodi-x11.

4 years agomkosi: add override.conf file
Samir Benmendil [Mon, 7 Dec 2020 23:04:27 +0000 (23:04 +0000)]
mkosi: add override.conf file

4 years agomkosi: add kodi image
Samir Benmendil [Sat, 5 Dec 2020 22:25:32 +0000 (22:25 +0000)]
mkosi: add kodi image

4 years agoflexget: update config
Samir Benmendil [Mon, 7 Dec 2020 22:52:32 +0000 (22:52 +0000)]
flexget: update config

4 years agovim: any .nspawn file is systemd
Samir Benmendil [Mon, 7 Dec 2020 22:51:21 +0000 (22:51 +0000)]
vim: any .nspawn file is systemd

4 years agozsh: fix run-help-btrfs
Samir Benmendil [Mon, 7 Dec 2020 22:50:33 +0000 (22:50 +0000)]
zsh: fix run-help-btrfs

4 years agoawesome: set tooltip colours to same as normal
Samir Benmendil [Sun, 18 Oct 2020 11:17:24 +0000 (12:17 +0100)]
awesome: set tooltip colours to same as normal

4 years agoawesome: remove extraneous newlines in net_widgets
Samir Benmendil [Sun, 18 Oct 2020 11:55:38 +0000 (12:55 +0100)]
awesome: remove extraneous newlines in net_widgets

4 years agoawesome: update net_widgets
Samir Benmendil [Sun, 18 Oct 2020 10:42:05 +0000 (11:42 +0100)]
awesome: update net_widgets

4 years agoawesome: replace decrecated awful.util with corresponding gears module
Samir Benmendil [Sun, 18 Oct 2020 10:17:31 +0000 (11:17 +0100)]
awesome: replace decrecated awful.util with corresponding gears module

4 years agogit: update ignore file for new clangd cache paths
Samir Benmendil [Thu, 3 Dec 2020 16:56:13 +0000 (16:56 +0000)]
git: update ignore file for new clangd cache paths

4 years agozsh/motd: check for correct org folder
Samir Benmendil [Sun, 11 Oct 2020 14:30:46 +0000 (15:30 +0100)]
zsh/motd: check for correct org folder

Oops.

4 years agoweechat: update wee-slack
Samir Benmendil [Mon, 5 Oct 2020 13:57:41 +0000 (14:57 +0100)]
weechat: update wee-slack

4 years agocgdb: remove config
Samir Benmendil [Mon, 5 Oct 2020 13:24:12 +0000 (14:24 +0100)]
cgdb: remove config

4 years agoweechat: add aliases for gitlab slash command
Samir Benmendil [Sat, 26 Sep 2020 18:03:47 +0000 (19:03 +0100)]
weechat: add aliases for gitlab slash command

4 years agovim: enable clang-tidy for ycm clangd
Samir Benmendil [Sat, 26 Sep 2020 17:51:30 +0000 (18:51 +0100)]
vim: enable clang-tidy for ycm clangd

4 years agovim: remove vimwiki, mainly just using vim-orgmode now
Samir Benmendil [Sat, 26 Sep 2020 17:50:06 +0000 (18:50 +0100)]
vim: remove vimwiki, mainly just using vim-orgmode now

4 years agovim/cpp: add FPP copyright snippet
Samir Benmendil [Sat, 26 Sep 2020 17:47:24 +0000 (18:47 +0100)]
vim/cpp: add FPP copyright snippet

4 years agovim/cpp: add pragma-ignore snippet for ignoring gcc warnings
Samir Benmendil [Sat, 26 Sep 2020 17:46:53 +0000 (18:46 +0100)]
vim/cpp: add pragma-ignore snippet for ignoring gcc warnings

4 years agovim/cpp: default to anonymous namespace
Samir Benmendil [Sat, 26 Sep 2020 17:46:13 +0000 (18:46 +0100)]
vim/cpp: default to anonymous namespace

4 years agovim/cpp: FixIt mapping
Samir Benmendil [Sat, 26 Sep 2020 17:43:05 +0000 (18:43 +0100)]
vim/cpp: FixIt mapping

4 years agoxinit: also set symbola font as fallback for emojis
Samir Benmendil [Sat, 26 Sep 2020 17:18:10 +0000 (18:18 +0100)]
xinit: also set symbola font as fallback for emojis

4 years agovim/snippets: add python snippets
Samir Benmendil [Sat, 26 Sep 2020 16:59:23 +0000 (17:59 +0100)]
vim/snippets: add python snippets

4 years agoqutebrower: use quickmarks for often used sites
Samir Benmendil [Sat, 26 Sep 2020 16:57:37 +0000 (17:57 +0100)]
qutebrower: use quickmarks for often used sites

4 years agoqutebrowser: remove `t[cC]H` variants
Samir Benmendil [Sat, 26 Sep 2020 13:43:51 +0000 (14:43 +0100)]
qutebrowser: remove `t[cC]H` variants

I tend to not use them.

4 years agoqutebrowser: disable geolocation by default, add binding to enable per site
Samir Benmendil [Sat, 26 Sep 2020 13:42:19 +0000 (14:42 +0100)]
qutebrowser: disable geolocation by default, add binding to enable per site

4 years agoqutebrowser: move cookies exception to autoconfig
Samir Benmendil [Sat, 26 Sep 2020 13:39:21 +0000 (14:39 +0100)]
qutebrowser: move cookies exception to autoconfig

That is where the bindings will save them to. Also ignore that file as
it will most likely only contain local and private data.

4 years agoawewome/mpd_widget: also popup on state changed
Samir Benmendil [Sun, 20 Sep 2020 15:19:36 +0000 (16:19 +0100)]
awewome/mpd_widget: also popup on state changed

4 years agoawesome/mpc: react to subsystem changes to idle
Samir Benmendil [Sun, 20 Sep 2020 14:36:06 +0000 (15:36 +0100)]
awesome/mpc: react to subsystem changes to idle

4 years agobin: make rsync-snapshot executable
Samir Benmendil [Fri, 21 Aug 2020 14:21:35 +0000 (15:21 +0100)]
bin: make rsync-snapshot executable