This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -euo pipefail | |
| # Drop in /usr/local/bin/run-in-slice | |
| # | |
| # Requires system to be running systemd and cgroupsv2 | |
| SLICE="$1" | |
| shift |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <vkroots.h> | |
| #include <cstdint> | |
| #include <algorithm> | |
| #include <ranges> | |
| #include <string_view> | |
| #define VK_EXT_FULL_SCREEN_EXTENSION_NAME "VK_EXT_full_screen_exclusive" | |
| #define VK_EXT_FULL_SCREEN_SPEC_VERSION 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # frozen_string_literal: true | |
| source 'https://rubygems.org' | |
| gem 'ruby-dbus' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # frozen_string_literal: true | |
| require 'open3' | |
| class Libinput | |
| Event = Struct.new('Event', :device, :type, :time, :data) | |
| class DeviceEvent < Event | |
| def name | |
| data.first | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/env ruby | |
| # frozen_string_literal: true | |
| require 'bundler/setup' | |
| require 'dbus' | |
| require_relative 'xdg_globalshortcuts' | |
| class MumbleProxy | |
| PTT_SHORTCUT = 'xdg-ptt' |
OlderNewer