]> git.rmz.io Git - dotfiles.git/log
dotfiles.git
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

4 years agozsh/motd: only print todo if org folder exists
Samir Benmendil [Fri, 21 Aug 2020 14:20:54 +0000 (15:20 +0100)]
zsh/motd: only print todo if org folder exists

4 years agowakeonlan: update hactar MAC
Samir Benmendil [Fri, 21 Aug 2020 14:20:06 +0000 (15:20 +0100)]
wakeonlan: update hactar MAC

4 years agoflexget: split usenet and torrent move configs
Samir Benmendil [Fri, 27 Mar 2020 23:47:33 +0000 (23:47 +0000)]
flexget: split usenet and torrent move configs

4 years agoflexget: update config
Samir Benmendil [Fri, 27 Mar 2020 23:38:21 +0000 (23:38 +0000)]
flexget: update config

4 years agobin/diary: open folds to cursor pos
Samir Benmendil [Wed, 19 Aug 2020 14:50:24 +0000 (15:50 +0100)]
bin/diary: open folds to cursor pos

4 years agomutt: apparently envelope_from was deprecated in 2005
Samir Benmendil [Tue, 18 Aug 2020 22:12:19 +0000 (23:12 +0100)]
mutt: apparently envelope_from was deprecated in 2005

4 years agoawesome/battery_widget: remove module
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.

4 years agoweechat: update wee-slack
Samir Benmendil [Mon, 17 Aug 2020 11:05:45 +0000 (12:05 +0100)]
weechat: update wee-slack

4 years agoqutebrowser: add bindings for qute-pass
Samir Benmendil [Mon, 17 Aug 2020 10:21:47 +0000 (11:21 +0100)]
qutebrowser: add bindings for qute-pass

4 years agoawesome: use pulsemixer instead of ponymix
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.

4 years agoawesome/theme: add missing awful import
Samir Benmendil [Mon, 10 Aug 2020 21:56:29 +0000 (22:56 +0100)]
awesome/theme: add missing awful import

4 years agoawesome/mpd_widget: add defalut album art if none available
Samir Benmendil [Mon, 10 Aug 2020 21:55:48 +0000 (22:55 +0100)]
awesome/mpd_widget: add defalut album art if none available

4 years agoawesome/pomodoro: add missing require to awful
Samir Benmendil [Mon, 10 Aug 2020 20:35:15 +0000 (21:35 +0100)]
awesome/pomodoro: add missing require to awful

4 years agoawesome/mpd_widget: destroy and recreate nofication on one_shot
Samir Benmendil [Mon, 10 Aug 2020 20:33:54 +0000 (21:33 +0100)]
awesome/mpd_widget: destroy and recreate nofication on one_shot

4 years agoawesome/mpd_widget: reset timeout when popup_hide is called again
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.

4 years agoawesome/mpd_widget: destroy notification immediately when delay is nil
Samir Benmendil [Mon, 10 Aug 2020 20:31:41 +0000 (21:31 +0100)]
awesome/mpd_widget: destroy notification immediately when delay is nil

4 years agoawesome/mpd_widget: request albumart when getting info
Samir Benmendil [Mon, 10 Aug 2020 20:30:14 +0000 (21:30 +0100)]
awesome/mpd_widget: request albumart when getting info

4 years agoawesome/mpc: add albumart function
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.

4 years agoawesome/mpc: add support for binary responses
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.

4 years agoawesome/pomodoro: update submodule
Samir Benmendil [Sun, 9 Aug 2020 20:42:16 +0000 (21:42 +0100)]
awesome/pomodoro: update submodule

4 years agovim: update UltiSnips variables
Samir Benmendil [Sun, 9 Aug 2020 18:04:36 +0000 (19:04 +0100)]
vim: update UltiSnips variables

4 years agovim: plantuml syntax plugin
Samir Benmendil [Sun, 9 Aug 2020 18:04:14 +0000 (19:04 +0100)]
vim: plantuml syntax plugin

4 years agovim/snippets/sh: script_dir snippet to get path to current source
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

4 years agovim/snippets/cpp: for loop defaults to size_t
Samir Benmendil [Sun, 9 Aug 2020 18:02:08 +0000 (19:02 +0100)]
vim/snippets/cpp: for loop defaults to size_t

4 years agovim/snippets/cpp: add t snippet to list of horrible one word snippets
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

4 years agovim: .h files are usually ft=cpp
Samir Benmendil [Sun, 9 Aug 2020 17:59:49 +0000 (18:59 +0100)]
vim: .h files are usually ft=cpp

4 years agoqutebrowser: update bookmarks
Samir Benmendil [Sun, 9 Aug 2020 17:58:43 +0000 (18:58 +0100)]
qutebrowser: update bookmarks

4 years agomutt: don't sign replies to github either
Samir Benmendil [Sun, 9 Aug 2020 17:55:00 +0000 (18:55 +0100)]
mutt: don't sign replies to github either

