]>
 
 
git.rmz.io Git - dotfiles.git/log 
 
 
 
 
 
 
 
 
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. 
 
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. 
 
Samir Benmendil  [Tue, 29 Dec 2020 13:45:13 +0000  (13:45 +0000)] 
 
mkosi/kodi: remove xorg related config files 
 
Samir Benmendil  [Tue, 29 Dec 2020 14:23:53 +0000  (14:23 +0000)] 
 
mkosi/kodi: kill the wayland executable on stop 
 
Samir Benmendil  [Wed, 23 Dec 2020 20:48:54 +0000  (20:48 +0000)] 
 
mkosi/kodi: cleanup pacman.d/mirrorlist 
 
Samir Benmendil  [Wed, 23 Dec 2020 20:43:15 +0000  (20:43 +0000)] 
 
mkosi/kodi: install steam 
 
Samir Benmendil  [Wed, 23 Dec 2020 20:41:48 +0000  (20:41 +0000)] 
 
mkosi/kodi: enable lircd.socket 
 
Samir Benmendil  [Wed, 23 Dec 2020 20:41:09 +0000  (20:41 +0000)] 
 
mkosi/kodi: use Password to set empty password for root 
 
Samir Benmendil  [Wed, 23 Dec 2020 20:39:28 +0000  (20:39 +0000)] 
 
mkosi/kodi: switch to wayland 
 
Samir Benmendil  [Wed, 23 Dec 2020 12:43:59 +0000  (12:43 +0000)] 
 
