Last active
November 6, 2016 03:41
-
-
Save meepoSenpai/2f14e9db75f754b85dea to your computer and use it in GitHub Desktop.
Dotfiles
This file contains 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
*color0: #201d1f | |
*color1: #a0929a | |
*color2: #a0949d | |
*color3: #a0969c | |
*color4: #a0989e | |
*color5: #a0989c | |
*color6: #a0989d | |
*color7: #a09a9e | |
*color8: #888587 | |
*color9: #c8c5c6 | |
*color10: #c8c5c5 | |
*color11: #c8c4c5 | |
*color12: #cccaca | |
*color13: #d9d8d7 | |
*color14: #e0dfde | |
*color15: #e0e0df | |
URxvt.foreground: #e0e0df | |
URxvt.background: #201d1f | |
Xft.antialias: 1 | |
Xft.autohint: true | |
Xft.hinting: 1 | |
Xft.hintstyle: hintslight | |
Xft.dpi: 110 | |
Xft.rgba: rgb | |
!Xft.embolden: false | |
Xft.lcdfilter: lcddefault | |
!---- X Cursor theme { | |
! Xcursor.theme: DMZ-White | |
Xcursor.size: 16 | |
!---- Rofi { | |
rofi.opacity: 60 | |
rofi.width: 50 | |
rofi.lines: 5 | |
rofi.font: Camingo Code 11 | |
!---- Emacs { | |
Emacs*.FontBackend: xft | |
Emacs*.menuBar: off | |
Emacs*.toolBar: -1 | |
Emacs*.verticalScrollBars: off | |
Emacs*.borderWidth: 0 | |
Emacs*.internalBorder: 3 | |
Emacs*menubar.margin: 0 | |
Emacs*shadowThickness: 1 | |
!---- Xmessage, zenburnesque { | |
Xmessage*form.*.shapeStyle: rectangle | |
Xmessage*Scrollbar.width: 4 | |
Xmessage*Scrollbar.borderWidth: 0 | |
! Xmessage*Buttons: Quit | |
! Xmessage*defaultButton: Quit | |
Xmessage*geometry: +20+20 | |
!---- URxvt - General settings { | |
URxvt*fading: 0 | |
URxvt*:borderLess: true | |
URxvt*internalBorder: 7 | |
URxvt*cursorBlink: false | |
URxvt*font: xft:Source Code Pro:pixelsize=17 | |
! URxvt*font: xft:PragmataPro:pixelsize=13 | |
! URxvt*font: xft:PragmataPro:size=11.8 | |
! NOTE letter spacing is specific to pragmata pro here! | |
URxvt.letterSpace: -2 | |
URxvt*jumpScroll: true | |
URxvt*scrollBar: off | |
URxvt*saveLines: 20000 | |
URxvt*scrollWithBuffer: true | |
URxvt*scrollTtyOutput: false | |
URxvt*scrollTtyKeypress: true | |
URxvt*urgentOnBell: true | |
URxvt*visualBell: false | |
URxvt*perl-lib: .config-xmonad/urxvt/perl | |
URxvt*perl-ext-common: clipboard,confirm-paste,url-select,font,searchable-scrollback,selection-popup,keyboard-select,autocomplete-ALL-the-things | |
URxvt*tabbed.autohide: false | |
URxvt*tabbed.tabbar-fg: 10 | |
URxvt*tabbed.tabbar-bg: 0 | |
URxvt*tabbed.tab-fg: 0 | |
URxvt*tabbed.tab-bg: 4 | |
URxvt*tabbed.title-fg: 4 | |
URxvt*tabbed.title-bg: 0 | |
URxvt*tabbed.repoen-on-close: yes | |
URxvt*matcher.button: 1 | |
URxvt.print-pipe: emacspipe | |
URxvt.keysym.C-plus: perl:font:increment | |
URxvt.keysym.C-minus: perl:font:decrement | |
URxvt*searchable-scrollback: M-s | |
URxvt*keysym.M-s: perl:keyboard-select:search | |
URxvt*keysym.M-Escape: perl:keyboard-select:activate | |
URxvt*keysym.M-u: perl:url-select:select_next | |
URxvt*keysym.M-C-slash: perl:aAtt:complete | |
URxvt*keysym.M-question: perl:aAtt:skeleton-complete | |
URxvt*keysym.M-quotedbl: perl:aAtt:undo | |
URxvt*url-select.launcher: www | |
URxvt*url-select.underline: true | |
URxvt*clipboard.autocopy: true | |
URxvt.keysym.H-v: perl:clipboard:paste | |
URxvt*dynamicColors: on | |
!---- URxvt - Scratcpad terminals { | |
scratchpad_smallTerminal*scrollBar: false | |
scratchpad_smallTerminal*perl-ext: tabbedex,-font | |
scratchpad_largeTerminal*scrollBar: false | |
scratchpad_largeTerminal*perl-ext: tabbedex,-font | |
tabbed*perl-ext: tabbedex,-font | |
htop*saveLines: 0 | |
htop*scrollBar: false | |
dstat*internalBorder: 8 | |
dstat*saveLines: 1000 | |
dstat*scrollBar: 8 | |
pamixer*saveLines: 0 | |
pamixer*scrollBar: false | |
ssh_tmux*scrollBar: false | |
ssh_tmux*saveLines: 0 | |
! ssh_tmux.letterSpace: 0 | |
ssh_tmux*font: xft:Anonymous Pro:size=11.8 | |
! ssh_tmux*font: xft:PragmataPro:size=12 | |
ncmpcpp*scrollBar: false | |
ncmpcpp*saveLines: 0 | |
ncmpcpp*font: xft:Anonymous Pro:pixelsize=16 | |
! ncmpcpp*font: xft:PragmataPro:size=12 | |
URxvt.shading: 80 | |
! URxvt*borderColor: #fdf6e3 |
This file contains 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
#! /usr/bin/env python | |
import os | |
try: | |
bat1 = int(open('/sys/class/power_supply/BAT1/capacity', 'r').read()) | |
bat0 = int(open('/sys/class/power_supply/BAT0/capacity', 'r').read()) | |
bat_total = int((bat1 + bat0) / 2) | |
if bat_total > 95: | |
print("\uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf004") | |
elif bat_total > 85: | |
print("\uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf08a") | |
elif bat_total > 75: | |
print("\uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf08a \uf08a") | |
elif bat_total > 65: | |
print("\uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf08a \uf08a \uf08a") | |
elif bat_total > 55: | |
print("\uf004 \uf004 \uf004 \uf004 \uf004 \uf004 \uf08a \uf08a \uf08a \uf08a") | |
elif bat_total > 45: | |
print("\uf004 \uf004 \uf004 \uf004 \uf004 \uf08a \uf08a \uf08a \uf08a \uf08a") | |
elif bat_total > 35: | |
print("\uf004 \uf004 \uf004 \uf004 \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a") | |
elif bat_total > 25: | |
print("\uf004 \uf004 \uf004 \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a") | |
elif bat_total > 15: | |
print("\uf004 \uf004 \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a") | |
elif bat_total > 5: | |
print("\uf004 \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a") | |
else: | |
print("\uf08a \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a \uf08a") | |
except(Exception): | |
bat0 = int(open('/sys/class/power_supply/BAT0/capacity', 'r').read()) | |
print(int(bat0)) | |
This file contains 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
out_to_x no | |
own_window no | |
out_to_console yes | |
background no | |
max_text_width 0 | |
update_interval 3.0 | |
total_run_times 0 | |
short_units on | |
if_up_strictness address | |
use_spacer left | |
override_utf8_locale no | |
cpu_avg_samples 1 | |
TEXT | |
[ | |
{ "full_text" : "${exec batstat.py}", "color" : "\#DC322F", "align" : "center"}, | |
{ "full_text" : "${exec ramstat.py}", "color" : "\#268BD2", "align" : "center"}, | |
{ | |
"full_text" : " ${time %H}:${time %M} ${time %d}. ${time %b} ${time %y}", | |
"color" : "\#93A1A1", | |
"align" : "right", | |
"min_width" : 680} | |
], |
This file contains 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
# Dmenu2 color variables | |
set $red #e67373 | |
set $white #f1edfb | |
set $background #201d1f | |
set $mod Mod4 | |
for_window [class="^.*"] border pixel 1 | |
gaps inner 5 | |
gaps outer 5 | |
font xft:Source Code Pro 12 | |
floating_modifier $mod | |
# bindsym $mod+Return exec i3-sensible-terminal | |
bindsym $mod+Return exec urxvt | |
bindsym $mod+Shift+q kill | |
# You'll need Dmenu2 for this | |
bindsym $mod+d exec dmenu_run -i -y 20 -o 0.9 -l 100 -w 300 -p "$" -nb "$background" -nf "$white" -sb "$background" -sf "$red" | |
bindsym $mod+j focus left | |
bindsym $mod+k focus down | |
bindsym $mod+l focus up | |
bindsym $mod+odiaeresis focus right | |
bindsym $mod+Left focus left | |
bindsym $mod+Down focus down | |
bindsym $mod+Up focus up | |
bindsym $mod+Right focus right | |
bindsym $mod+Shift+j move left | |
bindsym $mod+Shift+k move down | |
bindsym $mod+Shift+l move up | |
bindsym $mod+Shift+odiaeresis move right | |
bindsym $mod+Shift+Left move left | |
bindsym $mod+Shift+Down move down | |
bindsym $mod+Shift+Up move up | |
bindsym $mod+Shift+Right move right | |
bindsym $mod+h split h | |
bindsym $mod+v split v | |
bindsym $mod+f fullscreen | |
bindsym $mod+s layout stacking | |
bindsym $mod+w layout tabbed | |
bindsym $mod+e layout toggle split | |
bindsym $mod+Shift+space floating toggle | |
bindsym $mod+space focus mode_toggle | |
bindsym $mod+a focus parent | |
#bindsym $mod+d focus child | |
# Workspace Label List: | |
bindsym $mod+1 workspace 1 | |
bindsym $mod+2 workspace 2 | |
bindsym $mod+3 workspace 3 | |
bindsym $mod+4 workspace 4 | |
bindsym $mod+5 workspace 5 | |
bindsym $mod+6 workspace 6 | |
bindsym $mod+7 workspace 7 | |
bindsym $mod+8 workspace 8 | |
bindsym $mod+9 workspace 9 | |
bindsym $mod+0 workspace 10 | |
bindsym $mod+Shift+1 move container to workspace 1 | |
bindsym $mod+Shift+2 move container to workspace 2 | |
bindsym $mod+Shift+3 move container to workspace 3 | |
bindsym $mod+Shift+4 move container to workspace 4 | |
bindsym $mod+Shift+5 move container to workspace 5 | |
bindsym $mod+Shift+6 move container to workspace 6 | |
bindsym $mod+Shift+7 move container to workspace 7 | |
bindsym $mod+Shift+8 move container to workspace 8 | |
bindsym $mod+Shift+9 move container to workspace 9 | |
bindsym $mod+Shift+0 move container to workspace 10 | |
# Own Keybinds | |
##################################################################################################### | |
bindsym $mod+p exec i3lock -i /home/ian/Pictures/Wallpapers/random_wallpapers/echomeme1080.png | |
bindsym XF86MonBrightnessDown exec xbacklight -dec 1 | |
bindsym XF86MonBrightnessUp exec xbacklight -inc 1 | |
bindsym Print exec scrot | |
bindsym XF86AudioMute exec /usr/bin/pulseaudio-ctl mute | |
bindsym XF86AudioLowerVolume exec /usr/bin/pulseaudio-ctl down | |
bindsym XF86AudioRaiseVolume exec /usr/bin/pulseaudio-ctl up | |
bindsym XF86AudioMicMute exec /usr/bin/pulseaudio-ctl mute-input | |
bindsym $mod+Shift+minus move scratchpad | |
bindsym $mod+minus scratchpad show | |
bindsym Shift+F11 exec xbacklight -dec 5 | |
bindsym Shift+F12 exec xbacklight -inc 5 | |
##################################################################################################### | |
bindsym $mod+Shift+c reload | |
bindsym $mod+Shift+r restart | |
bindsym $mod+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'" | |
mode "resize" { | |
bindsym j resize shrink width 10 px or 10 ppt | |
bindsym k resize grow height 10 px or 10 ppt | |
bindsym l resize shrink height 10 px or 10 ppt | |
bindsym odiaeresis resize grow width 10 px or 10 ppt | |
bindsym Left resize shrink width 10 px or 10 ppt | |
bindsym Down resize grow height 10 px or 10 ppt | |
bindsym Up resize shrink height 10 px or 10 ppt | |
bindsym Right resize grow width 10 px or 10 ppt | |
bindsym Return mode "default" | |
bindsym Escape mode "default" | |
} | |
bindsym $mod+r mode "resize" | |
bar { | |
position top | |
font xft:Source Code Pro 10 | |
status_command $HOME/.config/conky/init.sh | |
colors{ | |
background #201d1f | |
statusline #201d1f | |
separator #201d1f | |
focused_workspace #292828 #292828 #e0e0df #292828 | |
inactive_workspace #201d1f #201d1f #e0e0df #484e50 | |
active_workspace #201d1f #201d1f #e0e0df #292d2e | |
urgent_workspace #2f343a #e67373 #e0e0df #e67373 | |
} | |
} | |
# class border backgr. text indicator | |
client.focused #201d1f #292828 #201d1f #292828 | |
client.focused_inactive #201d1f #201d1f #201d1f #40403f | |
client.unfocused #201d1f #201d1f #888888 #40403f | |
client.urgent #201d1f #e67373 #201d1f #e67373 | |
exec xrdb ~/.Xresources | |
exec sh ~/.fehbg | |
exec nm-applet | |
exec xcompmgr | |
exec synclient TouchpadOff=1 | |
exec blueman-applet | |
exec mpd | |
exec xmodmap -e 'clear lock' | |
exec setxkbmap -option ctrl:nocaps | |
exec compton --config ~/.compton | |
exec redshift-gtk |
This file contains 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 | |
# Send the header so that i3bar knows we want to use JSON: | |
echo '{"version":1}' | |
# Begin the endless array. | |
echo '[' | |
# We send an empty first array of blocks to make the loop simpler: | |
echo '[],' | |
# Now send blocks with information forever: | |
exec conky -c $HOME/.conkyrc |
This file contains 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
#! /usr/bin/env python3 | |
from psutil import virtual_memory | |
UNUSED_RAM = 100 - virtual_memory()[2] | |
if UNUSED_RAM > 95: | |
print("\uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf111") | |
elif UNUSED_RAM > 85: | |
print("\uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf10c") | |
elif UNUSED_RAM > 75: | |
print("\uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf10c \uf10c") | |
elif UNUSED_RAM > 65: | |
print("\uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf10c \uf10c \uf10c") | |
elif UNUSED_RAM > 55: | |
print("\uf111 \uf111 \uf111 \uf111 \uf111 \uf111 \uf10c \uf10c \uf10c \uf10c") | |
elif UNUSED_RAM > 45: | |
print("\uf111 \uf111 \uf111 \uf111 \uf111 \uf10c \uf10c \uf10c \uf10c \uf10c") | |
elif UNUSED_RAM > 35: | |
print("\uf111 \uf111 \uf111 \uf111 \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c") | |
elif UNUSED_RAM > 25: | |
print("\uf111 \uf111 \uf111 \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c") | |
elif UNUSED_RAM > 15: | |
print("\uf111 \uf111 \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c") | |
elif UNUSED_RAM > 5: | |
print("\uf111 \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c") | |
else: | |
print("\uf10c \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c \uf10c") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment