Skip to content

Instantly share code, notes, and snippets.

View george-aidonidis's full-sized avatar

George Aidonidis george-aidonidis

View GitHub Profile
@Biont
Biont / sway-launcher-desktop.sh
Last active November 17, 2024 09:10
sway-launcher-desktop
#!/usr/bin/env bash
# terminal application launcher for sway, using fzf
# Based on: https://gitlab.com/FlyingWombat/my-scripts/blob/master/sway-launcher
shopt -s nullglob
if [[ "$1" == 'describe' ]]; then
shift
if [[ $2 == 'command' ]]; then
title=$1
readarray arr < <(whatis -l "$1" 2>/dev/null)
@mazzma12
mazzma12 / set-gnome-shell-hotkeys.sh
Last active September 26, 2024 15:57
i3 gnome-shell keyboard bindings
# Remove switch to app https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1250
for i in {1..9}; do gsettings set "org.gnome.shell.keybindings" "switch-to-application-$i" "[]"; done
# Necessary even with gnomesome : https://github.com/ChWick/gnomesome
for i in {1..9}; do gsettings set "org.gnome.desktop.wm.keybindings" "switch-to-workspace-$i" "['<super>$i']"; done
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-1 "['<super>1']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-2 "['<super>2']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-3 "['<super>3']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-4 "['<super>4']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-5 "['<super>5']"
@ohanhi
ohanhi / frp.md
Last active May 6, 2024 05:17
Learning FP the hard way: Experiences on the Elm language

Learning FP the hard way: Experiences on the Elm language

by Ossi Hanhinen, @ohanhi

with the support of Futurice 💚.

Licensed under CC BY 4.0.

Editorial note

@iamnewton
iamnewton / bash-colors.md
Last active March 29, 2025 07:38
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple