This guide provides a comprehensive set of instructions for building a local, self-contained Clang toolchain, and then using it to compile and install Hyprland, Waybar, and Hyprlock from source on a fresh Ubuntu 24.04 system. This method uses the system's libstdc++ to ensure ABI compatibility with other applications.
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
@define-color rosewater #f5e0dc; | |
@define-color flamingo #f2cdcd; | |
@define-color pink #f5c2e7; | |
@define-color mauve #cba6f7; | |
@define-color red #f38ba8; | |
@define-color maroon #eba0ac; | |
@define-color peach #fab387; | |
@define-color yellow #f9e2af; | |
@define-color green #a6e3a1; | |
@define-color teal #94e2d5; |
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
unbind r | |
bind r source-file ~/.tmux.conf | |
set -g mouse on | |
set -g renumber-windows on | |
set -g history-limit 10000 | |
set -g automatic-rename on | |
set -g automatic-rename-format '#{pane_current_command}' | |
set -g set-clipboard on |
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/sh | |
# Call this script to change the system volume with visual feedback. e.g.: | |
# ./volume.sh 5%+ | |
# ./volume.sh 1%+ | |
# ./volume.sh 5%+ | |
# ./volume.sh 1%- | |
# In ~/.config/i3/config | |
# bindsym XF86AudioRaiseVolume exec --no-startup-id /home/$USER/.volume.sh 5%+ && $refresh_i3status |
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
cat /dev/urandom | aplay -c 2 -r 384000 -f S32_LE | |
sudo tcpdump -i any -w - | aplay -r 8000 | |
sudo dmesg -w | hexdump -v -e '/1 "%u\n"' | aplay -f U8 -r 8000 | |
sudo cat /dev/input/mice | hexdump -v -e '/1 "%u\n"' | aplay -f U8 -r 8000 | |
sudo dmesg -w | aplay |
Please analyze the file and directory structure of this home directory (~/) to create a new file named AGENT.md.
The purpose of this file is to serve as a quick-reference guide for an AI assistant operating on this machine. The file should be written in Markdown and contain the following sections: