Skip to content

Instantly share code, notes, and snippets.

View TaylanTatli's full-sized avatar
👋

Taylan Tatlı TaylanTatli

👋
View GitHub Profile
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* these settings used to be in userchrome.css */
/* Define colors */
:root {
/* tabs */
--theme-bg: #1D2426;
--theme-fg: #8FA388;
@TaylanTatli
TaylanTatli / FirefoxUserStyle.css
Created January 10, 2016 21:30
Firefox Userstyle
/* AGENT_SHEET */
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
#appcontent,
#appcontent > #content,
#appcontent > #content > tabbox > tabpanels {
background: #111111 !important;
}
tabs#tabbrowser-tabs, tabs#tabbrowser-tabs * {
@TaylanTatli
TaylanTatli / callback.c
Last active February 25, 2016 21:57
Pacman Progressbar
/*
* callback.c
*
* Copyright (c) 2006-2016 Pacman Development Team <pacman-dev@archlinux.org>
* Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
$015E Scedilla (Ş)
$015F scedilla (ş)
$00C7 Ccedilla (Ç)
$00E7 ccedilla (ç)
$0130 Idotabove (İ)
$0131 dotlessi (ı)
$011E Gbreve (Ğ)
$011F gbreve (ğ)
$00D6 Odiaeresis (Ö)
$00F6 odiaeresis (ö)

Keybase proof

I hereby claim:

  • I am TaylanTatli on github.
  • I am taylantatli (https://keybase.io/taylantatli) on keybase.
  • I have a public key whose fingerprint is 4BFA E779 661B FA62 8092 9B74 A66A E37D C373 4047

To claim this, I am signing this object:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@-moz-document url(chrome://browser/content/browser.xul),
url(chrome://global/content/customizeToolbar.xul){
/*BLUE*/
#tabview-button .toolbarbutton-icon,
#save-page-button .toolbarbutton-icon,
#developer-button .toolbarbutton-icon,
#preferences-button .toolbarbutton-icon,
#webrtc-status-button .toolbarbutton-icon{
#!/bin/sh
# I have brightness bug with sony vaio, so I have to set my
# brightness manually.
# To run this script without root
# edit your /etc/sudoers file with visudo
# and add this line:
# username ALL=(ALL) NOPASSWD: /usr/bin/tee /sys/class/backlight/nv_backlight/brightness
# change username with your username
# brightness + : brightness up
# brightness - : brightness down
@TaylanTatli
TaylanTatli / weather.sh
Created March 26, 2017 16:48
weather script for polybar
#!/bin/dash
#depends: jq, siji
city="Nazilli"
api_key="39214b9803f123f428d81d0e38c1af9c"
lang="tr"
unit="metric"
api="http://api.openweathermap.org/data/2.5/weather"
url="$api?q=$city&lang=$lang&APPID=$api_key&units=$unit"
weather=$(curl -s $url | jq -r '. | "\(.weather[].main)"')
@TaylanTatli
TaylanTatli / README.md
Created May 5, 2020 19:25 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@TaylanTatli
TaylanTatli / openbox-3.6.2-rounded-corners.patch
Created June 14, 2020 11:16
Openbox Rounded Corners patch
diff --git a/openbox/config.c b/openbox/config.c
index dad5d1bf..a387335c 100644
--- a/openbox/config.c
+++ b/openbox/config.c
@@ -48,6 +48,8 @@ StrutPartial config_margins;
gchar *config_theme;
gboolean config_theme_keepborder;
guint config_theme_window_list_icon_size;
+guint config_theme_cornerradius;
+gboolean config_theme_menuradius;