Skip to content

Commit

Permalink
changed to i3blocks, mpd, added misc theming
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjovanovic committed Mar 19, 2015
1 parent 101d11c commit 45a5740
Show file tree
Hide file tree
Showing 162 changed files with 685 additions and 575 deletions.
136 changes: 136 additions & 0 deletions Xresources
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
! Get rid of scrollbar
xterm.scrollBar: false

Xft.antialias: true
Xft.autohint: 0
Xft.hinting: 1
Xft.hintstyle: hintfull
Xft.lcdfilter: lcddefault
Xft.rgba: rgb

!I use two terminals. I know, Im a chump
xterm.url-launcher: /usr/bin/iceweasel -new-tab
xterm.url-select.launcher: /usr/bin/iceweasel -new-tab
xterm.url-select.underline: true

xterm*faceName: Inconsolata LGC
xterm*faceSize: 10
xterm*colorBD: #ffffff
xterm.xftAntialias: true
xterm*bellIsUrgent: true

! Base16 Railscasts
! Scheme: Ryan Bates (http://railscasts.com)
#define base00 #2b2b2b
#define base01 #272935
#define base02 #3a4055
#define base03 #5a647e
#define base04 #d4cfc9
#define base05 #e6e1dc
#define base06 #f4f1ed
#define base07 #f9f7f3
#define base08 #da4939
#define base09 #cc7833
#define base0A #ffc66d
#define base0B #a5c261
#define base0C #519f50
#define base0D #6d9cbe
#define base0E #b6b3eb
#define base0F #bc9458

xterm*foreground: base05
xterm*background: base00
xterm*cursorColor: base05
xterm*color0: base00
xterm*color1: base08
xterm*color2: base0B
xterm*color3: base0A
xterm*color4: base0D
xterm*color5: base0E
xterm*color6: base0C
xterm*color7: base05
xterm*color8: base03
xterm*color9: base08
xterm*color10: base0B
xterm*color11: base0A
xterm*color12: base0D
xterm*color13: base0E
xterm*color14: base0C
xterm*color15: base07
! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt),
! use 'shell' template to set these if necessary
xterm*color16: base09
xterm*color17: base0F
xterm*color18: base01
xterm*color19: base02
xterm*color20: base04
xterm*color21: base06


! URXVT TIME!
! Get rid of scrollbar
URxvt.scrollBar: false

Urxvt.fading:100

URxvt.perl-ext-common: ...,url-select
URxvt.keysym.-u: perl:url-select:select-next
URxvt.url-launcher: /usr/bin/iceweasel -new-tab
URxvt.url-select.launcher: /usr/bin/iceweasel -new-tab
URxvt.url-select.underline: true
*.URxvt.urgentOnBell: True
!URxvt.visualBell: True

URxvt*font: xft:Inconsolata LGC:medium:pixelsize=12
URxvt*boldFont: xft:Inconsolata LGC:bold:pixelsize=12
URxvt*colorBD: #ffffff
URxvt.xftAntialias: true

! Base16 Railscasts
! Scheme: Ryan Bates (http://railscasts.com)
#define base00 #2b2b2b
#define base01 #272935
#define base02 #3a4055
#define base03 #5a647e
#define base04 #d4cfc9
#define base05 #e6e1dc
#define base06 #f4f1ed
#define base07 #f9f7f3
#define base08 #da4939
#define base09 #cc7833
#define base0A #ffc66d
#define base0B #a5c261
#define base0C #519f50
#define base0D #6d9cbe
#define base0E #b6b3eb
#define base0F #bc9458

!URxvt.depth: 32
URxvt*foreground: base05
URxvt*background: base00
URxvt*cursorColor: base05
URxvt*color0: base00
URxvt*color1: base08
URxvt*color2: base0B
URxvt*color3: base0A
URxvt*color4: base0D
URxvt*color5: base0E
URxvt*color6: base0C
URxvt*color7: base05
URxvt*color8: base03
URxvt*color9: base08
URxvt*color10: base0B
URxvt*color11: base0A
URxvt*color12: base0D
URxvt*color13: base0E
URxvt*color14: base0C
URxvt*color15: base07
! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt),
! use 'shell' template to set these if necessary
URxvt*color16: base09
URxvt*color17: base0F
URxvt*color18: base01
URxvt*color19: base02
URxvt*color20: base04
URxvt*color21: base06

87 changes: 56 additions & 31 deletions i3/config
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
# This file has been auto-generated by i3-config-wizard(1).
# This file has beencd auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#

# i3 config file (v4)
#
# i3 config file (v4) #
# Please see http://i3wm.org/docs/userguide.html for a complete reference!

set $mod Mod4

# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. ISO 10646 = Unicode
# Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. ISO 10646 = Unicode
#font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, if you need a lot of unicode glyphs or
# right-to-left text rendering, you should instead use pango for rendering and
# chose a FreeType font, such as:
font pango:Droid Sans Mono 9
font pango:Inconsolata LGC 8

# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
Expand Down Expand Up @@ -96,7 +92,7 @@ set $tag6 "6"
set $tag7 "7"
set $tag8 "8"
set $tag9 "9"
set $tag10 "10"
set $tag10 "kpassx"


