Skip to content

Instantly share code, notes, and snippets.

@OkayDave
Created August 6, 2014 07:38
Show Gist options
  • Save OkayDave/79e29b30d9cd81c4be33 to your computer and use it in GitHub Desktop.
Save OkayDave/79e29b30d9cd81c4be33 to your computer and use it in GitHub Desktop.
unixporn
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.autohint: false
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
*font: -gohu-gohufont-medium-r-normal--11-80-100-100-c-60-iso10646-1
#*font: -*-envy code r-medium-r-normal-*-17-120-100-*-*-*-iso10646-*
*.foreground: #e6e1dc
*.background: #2b2b2b
*.cursorColor: #e6e1dc
*.color0: #2b2b2b
*.color1: #da4939
*.color2: #a5c261
*.color3: #ffc66d
*.color4: #6d9cbe
*.color5: #b6b3eb
*.color6: #519f50
*.color7: #e6e1dc
*.color8: #5a647e
*.color9: #da4939
*.color10: #a5c261
*.color11: #ffc66d
*.color12: #6d9cbe
*.color13: #b6b3eb
*.color14: #519f50
*.color15: #f9f7f3
urxvt*transparent: true
urxvt*shading: 15
urxvt*scrollBar: false
urxvt*loginShell: true
urxvt*saveLines: 250
urxvt*internalBorder: 12
background no
out_to_console yes
out_to_x no
update_interval 10
total_run_times 0
short_units yes
pad_percents 3
override_utf8_locale yes
# {"full_text": " ", "color": "\#000000"}
TEXT
,[
{"full_text": " ${execi 30 ~/python/btc_balance.py} (£${execi 28000 ~/python/wallet_value.py btc}) ", "color": "\#a5c261"},
{"full_text": " ${execi 60 ~/python/reddit/reddit.py}", "color": "\#ffc66d"},
{"full_text": " ${execi 600 ~/python/weather.py}°C ","color": "\#6d9cbe"},
{"full_text": " ${time %A %d %B} ${time %H:%M} ","color": "\#b6b3eb"}
]
#See
background no
out_to_console yes
out_to_x no
update_interval 1
total_run_times 0
short_units yes
pad_percents 3
override_utf8_locale yes
TEXT
,[
{"full_text": " ↑ ${uptime} ","color": "\#da4939"},
{"full_text": " CPU: [${cpu cpu1}% ${cpu cpu2}% ${cpu cpu3}% ${cpu cpu4}%] RAM: [$mem/$memmax]", "color":"\#a5c261"},
{"full_text": " ${time %A %d %B} ${time %H:%M:%S} ","color": "\#ffc66d"}
]
#See
echo "{\"version\":1}"
echo "[[]"
conky -c ~/.config/i3/bar_$1.conf
.nH {
background-color: #2b2b2b;
color: #e6e1dc;
/*border-right: 1px solid #1b1b1b;*/
}
/* top google nav bar */
.nH.w-asV.aiw, .zw, .aKl {
display: none;
}
/* filler bits around the separators*/
.aeJ, .aKm {
background: none !important;
}
/* the bit of filler between the separators and the contents table*/
aKh.aPb {
height: auto !important;
}
/* main inbox table */
table.F.cf.zt {
border: 2px solid #1b1b1b;
}
table.F.cf.zt tbody tr td {
border-color: #1b1b1b !important;
}
table.F.cf.zt tbody tr:nth-child(even)
{
background-color: #2b2b2b !important;
color: #e6e1dc;
}
table.F.cf.zt tbody tr:nth-child(odd)
{
background-color: #3b3b3b !important;
color: #e6e1dc;
}
/* selected item on inbox list */
.nZ .nU, .nZ .n0 {
color: #e6e1dc !important;
font-weight: bold;
}
/* inbox list */
.TO .n0 {
color: #CCC !important;
}
.TO .n0.aBU {
font-weight: bold !important;
color: #da4939 !important;
}
.TO.NQ {
background-color: #3b3b3b !important;
}
/* unread email sender */
span.zF {
color: #ffc66d;
font-weight: bold;
}
.J-KU-Jg-K9.aAA .aAy {
background-color: #3d3d3d;
}
.J-KU-KO {
background-color: #2b2b2b !important;
}
.J-KU-KO .aKz {
font-weight: bold;
}
.J-KU {
background-color: #3b3b3b !important;
}
.aKz {
color: #6d9cbe;
}
/* that little dash to the left of the selected inbox list item */
.ain {
border-left: 4px solid #da4939 !important;
}
/* COMPOSE button */
.T-I-KE {
background-color: #da4939 !important;
background-image: none;
color: #e6e1dc;
font-weight: bold;
}
/* email background */
.iY .Bu {
background: none;
}
/* click here box */
.dF .dG, .nr, .Ar {
border: 1px solid #1b1b1b;
color: #e6e1dc;
background-color: #3D3D3D;
}
/* email subject */
.ha {
color: #e6e1dc;
}
/* email sender + other small details */
span.e, .gD, .h0, .iY .md, .iY .l3, .iY .l6, .iY .l9, .iY .ma, .iY .l8, .iY .mb, .anQ, .hx .gH, .z .Di .Dj {
color: #ffc66d;
}
/* links in email body */
.a3s a {
color: #6d9cbe !important;
}
/* print + other action icons */
.SD, .am7 {
background-color: #AdAdAd !important;
}
/* big action buttons */
.TI .T-I-ax7, .z0 .T-I-ax7, .G-atb .T-I-ax7, .T-I-ax7, .Yo .z-b-G, .Lo .vo>button {
background-image: none !important;
background-color: #AdAdAd !important;
}
/* reply box */
td.GQ
{
border: 1px solid #1b1b1b;
color: #e6e1dc;
background-color: #3D3D3D;
}
td.GQ *
{
background-color: #3d3d3d !important;
color: #e6e1dc !important;
}
/* send button */
.T-I-atl {
background-color: #da4939 !important;
background-image: none;
color: #e6e1dc;
font-weight: bold;
}
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
#
# This config file uses keycodes (bindsym) and was written for the QWERTY
# layout.
#
# To get a config file with the same key positions, but for your current
# layout, use the i3-config-wizard
#
new_window pixel 1
# $i3-theme-window
# tango dark
set $darkblue #204A87
set $darkbrown #8F5902
set $darkgreen #4E9A06
set $darkmagenta #5C3566
set $darkred #A40000
set $darkyellow #C4A000
set $darkorange #CE5C00
# tango light
set $lightblue #729FCF
set $lightbrown #E9B96E
set $lightgreen #8AE234
set $lightmagenta #AD7FA8
set $lightred #EF2929
set $lightyellow #FCE94F
set $lightorange #FCAF3E
# tango normal
set $blue #3465A4
set $brown #C17D11
set $green #73D216
set $magenta #75507B
set $red #CC0000
set $yellow #EDD400
set $orange #F57900
# tango mono
set $black #555753
set $grey #BABDB6
set $white #EEEEEC
set $darkblack #2E3436
set $darkgrey #888A85
set $darkwhite #D3D7CF
# $i3-background
exec_always --no-startup-id xsetroot -solid '#2E3436'
# tango <clientclass> <border> <backg> <text> <indicator>
client.focused $blue $darkblue $white $blue
client.focused_inactive $darkgrey $black $grey $darkgrey
client.unfocused $black $darkblack $grey $darkgrey
client.urgent $lightred $red $white $lightred
font -gohu-gohufont-medium-r-normal--11-80-100-100-c-60-iso10646-1
hide_edge_borders both
# use Mouse+Mod4 to drag floating windows to their wanted position
floating_modifier Mod4
# start a terminal
bindsym Mod4+Return exec urxvt
# kill focused window
bindsym Mod4+Shift+q kill
# start dmenu (a program launcher)
#bindsym Mod4+space exec dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
bindsym Mod4+space exec --no-startup-id dmenu_run
bindsym Mod4+Shift+d exec --no-startup-id "~/python/wallpaper.py"
# alternatively, you can use the cursor keys:
bindsym Mod4+Left focus left
bindsym Mod4+Down focus down
bindsym Mod4+Up focus up
bindsym Mod4+Right focus right
# alternatively, you can use the cursor keys:
bindsym Mod4+Shift+Left move left
bindsym Mod4+Shift+Down move down
bindsym Mod4+Shift+Up move up
bindsym Mod4+Shift+Right move right
# split in horizontal orientation
bindsym Mod4+h split h
# split in vertical orientation
bindsym Mod4+v split v
bindsym Mod4+n exec --no-startup-id "chromium --app=http://noisli.com"
# enter fullscreen mode for the focused container
# bindsym Mod4+f fullscreen
# change container layout (stacked, tabbed, toggle split)
#bindsym Mod4+s layout stacking
#bindsym Mod4+w layout tabbed
#bindsym Mod4+e layout toggle split
# toggle tiling / floating
#bindsym Mod4+Shift+space floating toggle
# change focus between tiling / floating windows
#bindsym Mod4+space focus mode_toggle
# focus the parent container
bindsym Mod4+a focus parent
# focus the child container
#bindsym Mod4+d focus child
# move the currently focused window to the scratchpad
bindsym Mod4+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym Mod4+minus scratchpad show
# switch to workspace
bindsym Mod4+1 workspace 1: code
bindsym Mod4+2 workspace 2: wallets
bindsym Mod4+3 workspace 3: email
bindsym Mod4+4 workspace 4: web
bindsym Mod4+5 workspace 5: music
bindsym Mod4+6 workspace 6
bindsym Mod4+7 workspace 7
bindsym Mod4+8 workspace 8
bindsym Mod4+9 workspace 9
bindsym Mod4+0 workspace 10
# move focused container to workspace
bindsym Mod4+Shift+1 move container to workspace 1: code
bindsym Mod4+Shift+2 move container to workspace 2: wallets
bindsym Mod4+Shift+3 move container to workspace 3: email
bindsym Mod4+Shift+4 move container to workspace 4: web
bindsym Mod4+Shift+5 move container to workspace 5: music
bindsym Mod4+Shift+6 move container to workspace 6
bindsym Mod4+Shift+7 move container to workspace 7
bindsym Mod4+Shift+8 move container to workspace 8
bindsym Mod4+Shift+9 move container to workspace 9
bindsym Mod4+Shift+0 move container to workspace 10
workspace "1: code" output HDMI-0
workspace "2: wallets" output DVI-I-1
workspace "3: email" output DVI-I-1
workspace "4: web" output DVI-I-1
workspace "5: music" output HDMI-0
# reload the configuration file
bindsym Mod4+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym Mod4+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym Mod4+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
bindsym Left resize shrink width 3 px or 3 ppt
bindsym Down resize grow height 3 px or 3 ppt
bindsym Up resize shrink height 3 px or 3 ppt
bindsym Right resize grow width 3 px or 3 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym Mod4+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
output HDMI-0
position bottom
status_command "~/.config/i3/conky right"
colors {
# tango <workclass> <border> <backg> <text>
focused_workspace $blue $darkblue $white
active_workspace $grey $darkgrey $grey
inactive_workspace $black $darkblack $grey
urgent_workspace $red $darkred $white
background #222222
separator #444444
statusline $darkgrey
}
}
bar {
output DVI-I-1
tray_output DVI-I-1
status_command "~/.config/i3/conky left"
position bottom
colors {
# tango <workclass> <border> <backg> <text>
focused_workspace $blue $darkblue $white
active_workspace $grey $darkgrey $grey
inactive_workspace $black $darkblack $grey
urgent_workspace $red $darkred $white
background #222222
separator #444444
statusline $darkgrey
}
}
exec --no-startup-id ~/.config/i3/autostart.sh
body
{
background-color: #2b2b2b !important;
}
@media (max-width: 400px) {
.ui-slider {
display: block !important;
}
}
.ui-slider, .ui-slider-range {
background-color: rgba(255, 255, 255, 0.05);
}
.ui-slider-handle {
background-color: rgba(200,200,200, 0.5);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment