]>
git.rmz.io Git - dotfiles.git/log
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.
Samir Benmendil [Sat, 8 Aug 2020 12:05:07 +0000 (13:05 +0100)]
mutt: fix archive message path
Message were being archived into a completely wrong path, I was very
confused to find message in mailfenc, thought they were a mistake while
doing a backup of some sort when setting it up initially and almost
deleted them.
All messages have been restored to the correct archive folderd and the
hook has been updated.
Samir Benmendil [Sat, 8 Aug 2020 11:58:24 +0000 (12:58 +0100)]
mail: setup youtube sync for mailfence
Samir Benmendil [Sat, 8 Aug 2020 11:54:12 +0000 (12:54 +0100)]
mutt: convert dmarc reports to html and display in browser
Currently only supports doing this from the attachement view. This is ok
for now.
Samir Benmendil [Sat, 8 Aug 2020 11:46:23 +0000 (12:46 +0100)]
bin: add monzo and starling json to qif conversion scripts
Used to import monzo and starling transactions history from their rest
api into kmymoney.
Samir Benmendil [Sat, 8 Aug 2020 11:43:59 +0000 (12:43 +0100)]
awesome/pomodoro: update submodule to fix lua5.4 issues
Samir Benmendil [Sat, 8 Aug 2020 11:50:28 +0000 (12:50 +0100)]
awesome: remove awesompd
It's been replaced by my own mpd_widget.
Samir Benmendil [Sat, 8 Aug 2020 10:42:33 +0000 (11:42 +0100)]
awesome/mpd_widget: show popup after clicking to destroy
The popup would not show if clicked to destroy it then hovering over the
widget again. Would have to wait until the timer runs out.
Samir Benmendil [Sat, 8 Aug 2020 10:19:33 +0000 (11:19 +0100)]
awesome: remove freedesktop menu
I haven't used it in ages, and it broke in a recent upgrade of lua.
Samir Benmendil [Sat, 8 Aug 2020 10:12:23 +0000 (11:12 +0100)]
awesome/mpd_widget: Update popup contents
* Print filename if there is no artist/title.
* Don't print album if there isn't any
Samir Benmendil [Sat, 8 Aug 2020 10:11:21 +0000 (11:11 +0100)]
awesome/mpd_widget: Add extra_space between scroll text
Samir Benmendil [Sat, 8 Aug 2020 10:10:58 +0000 (11:10 +0100)]
awesome/mpd_widget: some cleanup
Samir Benmendil [Wed, 5 Aug 2020 22:08:57 +0000 (23:08 +0100)]
awesome/mpd_widget: center scroll widget when smaller than forced_width
Samir Benmendil [Wed, 5 Aug 2020 20:12:31 +0000 (21:12 +0100)]
awesome/mpd_widget: put scroll widget part of mpd_widget
Samir Benmendil [Wed, 5 Aug 2020 19:27:46 +0000 (20:27 +0100)]
awesome: wrap mpd_widget into a scroll container and use it
Samir Benmendil [Wed, 5 Aug 2020 19:27:03 +0000 (20:27 +0100)]
awesome/mpd_widget: turn it into a "class"
Samir Benmendil [Mon, 3 Aug 2020 21:06:54 +0000 (22:06 +0100)]
awesome/mpd_widget: use ping command to sync state
The ping command does nothing other than return OK, but it will be sent
in order of the `send()` call, i.e. after any previous invocation of
`send()` and since the server will return strings in order, this
guarantees that the previous `status` and `currentsong` command have
been evaluated and contain data.
Samir Benmendil [Mon, 3 Aug 2020 20:57:47 +0000 (21:57 +0100)]
awesome/mpd_widget: add persistent popup
Samir Benmendil [Sun, 2 Aug 2020 20:36:13 +0000 (21:36 +0100)]
awesome: new mpd widget using mpc.lua