Skip to content

Instantly share code, notes, and snippets.

View TaylanTatli's full-sized avatar
👋

Taylan Tatlı TaylanTatli

👋
View GitHub Profile
@TaylanTatli
TaylanTatli / autostart
Last active September 3, 2020 22:19
HerbstluftWM Lemonbar Panel
#!/usr/bin/env bash
# this is a simple config for herbstluftwm
hc() {
herbstclient "$@"
}
hc emit_hook reload
@TaylanTatli
TaylanTatli / check-capslock-status-linux.cpp
Created January 7, 2021 00:27 — forked from eromatiya/check-capslock-status-linux.cpp
Check CapsLock Status Programatically in Linux
#include <stdio.h>
#include <stdlib.h>
#include <X11/XKBlib.h>
/* Compile this with -lX11 */
int main ()
{
Display *display;
Status status;
@TaylanTatli
TaylanTatli / emojis
Created January 26, 2021 23:59
Emoji List for Rofi
😀 Grinning Face
😃 Grinning Face with Big Eyes
😄 Grinning Face with Smiling Eyes
😁 Beaming Face with Smiling Eyes
😆 Grinning Squinting Face
😅 Grinning Face with Sweat
🤣 Rolling on the Floor Laughing
😂 Face with Tears of Joy
🙂 Slightly Smiling Face
@TaylanTatli
TaylanTatli / my-settings.json
Last active January 29, 2021 21:54
mdanki user settings
{
"code":{
"defaultLanguage":"bash",
"template":"dark"
},
"card":{
"separator":"(?=^##\\s)",
"frontBackSeparator":"%",
"tagPattern":"^\\[#(.*)\\]"
},
@TaylanTatli
TaylanTatli / github_topics_dark.css
Last active February 7, 2021 16:40
Github Topics Dark Mode Userstyle
body {
background-color: #06090F !important;
color: #c9d1d9 !important;
}
a {
color: #58a6ff;
text-decoration: none;
}
@TaylanTatli
TaylanTatli / riot.sh
Created February 10, 2021 21:32 — forked from jzbor/riot.sh
Simple script to provide rio-like drawing functionallity for any X-WM (only works if the window is already floating)
#!/bin/sh
#
# Author: jzbor
# Dependencies: xdo, xwininfo (optional), xdg-xmenu (optional), xmenu (optional
#
# Usage:
# riot.sh
# riot.sh xterm
# riot.sh --focused
# riot.sh --select
//usr/bin/gcc -IX11 -lX11 -Ifontconfig -lfontconfig cfetch.c -o cfetch -Os; exec ./cfetch
/*-------------*\
/ | FLEXFETCH | \
\ | 1.0.0.1 | /
\*-------------*/
/*
CHANGELOG
@TaylanTatli
TaylanTatli / release.sh
Created February 26, 2021 00:12 — forked from devster/release.sh
Relase git tag script
#!/bin/bash
# Script to simplify the release flow.
# 1) Fetch the current release version
# 2) Increase the version (major, minor, patch)
# 3) Add a new git tag
# 4) Push the tag
# Parse command line options.
while getopts ":Mmpd" Option
@TaylanTatli
TaylanTatli / custom.css
Created March 20, 2021 22:44
Custom CSS for RSSPreview Firefox Extension
html {
background-color: #2b2b2b;
}
a {
color: #FFB300;
text-decoration: none;
}
#feedTitleText {
font-size: 2.5em;
}
From 2676df8cc2c00fedc6deca4b4ea69f051fc3c85c Mon Sep 17 00:00:00 2001
From: tatou-tatou <tatou-tatou@users.noreply.github.com>
Date: Sun, 1 Jun 2014 20:04:52 +0200
Subject: [PATCH 1/3] Removed active glow/shadow thingy
---
lib/DockRenderer.vala | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/DockRenderer.vala b/lib/DockRenderer.vala