Skip to content

Instantly share code, notes, and snippets.

View Kritiqual's full-sized avatar
🐧
I use Arch btw

Kritiqual

🐧
I use Arch btw
View GitHub Profile
 ================== =============== 
       
||   __/\__  ||   CYBERDECK   ||
||  \####/  ||   ||
|| __/\__/####\__/\__ || OS: Arch Linux  ||
|| \################/ || WM: Awesome   ||
|| /################\ || Comp:[0
@gsuuon
gsuuon / colors.lua
Last active July 10, 2024 21:21
My styled wezterm config - just the relevant bits
local wezterm = require 'wezterm'
local color_default_fg_light = wezterm.color.parse("#cacaca") -- 💩
local color_default_fg_dark = wezterm.color.parse("#303030")
return {
VERIDIAN = {
bg = wezterm.color.parse("#4D8060"),
fg = color_default_fg_light
},
############################
# ░▀█▀░█▄█░█░█░█░█░█▀▄░█▀▀ #
# ░░█░░█░█░█░█░▄▀▄░█▀▄░█░░ #
# ░░▀░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀ #
############################
#Basics & Prefix keys
unbind C-b
set -g prefix C-a
@SkyyySi
SkyyySi / sideways_wibar.md
Last active March 14, 2022 21:01
Create a sideways wibar in awesome window manager

Create a sideways wibar in awesome wm

Description

The wibar of the awesome window manager is extremely flexible and can do many things that are hard to do with other panels at best, that ususally end up being janky anyway, and sometimes just are not possible outright. One of these things is to move the panel to the side of the screen and have everything behave correctly. In the following, I am going to show you how you can create a panel attactched to the right side of each of your connected screens.

@zoomlogo
zoomlogo / init.lua
Last active March 21, 2022 13:14
my neovim lua config
-- vim settings
vim.cmd([[
set guifont=Iosevka\ Kalki,agave\ NF\ r:h13
]])
vim.o.expandtab = true
vim.o.tabstop = 4
vim.o.shiftwidth = 4
vim.o.number = true
@jkcdarunday
jkcdarunday / switch-audio.sh
Last active April 2, 2024 07:24
A shell script that switches to the next available Pulseaudio/Pipewire Pulse output device/sink
#!/bin/bash
# Author: Jan Keith Darunday <[email protected]>
# Description: A shell script that switches to the next available Pulseaudio output device/sink
# Note: This uses pactl instead of pacmd since pacmd is not available in pipewire
function get_current_sink() {
pactl info | sed -En 's/Default Sink: (.*)/\1/p'
}
SINKS=$(pactl list short sinks | grep -v easyeffects)
@prkstaff
prkstaff / init.vim
Last active October 26, 2022 20:37
My Init.vim
" close buffer without closing window using leader q
map <leader>q :bp<bar>sp<bar>bn<bar>bd<CR>
" nice indent for yaml files:
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
"
" nice indent for html files:
autocmd FileType html setlocal ts=2 sts=2 sw=2 expandtab
" spell checks
{
"suggest.noselect": false,
"coc.preferences.formatOnSaveFiletypes": [
"javascript",
"typescript",
"typescriptreact",
"json",
"javascriptreact",
"typescript.tsx",
"graphql"
" Specify a directory for plugins
call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'scrooloose/nerdtree'
"Plug 'tsony-tsonev/nerdtree-git-plugin'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'ryanoasis/vim-devicons'
Plug 'airblade/vim-gitgutter'
@dianjuar
dianjuar / i3-shortcuts-screenshot.md
Last active October 31, 2024 10:44
My i3 shortcuts to take screenshots

Requirements

  • maim
  • xclip

Set-up

Set this on your i3 config file ~/.i3/config

# Screenshots