# switch to workspace
Expand Down Expand Up @@ -138,10 +134,10 @@ mode "resize" {
# 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 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 semicolon resize grow width 10 px or 10 ppt
bindsym h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt

# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
Expand Down Expand Up @@ -180,15 +176,14 @@ client.urgent #da4939 #da4939 #f9f7f3 #b6b3eb
#Per app settings
for_window [class="Audacious"] floating enable, border none
for_window [class="Audacious" title="Audacious Playlist Editor"] border none
for_window [class="Orage"] floating enable, border none
for_window [class="Gsimplecal"] floating enable, border none


for_window [class="Orage"] floating enable, border none, move absolute position 1403 px 865 p
for_window [class="Seafile-applet"] floating enable, border none
assign [class="Keepassx"] kpassx

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
font pango:Droid Sans Mono, FontAwesome 9
font pango: Inconsolata LGC, FontAwesome 8
status_command i3blocks

colors {
Expand All @@ -203,24 +198,54 @@ colors {
}

#keyboard shortcuts
bindsym $mod+F1 exec firefox
bindsym $mod+F2 exec nemo
bindsym $mod+F3 exec xfce4-terminal -x cmus
bindsym $mod+F4 exec gedit
bindsym $mod+F1 exec iceweasel
bindsym $mod+F2 exec uxterm -e ranger
bindsym $mod+F3 exec urxvt -e ncmpcpp
bindsym $mod+F4 exec urxvt -e mutt
bindsym $mod+F5 exec keepassx
bindsym $mod+F6 exec libreoffice --writer
bindsym $mod+F7 exec ~/src/Zotero_linux-x86_64/zotero
bindsym XF86AudioRaiseVolume exec amixer sset Master 700+ && pkill -SIGRTMIN+10 i3blocks
bindsym XF86AudioLowerVolume exec amixer sset Master 600- && pkill -SIGRTMIN+10 i3blocks
bindsym XF86AudioMute exec amixer sset Master toggle && pkill -SIGRTMIN+10 i3blocks
bindsym XF86Display exec ~/src/nagbar.sh
bindsym $mod+Ctrl+d exec ~/src/nagbar.sh
bindsym $mod+F8 exec nautilus
bindsym Print exec scrot -d 1

#layout switching
bindsym Ctrl+$mod+1 exec --no-startup-id setxkbmap us -variant basic -option caps:escape && pkill -RTMIN+1 i3blocks
bindsym Ctrl+$mod+2 exec --no-startup-id setxkbmap rs -variant latin -option caps:escape && pkill -RTMIN+1 i3blocks
bindsym Ctrl+$mod+3 exec --no-startup-id setxkbmap bg -variant bas_phonetic -option caps:escape && pkill -RTMIN+1 i3blocks
bindsym Ctrl+$mod+4 exec --no-startup-id setxkbmap rs -option caps:escape && pkill -RTMIN+1 i3blocks

# Use these settings for ALSA
bindsym XF86AudioRaiseVolume exec amixer -q sset Master 700+ && pkill -SIGRTMIN+10 i3blocks
bindsym XF86AudioLowerVolume exec amixer -q sset Master 600- && pkill -SIGRTMIN+10 i3blocks
bindsym XF86AudioMute exec amixer -q sset Master toggle && pkill -SIGRTMIN+10 i3blocks

# Use these commands for PulseAudio (sometimes this fucks up, sink is sometimes 0 sometimes 1. why? because pulseaudio just somehow sucks)
#bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 1 -- '+5%' && pkill -SIGRTMIN+10 i3blocks
#bindsym XF86AudioLowerVolume exec pactl set-sink-volume 1 -- '-5%' && pkill -SIGRTMIN+10 i3blocks
#bindsym XF86AudioMute exec pactl set-sink-volume 0 0 && pkill -SIGRTMIN+10 i3blocks

#Thinkpad buttons
#Turn off display
bindsym XF86Display exec xset dpms force off
#Keycombo to turn external displays on/off
bindsym $mod+Ctrl+d exec ~/.i3/displays.sh
#Backlight keys
bindsym XF86MonBrightnessUp exec /usr/bin/xbacklight -inc 4
bindsym XF86MonBrightnessDown exec /usr/bin/xbacklight -dec 4
#i3lock
bindsym XF86ScreenSaver exec i3lock -i ~/.lock.png -t


#this is for the thinkvantage button
#bindsym XF86Launch1 exec

# Startup programs
exec --no-startup-id nm-applet
exec --no-startup-id feh --bg-fill /home/j0vke/.wallpaper.jpg
exec --no-startup-id setxkbmap -layout "us,rs(latin),bg(bas_phonetic)" -option grp:alt_shift_toggle
exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
exec_always --no-startup-id nm-applet
exec --no-startup-id feh --bg-fill ~/.wallpaper.jpg
#exec --no-startup-id setxkbmap -layout "us,rs(latin),bg(bas_phonetic)" -option grp:alt_shift_toggle
exec --no-startup-id synclient TapButton1=1 TapButton2=3 TapButton3=2 HorizTwoFingerScroll=1
exec --no-startup-id setxkbmap -option caps:escape



# vim:filetype=i3
Loading

0 comments on commit 45a5740

Please sign in to comment.