4 years agomutt: fix gitlab.com email regex for nosign group
Samir Benmendil [Sun, 9 Aug 2020 17:52:35 +0000 (18:52 +0100)]
mutt: fix gitlab.com email regex for nosign group

4 years agoweechat: update wee-slack and config
Samir Benmendil [Thu, 6 Aug 2020 17:48:19 +0000 (18:48 +0100)]
weechat: update wee-slack and config

4 years agoweechat: update config
Samir Benmendil [Thu, 6 Aug 2020 17:46:30 +0000 (18:46 +0100)]
weechat: update config

4 years agombsync: force use of TLSv1.2
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.

4 years agoqutebrowser: cycle through cookie settings for tld with user script
Samir Benmendil [Sat, 8 Aug 2020 12:44:07 +0000 (13:44 +0100)]
qutebrowser: cycle through cookie settings for tld with user script

4 years agobin: redirect Steam output to log and rotate it
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.

4 years agoxinit: rotate logfile when X starts
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.

4 years agoxinit: setup XIDLEHOOK_SOCKET in zshenv
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.

4 years agobin: set diary command to open orgmode journal file
Samir Benmendil [Sat, 8 Aug 2020 12:17:59 +0000 (13:17 +0100)]
bin: set diary command to open orgmode journal file

4 years agovim/python: binding for ycm GoToReferences
Samir Benmendil [Sat, 8 Aug 2020 12:17:04 +0000 (13:17 +0100)]
vim/python: binding for ycm GoToReferences

Same as the c++ binding.

4 years agovim: add haskell highlighting
Samir Benmendil [Sat, 8 Aug 2020 12:16:33 +0000 (13:16 +0100)]
vim: add haskell highlighting

4 years agovim: open commit window in a new tab
Samir Benmendil [Sat, 8 Aug 2020 12:15:53 +0000 (13:15 +0100)]
vim: open commit window in a new tab

4 years agovim: update bindings to use new fugitive commands
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.

4 years agovim: some simple orgmode snippets and options
Samir Benmendil [Sat, 8 Aug 2020 12:14:10 +0000 (13:14 +0100)]
vim: some simple orgmode snippets and options

4 years agomutt: fix F macro to not write message to home
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.

4 years agomutt: fix archive message path
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.

4 years agomail: setup youtube sync for mailfence
Samir Benmendil [Sat, 8 Aug 2020 11:58:24 +0000 (12:58 +0100)]
mail: setup youtube sync for mailfence

4 years agomutt: convert dmarc reports to html and display in browser
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.

4 years agobin: add monzo and starling json to qif conversion scripts
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.

4 years agoawesome/pomodoro: update submodule to fix lua5.4 issues
Samir Benmendil [Sat, 8 Aug 2020 11:43:59 +0000 (12:43 +0100)]
awesome/pomodoro: update submodule to fix lua5.4 issues

4 years agoawesome: remove awesompd
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.

4 years agoawesome/mpd_widget: show popup after clicking to destroy
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.

4 years agoawesome: remove freedesktop menu
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.

4 years agoawesome/mpd_widget: Update popup contents
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

4 years agoawesome/mpd_widget: Add extra_space between scroll text
Samir Benmendil [Sat, 8 Aug 2020 10:11:21 +0000 (11:11 +0100)]
awesome/mpd_widget: Add extra_space between scroll text

4 years agoawesome/mpd_widget: some cleanup
Samir Benmendil [Sat, 8 Aug 2020 10:10:58 +0000 (11:10 +0100)]
awesome/mpd_widget: some cleanup

4 years agoawesome/mpd_widget: center scroll widget when smaller than forced_width
Samir Benmendil [Wed, 5 Aug 2020 22:08:57 +0000 (23:08 +0100)]
awesome/mpd_widget: center scroll widget when smaller than forced_width

4 years agoawesome/mpd_widget: put scroll widget part of mpd_widget
Samir Benmendil [Wed, 5 Aug 2020 20:12:31 +0000 (21:12 +0100)]
awesome/mpd_widget: put scroll widget part of mpd_widget

4 years agoawesome: wrap mpd_widget into a scroll container and use it
Samir Benmendil [Wed, 5 Aug 2020 19:27:46 +0000 (20:27 +0100)]
awesome: wrap mpd_widget into a scroll container and use it

4 years agoawesome/mpd_widget: turn it into a "class"
Samir Benmendil [Wed, 5 Aug 2020 19:27:03 +0000 (20:27 +0100)]
awesome/mpd_widget: turn it into a "class"

4 years agoawesome/mpd_widget: use ping command to sync state
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.

4 years agoawesome/mpd_widget: add persistent popup
Samir Benmendil [Mon, 3 Aug 2020 20:57:47 +0000 (21:57 +0100)]
awesome/mpd_widget: add persistent popup

4 years agoawesome: new mpd widget using mpc.lua
Samir Benmendil [Sun, 2 Aug 2020 20:36:13 +0000 (21:36 +0100)]
awesome: new mpd widget using mpc.lua