gamma

joined 1 year ago
MODERATOR OF
[–] gamma@programming.dev 2 points 1 year ago

awk for the modern age

[–] gamma@programming.dev 13 points 1 year ago (2 children)

Valve should get on this for gamescope, imagine Steam Deck doing a system update without closing your game.

[–] gamma@programming.dev 1 points 1 year ago

I've heard that this is what is causing SteamOS 3.5 to take so long.

[–] gamma@programming.dev 12 points 1 year ago (9 children)

It requires a phone number to log in. That already kills any hope for anonymity. I use it to message family and close friends, of which the fact that I'm messaging them is not surprising.

[–] gamma@programming.dev 0 points 1 year ago

I run my Nextcloud behind Tailscale, and Caddy handles theTailscale https certs.

[–] gamma@programming.dev 2 points 1 year ago (1 children)

xkb has been split off from Xorg, all Wayland compositors (that I know of) use it for mapping.

[–] gamma@programming.dev 6 points 1 year ago

I think this is a good default.

An impossible dream of mine would be to check a list of devices with haptic touchpads, and disable tap-to-click on those.

[–] gamma@programming.dev 3 points 1 year ago (1 children)

Yep, I'm finding about half of my Reddit usage satisfied. I've got all the technical talk I want, but no gaming or writing communities.

[–] gamma@programming.dev 2 points 1 year ago* (last edited 1 year ago)

I look forward to the day that Synapse is deprecated in favor of Dendrite or Conduit.

[–] gamma@programming.dev 9 points 1 year ago* (last edited 1 year ago)

I'm pretty sure both are possible in xkb. But you'll have to learn how to get a custom xkb_keymap into your DE of choice. I only learned enough to do one mapping:

xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)" };
	xkb_types     { include "complete" };
	xkb_compat    { include "complete" };
	xkb_symbols   {
		include "pc+us+inet(evdev)"
		key  {
			type= "TWO_LEVEL",
			symbols[Group1] = [  Multi_key,                Caps_Lock ],
			actions[Group1] = [ NoAction(), LockMods(modifiers=Lock) ]
		};
		key  {[ Escape ]};
	};
	xkb_geometry  { include "pc(pc105)" };
};

This remaps Capslock to Escape, Escape to Compose, and Shift+Escape to Capslock. Not what you want, but hopefully this will give you a starting point to playing/breaking xkb.

Another benefit of doing this with xkb: it's now a separate codebase from X.org, and is used in every Wayland compositor I know of.

[–] gamma@programming.dev 4 points 1 year ago

I learned Fish by helping someone else in a chat. There's a lot of cool things, and I think it's an excellent shell. Fish is an excellent choice for a shell.

Zsh is a much more featureful language (with globbing/subscript/PE flags, native floating point arithmetic, the whole man zshmodules), which doesn't necessarily make it a better shell. But I like those features, and I find it to be a natural choice to write more complex programs which normally would be a code smell for Bash.

The plugin ecosystem for is much larger than Fish's as well.

view more: ‹ prev next ›