Commit graph

365 commits

Author SHA1 Message Date
Simon Bruder af4da03c50
zsh: Remove nixpkgs-review wrapper
The token is invalid and I don’t use the github integration anyway.
2022-04-12 18:02:31 +02:00
Simon Bruder 8d55e5093a
neovim: Show live preview of substitution 2022-04-12 17:58:52 +02:00
Simon Bruder 909d7864e7
renge/onlypain.icu: Init
This is just a joke, please don’t take it seriously.
2022-04-07 16:13:40 +02:00
Simon Bruder 72fd16e5f7
makemkv: Allow setting PWD in other variable
When using it with waypipe, the PWD set by env is ignored.
2022-04-02 08:51:51 +02:00
Simon Bruder 26bed20816
sway: Add waypipe 2022-04-02 08:51:37 +02:00
Simon Bruder 5cb356c368
makemkv: Init 2022-04-01 18:20:46 +02:00
Simon Bruder a88e4e053c
Make commercial bluray disc playback work
This requires the key database at ~/.config/aacs/KEYDB.cfg (note the
case, I missed this at first). A guide for how to prepare it can be
found on the Arch Wiki: https://wiki.archlinux.org/title/Blu-ray
2022-04-01 18:03:29 +02:00
Simon Bruder c70da831eb
tools: Install sqlite globally
It often is needed on servers where there is no user.
2022-03-26 12:42:45 +01:00
Simon Bruder 2df718cea9
Clean up remnants from qbittorrent migration 2022-03-20 19:04:19 +01:00
Simon Bruder cd5a5b8356
games/steam-sandbox: Bind factorio directory
It doesn’t use XDG directories, so all settings are reset and only some
aspects that are synced via Steam Cloud were kept.
2022-03-19 19:29:53 +01:00
Simon Bruder ea88259856
okarin/qbittorrent: Init 2022-03-19 10:35:09 +01:00
Simon Bruder 8f7403e66f
mpv: Overhaul selection of shader-based scalers
This removes ravu-zoom and ravu-lite in favour of standard ravu. It also
adds more nnedi3 shaders with neurons between 2^4 and 2^8, each with a
window size of 8x4. This should give a wide range of options that work
on all machines and still give acceptable results (at least balanced to
the performance).

The reason for this switch is ravu’s subpar performance, since it often
produces more artifacts than it avoids.

It also avoids some code duplication at the cost of making it more
complex.
2022-03-14 22:57:35 +01:00
Simon Bruder c4381cd564
games: Use dolphin from unstable 2022-02-23 20:46:33 +01:00
Simon Bruder 745b7af584
logitech: Init user module 2022-02-09 20:21:27 +01:00
Simon Bruder 8d5480416c
sway: Scale wallpaper with waifu2x-converter-cpp
This has been disabled since 2e33f18a3a,
but since I now have a 4k screen it is useful again.
2022-02-07 20:09:25 +01:00
Simon Bruder 964b34f321
sway/waybar: Disable hwmon override for mayushii
After a kernel upgrade, the old path no longer works and waybar
autodetects the correct one.
2022-01-20 18:21:36 +01:00
Simon Bruder ebd1353bd6
qutebrowser/qbmarks: Do not sign when rebasing 2022-01-15 20:46:12 +01:00
Simon Bruder db7efe7d77
sway/kanshi: Add configuration for sayuri 2022-01-15 15:09:38 +01:00
Simon Bruder a7724d2713
mpv: Add 4k visualiser resolution 2022-01-14 21:54:06 +01:00
Simon Bruder 80ee98058e
mayushii: Configure new monitor setup
This configures the home profile for kanshi for an Acer B277K monitor.
Since it is both larger than my previous monitor and has a higher
resolution, a few things change with this.

For one, my preferred setup is now to just have one monitor instead of
having my laptop screen as a secondary display device. Therefore, logind
should not suspend if the lid is closed. Since it fails to accurately
detect when a dock is connected, it is configured to never suspend on
lid switch when external power is connected.

