For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background-color: #06090F !important; | |
color: #c9d1d9 !important; | |
} | |
a { | |
color: #58a6ff; | |
text-decoration: none; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"code":{ | |
"defaultLanguage":"bash", | |
"template":"dark" | |
}, | |
"card":{ | |
"separator":"(?=^##\\s)", | |
"frontBackSeparator":"%", | |
"tagPattern":"^\\[#(.*)\\]" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
😀 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <X11/XKBlib.h> | |
/* Compile this with -lX11 */ | |
int main () | |
{ | |
Display *display; | |
Status status; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/calmwm.h b/calmwm.h | |
index b28b454..0793c92 100644 | |
--- a/calmwm.h | |
+++ b/calmwm.h | |
@@ -78,6 +78,16 @@ size_t strlcpy(char *, const char *, size_t); | |
#define CWM_BIGAMOUNT 0x0010 | |
#define DIRECTIONMASK (CWM_UP | CWM_DOWN | CWM_LEFT | CWM_RIGHT) | |
+#define CWM_TOP_LEFT 0x0001 | |
+#define CWM_BOTTOM_LEFT 0x0002 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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)"') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |