Skip to content

Instantly share code, notes, and snippets.

@pyratin
pyratin / .screensaver
Created January 9, 2026 07:57
.screensaver
#!/bin/bash
xfce4-screensaver-command --lock
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
git clone https://github.com/Aloxaf/fzf-tab ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab
@pyratin
pyratin / .config-alacritty-alacritty.toml
Last active November 1, 2025 07:18
.config/alacritty/alacritty.toml
[window]
dynamic_padding = true
dimensions = { columns = 96, lines = 54 }
[env]
TERM = "xterm-256color"
[selection]
save_to_clipboard = true
@pyratin
pyratin / .terminal.sh
Last active September 13, 2025 06:18
#!/bin/bash
xdotool windowactivate `xdotool search --desktop 0 --class "alacritty"`
#!/bin/bash
xdotool windowactivate `xdotool search --desktop 0 --class "chromium"`
#!/bin/bash
[ $(xfconf-query -c accessibility -p /MouseKeys) == "false" ] \
&& $(xfconf-query -c accessibility -p /MouseKeys -s true) \
|| $(xfconf-query -c accessibility -p /MouseKeys -s false)
@pyratin
pyratin / .zshrc
Last active January 9, 2026 08:03
.zshrc
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
fast-syntax-highlighting
fzf-tab
)
setopt nosharehistory
@pyratin
pyratin / .tmux.conf
Last active January 9, 2026 08:04
.tmux.conf
# Tmux settings
# Set XTerm key bindings
setw -g xterm-keys on
# Count sessions start at 1
set -g base-index 1
# Use vim bindings
setw -g mode-keys vi
@pyratin
pyratin / .vimrc
Last active September 13, 2025 06:21
.vimrc
set nocompatible
filetype off
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-obsession'
Plug 'scrooloose/nerdcommenter'