Another thing is that the high resolution makes it necessary to use a
scaling factor, which is quite easy to configure with sway and kanshi.
It does, however, not work for Xwayland clients (they render at a lower
resolution and are scaled up with nearest-neighbor interpolation).
That requires me to no longer force the qt backend to xcb for
qutebrowser, because that significantly lowers the browsing experience.

The setup for sayuri is still to be done.
2022-01-10 21:10:55 +01:00
Simon Bruder 23b63fcf4b
mpv/sponsorblock: Disable local database
It has been broken for a long time and is not likely to work again
soon[1].

[1]: https://github.com/po5/mpv_sponsorblock/issues/31
2022-01-07 10:35:32 +01:00
Simon Bruder 540f89bff1
games/steam: Include ~/.config in sandbox
Some games place their state there.
2022-01-03 11:13:21 +01:00
Simon Bruder aba6be5002
games: Use mainline branch of yuzu 2022-01-01 16:39:09 +01:00
Simon Bruder 65a37c5703
programs: Add remmina 2021-12-28 10:31:50 +01:00
Simon Bruder a47e41b9a2
sway: Allow launching helvum from waybar module 2021-12-21 21:50:45 +01:00
Simon Bruder 1b8f16e88a
Revert "programs: Fix audacity hanging after quitting"
This reverts commit 6e9c04e52a.

A fix for this problem has been added to nixpkgs.
2021-12-21 17:41:38 +01:00
Simon Bruder c7ccd022b7
programs: Add qrencode 2021-12-17 16:08:31 +01:00
Simon Bruder 1a515ed9e3
xdg: Add xdg-open to path 2021-12-17 16:08:20 +01:00
Simon Bruder 398ca91aa5
tools: Add wireshark 2021-12-10 18:00:13 +01:00
Simon Bruder 6e9c04e52a
programs: Fix audacity hanging after quitting
nixpkgs issue that was closed with just a workaround: https://github.com/NixOS/nixpkgs/issues/130347
2021-12-10 14:34:01 +01:00
Simon Bruder b87209cd06
zsh: Remove cp alias
Coreutils 9, which is the current version in nixpkgs stable, uses
reflinks by default.
2021-12-06 16:02:29 +01:00
Simon Bruder 349b72c1d7
qutebrowser/invidious: Also redirect youtube-nocookie.com 2021-12-05 19:22:00 +01:00
Simon Bruder a9817baee9
Remove unneeded packages from unstable 2021-12-01 18:32:51 +01:00
Simon Bruder df865ebef9
qutebrowser: Open downloads with reasonable program 2021-11-28 14:44:47 +01:00
Simon Bruder d394b1f802
qutebrowser: Force Qt to use XCB as QPA platform
This somewhat alleviates the memory leaks, though it also creates new
issues, like problems with context menus on multi-monitor setups.

