Skip to content

Instantly share code, notes, and snippets.

View elumbella's full-sized avatar

Robert Goßmann elumbella

  • Frankfurt DE
View GitHub Profile
Return-Path: <lists@sr.ht>
Delivered-To: robert@gossmann.xyz
Received: from DIR-01 ([10.50.14.191])
by IMAP-30 with LMTP
id SEIgN82IdGBRewAAlCQnSQ
(envelope-from <lists@sr.ht>)
for <robert@gossmann.xyz>; Mon, 12 Apr 2021 13:52:13 -0400
Received: from MTA-01.privateemail.com ([10.50.14.11])
by DIR-01 with LMTP
id QKoBN82IdGCpWAAA6Rt3mQ
#!/usr/bin/env bash
# Very basic interface for pass using wofi
# Get all password files and create an array
root=~/.password-store
CACHE=~/.local/tmp/pass_wofi
list_passwords() {
shopt -s nullglob globstar
cd "${root}" || exit
@elumbella
elumbella / wofi-emoji.sh
Last active January 20, 2021 10:15 — forked from jdonofrio728/wofi-emoji.sh
Wofi emoji picker
#!/usr/bin/env bash
# Source: https://gist.github.com/NearHuscarl/5d366e1a3b788814bcbea62c1f66241d
#
# Use wofi to pick emoji because that's what this
# century is about apparently...
#
# Requirements:
# wofi, wlroots based compositor
#
set $mod Mod4
### input devices ###
input type:keyboard {
xkb_layout eu
#xkb_switch_layout 1
xkb_options grp:win_space_toggle
}
# enable NUMLOCK for external keyboard
input "1:1:AT_Translated_Set_2_keyboard" {
2020-05-05 15:32:52 - [sway/main.c:152] Linux rob-thinkpad 5.6.8-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 29 Apr 2020 16:23:00 +0000 x86_64 GNU/Linux
2020-05-05 15:32:52 - [sway/main.c:168] Contents of /etc/lsb-release:
2020-05-05 15:32:52 - [sway/main.c:152] LSB_VERSION=1.4
2020-05-05 15:32:52 - [sway/main.c:152] DISTRIB_ID=Arch
2020-05-05 15:32:52 - [sway/main.c:152] DISTRIB_RELEASE=rolling
2020-05-05 15:32:52 - [sway/main.c:152] DISTRIB_DESCRIPTION="Arch Linux"
2020-05-05 15:32:52 - [sway/main.c:168] Contents of /etc/os-release:
2020-05-05 15:32:52 - [sway/main.c:152] NAME="Arch Linux"
2020-05-05 15:32:52 - [sway/main.c:152] PRETTY_NAME="Arch Linux"
2020-05-05 15:32:52 - [sway/main.c:152] ID=arch
2020-05-05 15:20:14 - [sway/main.c:152] Linux rob-thinkpad 5.6.8-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 29 Apr 2020 16:23:00 +0000 x86_64 GNU/Linux
2020-05-05 15:20:14 - [sway/main.c:168] Contents of /etc/lsb-release:
2020-05-05 15:20:14 - [sway/main.c:152] LSB_VERSION=1.4
2020-05-05 15:20:14 - [sway/main.c:152] DISTRIB_ID=Arch
2020-05-05 15:20:14 - [sway/main.c:152] DISTRIB_RELEASE=rolling
2020-05-05 15:20:14 - [sway/main.c:152] DISTRIB_DESCRIPTION="Arch Linux"
2020-05-05 15:20:14 - [sway/main.c:168] Contents of /etc/os-release:
2020-05-05 15:20:14 - [sway/main.c:152] NAME="Arch Linux"
2020-05-05 15:20:14 - [sway/main.c:152] PRETTY_NAME="Arch Linux"
2020-05-05 15:20:14 - [sway/main.c:152] ID=arch