Peter Cai
9fd2fb5f0f
wezterm: Update color scheme name
1 week ago
Peter Cai
2fa362cb3f
sway: dual_monitor: Add key binding to move entire workspaces to
...
secondary
2 months ago
Peter Cai
d0049cd981
sway: Enable parrotd only on AC power
3 months ago
Peter Cai
30f2b88b9e
bash: Allow the default tty which should start sway to be customized per machine
3 months ago
Peter Cai
651fc8ed66
sway: Configure swaylock ring colors in better detail
3 months ago
Peter Cai
fcc18b4859
sway: Add bindings for audio volume control based on WirePlumber
3 months ago
Peter Cai
4b0e5c04ee
sway: Restart kanshi on reload
3 months ago
Peter Cai
68e7eac999
sway: Fine-tune the vignette effect
3 months ago
Peter Cai
b24dab1098
sway: Increase pixelation radius
3 months ago
Peter Cai
00eaed8a26
sway: Enable more fancy effects such as fade in on swaylock
...
...because I just fixed them for swaylock-effects
3 months ago
Peter Cai
aa37246fdd
sway: Switch to my fork of swaylock-effects
3 months ago
Peter Cai
4f312a1042
sway: Add flags for electron apps on Wayland
3 months ago
Peter Cai
7ef923c231
sway: Add chromium-flags for Wayland support (w/ IME)
3 months ago
Peter Cai
bee621e0a7
app_containers: Don't perform privileged operations in cleanup
3 months ago
Peter Cai
bc418c3776
app_container: Expand TODO
3 months ago
Peter Cai
a631fae406
app_containers: Add TODO about DBus in userns
3 months ago
Peter Cai
1afb772f71
app_containers: Kill all previously running instances
...
Because things like dbus can be broken inside.
3 months ago
Peter Cai
edcfaef386
app_containers: Move to using CONTAINER_BIND_MOUNTS for extra binds
...
...instead of the overly generic SYSTEMD_NSPAWN_EXTRA_ARGS variable.
3 months ago
Peter Cai
19f37e343b
app_containers: Rename the cleanup routine to cleanup()
...
exit is actually a keyword in bash
3 months ago
Peter Cai
8ce1f690b7
app_containers: Force the use of SUDO_ASKPASS
3 months ago
Peter Cai
edddafda26
app_containers: Grant input devices access to inside the container
3 months ago
Peter Cai
da9414d4a8
app_containers: Properly support different UID on host / in container
...
We simply use the same logic as the user namespaced case.
3 months ago
Peter Cai
fd3fcf1e36
app_containers: Detect the user home directory dynamically
...
...so that we can stop assuming the username inside the container
(although the shortcut generation script still does, but we'll fix that
later, hopefully)
3 months ago
Peter Cai
8aa252305d
app_containers: Define SUDO_ASKPASS first
3 months ago
Peter Cai
fab54bfafa
app_containers: Use UID instead of username for $run_as
...
Note that we still assume the user name inside the container is `user`.
3 months ago
Peter Cai
fc6ee67cf2
app_containers: Optionally support user namespaces
...
using the env variable CONTAINER_USE_USERNS
3 months ago
Peter Cai
062d08778e
app_containers: pulse socket is not in $container_xdg_runtime
...
:D
3 months ago
Peter Cai
4c18c58c6d
app_containers: Handle pulse native socket properly
3 months ago
Peter Cai
fad120e4af
app_containers: Enable userns with identity mapping by default
3 months ago
Peter Cai
440a00ce16
app_containers: Add support for icon generation in pixmaps
3 months ago
Peter Cai
ec63e2303a
restic-backup: Exclude caches
3 months ago
Peter Cai
e7d024f68a
bash: Add shorthands to mount client-side encrypted NAS directories
3 months ago
Peter Cai
12683853e5
Add scripts for backing up to NAS based on restic
3 months ago
Peter Cai
5e5e489d85
bashrc: Add utility function to clamp maximum length of file name
...
This is useful when synchronizing to an Rclone encrypted remote
3 months ago
Peter Cai
a6561ba279
sway: Add saner dual monitor configuration
...
Use a second set of workspaces prefixed with 'F' on secondary monitor
3 months ago
Peter Cai
ea876c8a76
app_containers: Support generation of shortcuts from ~/.local/share
3 months ago
Peter Cai
ccde40e865
app_containers: Explain GDK_SCALE
3 months ago
Peter Cai
a172660bcf
app_containers: Set XDG_SESSION_TYPE instead
3 months ago
Peter Cai
195b685148
app_containers: Launch QT programs inside containers under Wayland
3 months ago
Peter Cai
fcdacc1ff6
sway: check in kdeglobals config
...
the color scheme for KDE apps must be configured in kdeglobals. Let's
just check it in.
Note that the color scheme is simply appended to kdeglobals. This is
probably not exactly a valid config for KDE itself, but it works fine
for KDE apps.
3 months ago
Peter Cai
58a207c66c
app_containers: Add default hacks for Proton
...
Need to disable futex for Proton to avoid dead locks (for some reason).
3 months ago
Peter Cai
d8d634e45c
app_containers: Disable /dev/shm mount
...
We have disabled the MIT-SHM extension entirely.
3 months ago
Peter Cai
2e6e29ed34
app_containers: Set DeviceAllow properly
...
/dev/dri and /dev/shm are NOT devices.
3 months ago
Peter Cai
c64e51a244
sway/bashrc: Disable MIT-SHM extension for Xwayland
...
MIT-SHM does not work well inside containers like systemd-nspawn
3 months ago
Peter Cai
0d9d4b363e
app_containers: Bind Xorg sockets as rw
3 months ago
Peter Cai
2fbffcda50
app_containers: Add automatic shortcut generation
3 months ago
Peter Cai
529f6e358c
app_containers: Bind the entire /dev/dri subdirectory
3 months ago
Peter Cai
79aeb5321f
app_containers: Support per-container config
...
We don't use the .nspawn files because they live in /etc...
3 months ago
Peter Cai
fc08c1002a
app_containers: Use askpass_bemenu to invoke sudo
...
This makes it work in GUI mode
3 months ago
Peter Cai
39a6b458a2
Add askpass-bemenu
3 months ago