Meh…
2021-11-20 16:45:30 +01:00
Simon Bruder f2d9a44800
mpd: Use pipewire output 2021-11-20 16:44:54 +01:00
Simon Bruder 9bac0b95ac
sway: Bind XF86AudioPause to also toggle mpd state 2021-11-18 18:33:18 +01:00
Simon Bruder ac92017f96
neovim: Fix nix phase snippets 2021-11-12 13:10:07 +01:00
Simon Bruder 821367af3f
qutebrowser: Init
This also makes it the default browser.
2021-11-09 21:45:50 +01:00
Simon Bruder 43067ad796
neovim: Rework configuration in lua
Many plugins are not yet configured, but the basic functionality is
there.
2021-11-07 21:47:56 +01:00
Simon Bruder cc63ca0e9a
zsh: Do not automatically set color scheme
It often causes problems and I can still set it manually with dcsl if I
want to.
2021-11-07 21:47:56 +01:00
Simon Bruder 2ef9d583f6
tmux: Enable true color support 2021-11-07 20:33:52 +01:00
Simon Bruder 7e3506adde
Revert "games/steam: Include local fonts"
This reverts commit 4e7aa88c42.
2021-11-01 14:31:09 +01:00
Simon Bruder 4e7aa88c42
games/steam: Include local fonts 2021-10-31 17:45:19 +01:00
Simon Bruder 13663a4297
games/steam-sandbox: Include /etc/passwd
Some games segfault when it doesn’t exist.
2021-10-31 09:02:00 +01:00
Simon Bruder dcdeece6a2
mpv: Reorganise non-home-manager scripts and options 2021-10-29 20:58:40 +02:00
Simon Bruder 817d9dae20
sway/waybar: Display battery icon on the right side 2021-10-29 19:25:11 +02:00
Simon Bruder dd93cf13a2
mpv: Use Iosevka as OSD font
This still had an impure dependency on a proprietary font.
2021-10-27 19:51:34 +02:00
Simon Bruder ef9a022d56
waybar: Remove network speed widget 2021-10-27 19:43:43 +02:00
Simon Bruder e35795ad98
waybar: Remove interface name from network widget
The USB ethernet controller in mayushii’s dock gets the nice name
enp7s0f3u1u1, which takes up considerable amount of space in the bar.
2021-10-27 19:42:51 +02:00
Simon Bruder 6b08a8e1f3
games/steam: Show icon in tray
Otherwise it just shows an ugly placeholder.
2021-10-17 17:45:45 +02:00
Simon Bruder fc1e8540e4
zsh: Add nix-index 2021-10-16 10:03:10 +02:00
Simon Bruder abe078a914
ytcc: Prefer newer video codecs 2021-10-10 14:43:59 +02:00
Simon Bruder d52084a79b
nunotaba: Remove 2021-10-10 11:40:20 +02:00
Simon Bruder 2af32e4932
mpv: Make ytdl-hook use yt-dlp 2021-10-09 22:55:19 +02:00
Simon Bruder 76afcc4127
mayushii/kanshi: Change home screen layout 2021-10-09 14:39:38 +02:00
Simon Bruder 4afbf1c24b
mayushii: Raise trackpoint acceleration 2021-10-07 21:14:01 +02:00
Simon Bruder cd2295ad7c
sway: Fix DPMS key binding 2021-10-06 19:41:00 +02:00
Simon Bruder 7886cb249a
mayushii: Set trackpoint sensitivity with sway 2021-10-06 16:32:09 +02:00
Simon Bruder 0e2c6a351d
mayushii: Disable touchpad 2021-10-05 23:13:23 +02:00
Simon Bruder dec3f07ca4
sway: Set temperature hwmon path for mayushii 2021-10-05 21:26:39 +02:00
Simon Bruder 8bf63db6e5
mayushii: Init 2021-10-05 21:26:39 +02:00
Simon Bruder ae8effee39
games: Add steam-sandbox 2021-10-04 16:57:10 +02:00
Simon Bruder 9190c83c97
Fix ntfs support 2021-09-10 18:01:52 +02:00
Simon Bruder d46eca0ab0
git: Make aliases agnostic of default branch name 2021-09-06 16:30:14 +02:00
Simon Bruder d840d4c227
neovim: Add binding for LSP code action 2021-09-05 14:46:58 +02:00
Simon Bruder a94fd4d505
ghci: Add Hoogle commands 2021-09-05 00:18:47 +02:00
Simon Bruder aceeb7c35a
ghc: Init
This only adds the configuration, not the packages, because they are
massive.
2021-09-03 20:04:40 +02:00
Simon Bruder a5fde0764d
waybar: Autostart blueman-applet 2021-08-28 16:54:27 +02:00
Simon Bruder 74955039f3
programs: Remove unused programs
They are currently taking up a huge amount of space but I rarely or
never use them.
2021-08-28 11:49:21 +02:00
Simon Bruder 29f0a5017f
programs: Move virt-manager to user profile 2021-08-28 11:24:51 +02:00
Simon Bruder 9aa7d4411f
zsh: Add binding for editing the current command 2021-08-21 22:32:58 +02:00
Simon Bruder 64a682a836
mpd: Disable replaygain
Otherwise heavy clipping occurs when playing opus files without
replaygain tags.
2021-08-21 18:57:08 +02:00
Simon Bruder 9832f10d03
youtube-dl: Add yt-dlp
youtube-dl currently is unbearably slow (double-digit KiB/s).
2021-08-21 18:55:16 +02:00
Simon Bruder aed5d19be3
waybar/mpd: Limit title and artist length 2021-08-19 22:22:08 +02:00
Simon Bruder 54242cc943
btsync: Make compatible with pipewire
pacmd only supports the “real” pulseaudio daemon.
2021-08-10 13:16:04 +02:00
Simon Bruder 2b9bb92757
git: Add grbias alias 2021-08-07 13:29:29 +02:00
Simon Bruder 839fb8e514
games: Add mgba 2021-08-07 00:30:49 +02:00
Simon Bruder 821a352c49
Annotate multiline strings with their language 2021-08-05 13:23:07 +02:00
Simon Bruder e5d82f7087
programs: Remove gscan2pdf
One of its dependencies is currently broken and I don’t use it any more.
2021-08-01 18:47:39 +02:00
Simon Bruder 7b473dad3a
waybar/calendar: Fix number of today’s events
This was broken for multiline descriptions.
2021-07-29 06:31:59 +02:00
Simon Bruder 8b9eb54806
games: Conditionally add emulators
This uses a crude arbitrary number to only install them onto machines
that can actually run them.
2021-07-26 20:44:46 +02:00
Simon Bruder a90fef89c0
zsh/dcauto: Use regualar instead of civil daylight 2021-07-25 20:19:59 +02:00
Simon Bruder 42a83bea7f
mpd/ncmpcpp: Add dynamic color palette support 2021-07-25 14:32:31 +02:00
Simon Bruder 4fc2015ee9
fzf: Get solarized colors from common.nix 2021-07-25 10:16:09 +02:00
Simon Bruder a67ec1b22f
zsh: Automatically set color scheme at init 2021-07-25 08:58:57 +02:00
Simon Bruder aef0baf527
programs: Add dynamic-colors 2021-07-25 08:47:59 +02:00
Simon Bruder 11f7ac50ca
Set geographical location system-wide 2021-07-25 08:36:19 +02:00
Simon Bruder 0c74cdbbdd
neovim: Fix installPhase nix snippet 2021-07-24 19:21:52 +02:00
Simon Bruder 8771faa93c
programs: Add paperwork 2021-07-24 13:03:33 +02:00
Simon Bruder 0b9c9ea047
programs: add dust 2021-07-18 22:54:46 +02:00
Simon Bruder 8dafa364e0
waybar: Fix display when there is no event 2021-07-18 08:38:05 +02:00
Simon Bruder d0900f1cf8
waybar: Add calendar 2021-07-17 16:13:45 +02:00
Simon Bruder faf9a044fd
neovim: Add nix phase snippets 2021-07-17 14:23:32 +02:00
Simon Bruder 00a919d6d7
sway: Reorganise and split into multiple files 2021-07-17 14:10:02 +02:00
Simon Bruder f3d958c1a9
zsh: Remove redundant environment variable declaration
It is already declared in the sway configuration.
2021-07-17 13:55:46 +02:00
Simon Bruder 34badc3638
anki: Reorganise directory layout 2021-07-17 13:46:19 +02:00
Simon Bruder 0d08f9c6db
zsh: Reorganise directory layout 2021-07-17 13:41:15 +02:00
Simon Bruder 4556ec6c73
scripts: Reorganise directory layout 2021-07-17 13:38:32 +02:00
Simon Bruder 80f23f019b
neovim: Reorganise directory layout
This also loads UltiSnips by setting a configuration option instead of
symlinking it to the default location.
2021-07-17 13:31:47 +02:00