mkosi/kodi: don't depend on systemd-user-sessions 
 
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. 
 
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`. 
 
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. 
 
Samir Benmendil  [Wed, 23 Dec 2020 12:24:40 +0000  (12:24 +0000)] 
 
mkosi: add jellyfin container 
 
Samir Benmendil  [Mon, 14 Dec 2020 11:19:08 +0000  (11:19 +0000)] 
 
mkosi/mpd: add mpd container 
 
Samir Benmendil  [Mon, 14 Dec 2020 11:18:35 +0000  (11:18 +0000)] 
 
mkosi: move gitignore to parent dir 
 
Samir Benmendil  [Sun, 13 Dec 2020 10:52:51 +0000  (10:52 +0000)] 
 
mkosi/kodi: bind media folders 
 
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. 
 
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. 
 
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. 
 
Samir Benmendil  [Mon, 7 Dec 2020 23:04:27 +0000  (23:04 +0000)] 
 
mkosi: add override.conf file 
 
Samir Benmendil  [Sat, 5 Dec 2020 22:25:32 +0000  (22:25 +0000)] 
 
mkosi: add kodi image 
 
Samir Benmendil  [Mon, 7 Dec 2020 22:52:32 +0000  (22:52 +0000)] 
 
flexget: update config 
 
Samir Benmendil  [Mon, 7 Dec 2020 22:51:21 +0000  (22:51 +0000)] 
 
vim: any .nspawn file is systemd 
 
Samir Benmendil  [Mon, 7 Dec 2020 22:50:33 +0000  (22:50 +0000)] 
 
zsh: fix run-help-btrfs 
 
Samir Benmendil  [Sun, 18 Oct 2020 11:17:24 +0000  (12:17 +0100)] 
 
awesome: set tooltip colours to same as normal 
 
Samir Benmendil  [Sun, 18 Oct 2020 11:55:38 +0000  (12:55 +0100)] 
 
awesome: remove extraneous newlines in net_widgets 
 
Samir Benmendil  [Sun, 18 Oct 2020 10:42:05 +0000  (11:42 +0100)] 
 
awesome: update net_widgets 
 
Samir Benmendil  [Sun, 18 Oct 2020 10:17:31 +0000  (11:17 +0100)] 
 
awesome: replace decrecated awful.util with corresponding gears module 
 
Samir Benmendil  [Thu, 3 Dec 2020 16:56:13 +0000  (16:56 +0000)] 
 
git: update ignore file for new clangd cache paths 
 
Samir Benmendil  [Sun, 11 Oct 2020 14:30:46 +0000  (15:30 +0100)] 
 
zsh/motd: check for correct org folder 
 
Oops. 
 
Samir Benmendil  [Mon, 5 Oct 2020 13:57:41 +0000  (14:57 +0100)] 
 
weechat: update wee-slack 
 
Samir Benmendil  [Mon, 5 Oct 2020 13:24:12 +0000  (14:24 +0100)] 
 
cgdb: remove config 
 
Samir Benmendil  [Sat, 26 Sep 2020 18:03:47 +0000  (19:03 +0100)] 
 
weechat: add aliases for gitlab slash command 
 
Samir Benmendil  [Sat, 26 Sep 2020 17:51:30 +0000  (18:51 +0100)] 
 
vim: enable clang-tidy for ycm clangd 
 
Samir Benmendil  [Sat, 26 Sep 2020 17:50:06 +0000  (18:50 +0100)] 
 
vim: remove vimwiki, mainly just using vim-orgmode now 
 
Samir Benmendil  [Sat, 26 Sep 2020 17:47:24 +0000  (18:47 +0100)] 
 
vim/cpp: add FPP copyright snippet 
 
Samir Benmendil  [Sat, 26 Sep 2020 17:46:53 +0000  (18:46 +0100)] 
 
vim/cpp: add pragma-ignore snippet for ignoring gcc warnings 
 
Samir Benmendil  [Sat, 26 Sep 2020 17:46:13 +0000  (18:46 +0100)] 
 
vim/cpp: default to anonymous namespace 
 
Samir Benmendil  [Sat, 26 Sep 2020 17:43:05 +0000  (18:43 +0100)] 
 
vim/cpp: FixIt mapping 
 
Samir Benmendil  [Sat, 26 Sep 2020 17:18:10 +0000  (18:18 +0100)] 
 
xinit: also set symbola font as fallback for emojis 
 
Samir Benmendil  [Sat, 26 Sep 2020 16:59:23 +0000  (17:59 +0100)] 
 
vim/snippets: add python snippets 
 
Samir Benmendil  [Sat, 26 Sep 2020 16:57:37 +0000  (17:57 +0100)] 
 
qutebrower: use quickmarks for often used sites 
 
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. 
 
Samir Benmendil  [Sat, 26 Sep 2020 13:42:19 +0000  (14:42 +0100)] 
 
qutebrowser: disable geolocation by default, add binding to enable per site 
 
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. 
 
Samir Benmendil  [Sun, 20 Sep 2020 15:19:36 +0000  (16:19 +0100)] 
 
awewome/mpd_widget: also popup on state changed 
 
Samir Benmendil  [Sun, 20 Sep 2020 14:36:06 +0000  (15:36 +0100)] 
 
awesome/mpc: react to subsystem changes to idle 
 
Samir Benmendil  [Fri, 21 Aug 2020 14:21:35 +0000  (15:21 +0100)] 
 
bin: make rsync-snapshot executable 
 
Samir Benmendil  [Fri, 21 Aug 2020 14:20:54 +0000  (15:20 +0100)] 
 
zsh/motd: only print todo if org folder exists 
 
Samir Benmendil  [Fri, 21 Aug 2020 14:20:06 +0000  (15:20 +0100)] 
 
wakeonlan: update hactar MAC 
 
Samir Benmendil  [Fri, 27 Mar 2020 23:47:33 +0000  (23:47 +0000)] 
 
flexget: split usenet and torrent move configs 
 
Samir Benmendil  [Fri, 27 Mar 2020 23:38:21 +0000  (23:38 +0000)] 
 
flexget: update config 
 
Samir Benmendil  [Wed, 19 Aug 2020 14:50:24 +0000  (15:50 +0100)] 
 
bin/diary: open folds to cursor pos 
 
Samir Benmendil  [Tue, 18 Aug 2020 22:12:19 +0000  (23:12 +0100)] 
 
mutt: apparently envelope_from was deprecated in 2005 
 
Samir Benmendil  [Tue, 18 Aug 2020 22:07:22 +0000  (23:07 +0100)] 
 
awesome/battery_widget: remove module 
 
Not supported in new versions of lua. 
 
Samir Benmendil  [Mon, 17 Aug 2020 11:05:45 +0000  (12:05 +0100)] 
 
weechat: update wee-slack 
 
Samir Benmendil  [Mon, 17 Aug 2020 10:21:47 +0000  (11:21 +0100)] 
 
qutebrowser: add bindings for qute-pass 
 
Samir Benmendil  [Mon, 17 Aug 2020 08:45:44 +0000  (09:45 +0100)] 
 
awesome: use pulsemixer instead of ponymix 
 
ponymix prints the volume to stdout which really isn't necessary. And I 
actually need pulsemixer installed anyway. Whereas ponymix was only for 
changing the volume here. 
 
Samir Benmendil  [Mon, 10 Aug 2020 21:56:29 +0000  (22:56 +0100)] 
 
awesome/theme: add missing awful import 
 
Samir Benmendil  [Mon, 10 Aug 2020 21:55:48 +0000  (22:55 +0100)] 
 
awesome/mpd_widget: add defalut album art if none available 
 
Samir Benmendil  [Mon, 10 Aug 2020 20:35:15 +0000  (21:35 +0100)] 
 
awesome/pomodoro: add missing require to awful 
 
Samir Benmendil  [Mon, 10 Aug 2020 20:33:54 +0000  (21:33 +0100)] 
 
awesome/mpd_widget: destroy and recreate nofication on one_shot 
 
Samir Benmendil  [Mon, 10 Aug 2020 20:32:42 +0000  (21:32 +0100)] 
 
awesome/mpd_widget: reset timeout when popup_hide is called again 
 
When the timer runs again it should run with the new timeout. 
 
Samir Benmendil  [Mon, 10 Aug 2020 20:31:41 +0000  (21:31 +0100)] 
 
awesome/mpd_widget: destroy notification immediately when delay is nil 
 
Samir Benmendil  [Mon, 10 Aug 2020 20:30:14 +0000  (21:30 +0100)] 
 
awesome/mpd_widget: request albumart when getting info 
 
Samir Benmendil  [Mon, 10 Aug 2020 20:27:59 +0000  (21:27 +0100)] 
 
awesome/mpc: add albumart function 
 
The function will send multiple 'albumart' requests and put together the 
binary response, then call the handler. 
 
Samir Benmendil  [Mon, 10 Aug 2020 18:31:44 +0000  (19:31 +0100)] 
 
awesome/mpc: add support for binary responses 
 
Had to move the recursive `do_read` call to after the parsing of the 
message as in binary form we need to first read the binary data before 
carrying on and reading the next line. 
 
Samir Benmendil  [Sun, 9 Aug 2020 20:42:16 +0000  (21:42 +0100)] 
 
awesome/pomodoro: update submodule 
 
Samir Benmendil  [Sun, 9 Aug 2020 18:04:36 +0000  (19:04 +0100)] 
 
vim: update UltiSnips variables 
 
Samir Benmendil  [Sun, 9 Aug 2020 18:04:14 +0000  (19:04 +0100)] 
 
vim: plantuml syntax plugin 
 
Samir Benmendil  [Sun, 9 Aug 2020 18:02:51 +0000  (19:02 +0100)] 
 
vim/snippets/sh: script_dir snippet to get path to current source 
 
Samir Benmendil  [Sun, 9 Aug 2020 18:02:08 +0000  (19:02 +0100)] 
 
vim/snippets/cpp: for loop defaults to size_t 
 
Samir Benmendil  [Sun, 9 Aug 2020 18:01:14 +0000  (19:01 +0100)] 
 
vim/snippets/cpp: add t snippet to list of horrible one word snippets 
 
Samir Benmendil  [Sun, 9 Aug 2020 17:59:49 +0000  (18:59 +0100)] 
 
vim: .h files are usually ft=cpp 
 
Samir Benmendil  [Sun, 9 Aug 2020 17:58:43 +0000  (18:58 +0100)] 
 
qutebrowser: update bookmarks 
 
Samir Benmendil  [Sun, 9 Aug 2020 17:55:00 +0000  (18:55 +0100)] 
 
mutt: don't sign replies to github either 
 
Samir Benmendil  [Sun, 9 Aug 2020 17:52:35 +0000  (18:52 +0100)] 
 
mutt: fix gitlab.com email regex for nosign group 
 
Samir Benmendil  [Thu, 6 Aug 2020 17:48:19 +0000  (18:48 +0100)] 
 
weechat: update wee-slack and config 
 
Samir Benmendil  [Thu, 6 Aug 2020 17:46:30 +0000  (18:46 +0100)] 
 
weechat: update config 
 
Samir Benmendil  [Sat, 8 Aug 2020 12:48:32 +0000  (13:48 +0100)] 
 
mbsync: force use of TLSv1.2 
 
Mailfence will remove support of anything lower. 
 
Samir Benmendil  [Sat, 8 Aug 2020 12:44:07 +0000  (13:44 +0100)] 
 
qutebrowser: cycle through cookie settings for tld with user script 
 
Samir Benmendil  [Sat, 8 Aug 2020 12:23:04 +0000  (13:23 +0100)] 
 
bin: redirect Steam output to log and rotate it 
 
Steam seems to write to the xinit log, this is just noise in that log. 
Let's have a separate log for steam instead. 
 
Steam logs a lot and the log grow quite big and don't need to be kept 
around, so rotate them also. Keeping last one. 
 
Samir Benmendil  [Sat, 8 Aug 2020 12:21:30 +0000  (13:21 +0100)] 
 
xinit: rotate logfile when X starts 
 
We don't need to keep logs for that long. The last run is more than 
sufficient. 
 
Samir Benmendil  [Sat, 8 Aug 2020 12:19:39 +0000  (13:19 +0100)] 
 
xinit: setup XIDLEHOOK_SOCKET in zshenv 
 
Otherwise it seems to not be available in shells. 
 
Samir Benmendil  [Sat, 8 Aug 2020 12:17:59 +0000  (13:17 +0100)] 
 
bin: set diary command to open orgmode journal file 
 
Samir Benmendil  [Sat, 8 Aug 2020 12:17:04 +0000  (13:17 +0100)] 
 
vim/python: binding for ycm GoToReferences 
 
Same as the c++ binding. 
 
Samir Benmendil  [Sat, 8 Aug 2020 12:16:33 +0000  (13:16 +0100)] 
 
vim: add haskell highlighting 
 
Samir Benmendil  [Sat, 8 Aug 2020 12:15:53 +0000  (13:15 +0100)] 
 
vim: open commit window in a new tab 
 
Samir Benmendil  [Sat, 8 Aug 2020 12:15:17 +0000  (13:15 +0100)] 
 
vim: update bindings to use new fugitive commands 
 
All the other ones have been deprecated a while ago. 
 
Samir Benmendil  [Sat, 8 Aug 2020 12:14:10 +0000  (13:14 +0100)] 
 
vim: some simple orgmode snippets and options 
 
Samir Benmendil  [Sat, 8 Aug 2020 12:10:00 +0000  (13:10 +0100)] 
 
mutt: fix F macro to not write message to home 
 
I'm not entirely sure what was happening here. But IIRC this macro was 
writing emails to ~. Possibly because of the `;s` or something. 
 
The set command supports setting multiple options at the same time, just 
use that. 
 
Spliting up the command to multiline also makes it easier to read.