dotfiles

Cross platform dotfiles for linux, mac and windows

commit 50a811e784bb9cf80ed568947ccdcc4cb71e966e
parent a029f9e8bc129b27171047593628bad418e5c72a
Author: Bharatvaj H <bharatvajph@gmail.com>
Date: Mon, 26 Nov 2018 19:45:43 +0000

Minimalist i3
4 files changed, 32 insertions(+), 65 deletions(-)
M
.Xdefaults
|
46
++++++++++++++++++++++++----------------------
M
.config/i3/config
|
9
++++++---
D
.urxvt/ext/new-window
|
38
--------------------------------------
M
.xinitrc
|
4
++--
diff --git a/.Xdefaults b/.Xdefaults
@@ -29,7 +29,7 @@ URxvt.internalBorder:       6
 URxvt.lineSpace:            0
 
 ! Fonts
-URxvt.font: xft:Fira Mono:pixelsize=11
+URxvt.font: xft:Noto:pixelsize=14
 
 ! Scrollbar
 URxvt.scrollStyle:          rxvt

@@ -42,7 +42,7 @@ URxvt.url-launcher:         firefox
 
 ! Cursor
 URxvt.cursorBlink:          true
-URxvt.cursorUnderline:      false
+URxv.cursorUnderlinurxvtc:      false
 
 ! Pointer
 URxvt.pointerBlank:         true

@@ -50,39 +50,41 @@ URxvt.pointerBlank:         true
 URxvt.keysym.C-N: exec urxvtc
 
 ! special
-*.foreground:   #d0d0d0
-*.background:   rgba:0000/0000/0000/f000
+#*.foreground:   #d0d0d0
+#*.background:   rgba:0000/0000/0000/f000
 *.cursorColor:  #d0d0d0
+URxvt.foreground: #4D4D4C
+URxvt.background: #FFFFFF
 
 ! black
-*.color0:       #000000
-*.color8:       #808080
+URxvt.color0: #EDEDED
+URxvt.color8: #969694
 
 ! red
-*.color1:       #ff0000
-*.color9:       #ff0000
+URxvt.color1: #D7005F
+URxvt.color9: #D7005F
 
 ! green
-*.color2:       #33ff00
-*.color10:      #33ff00
+URxvt.color2: #718C00
+URxvt.color10: #718C00
 
-! yellow
-*.color3:       #ff0099
-*.color11:      #ff0099
+! yellow / orange
+URxvt.color3: #D75F00
+URxvt.color11: #D75F00
 
 ! blue
-*.color4:       #0066ff
-*.color12:      #0066ff
+
+URxvt.color4: #4271AE
+URxvt.color12: #4271AE
 
 ! magenta
-*.color5:       #cc00ff
-*.color13:      #cc00ff
+URxvt.color5: #8959A8
+URxvt.color13: #8959A8
 
 ! cyan
-*.color6:       #00ffff
-*.color14:      #00ffff
+URxvt.color6: #3E999F
+URxvt.color14: #3E999F
 
 ! white
-*.color7:       #d0d0d0
-*.color15:      #ffffff
-
+URxvt.color7: #4D4D4C
+URxvt.color15: #F5F5F5
diff --git a/.config/i3/config b/.config/i3/config
@@ -38,7 +38,7 @@ bindsym $mod+Shift+q kill
 
 # start dmenu (a program launcher)
 bindsym $mod+d exec dmenu_run
-bindsym $mod+n exec surf file:///home/laz3r/.surf/search/index.html
+bindsym $mod+n exec sh ~/.config/i3/dmenu_search.sh
 # 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.

@@ -152,10 +152,13 @@ mode "resize" {
 bindsym $mod+r mode "resize"
 
 client.focused       #f5f5f5 #f5f5f5 #000000 #f5f5f5
-#client.unfocused     #686a66 #686a66 #ffffff #000000
 
 new_window 1pixel
 
 bar {
-        status_command i3status
+    status_command i3status
 }
+
+#force floating for all windows
+for_window [class="[.]*"] floating enable
+for_window [window_role="pop-up"] floating enable
diff --git a/.urxvt/ext/new-window b/.urxvt/ext/new-window
@@ -1,38 +0,0 @@
-#!/usr/bin/env perl
-
-use strict;
-use warnings;
-use Cwd;
-
-# Opening a new window.
-# Fixed version of script from
-# http://lists.schmorp.de/pipermail/rxvt-unicode/2012q3/001609.html
-# by José Romildo Malaquias <malaquias at gmail.com>
-# References: man 3 urxvtperl
-# Debugging:   urxvt --perl-lib ${HOME}/.urxvt -pe new-window
-# Example config: URxvt.keysym.Control-Shift-N: perl:new-window
-
-sub new_window
-{
-    my ($self) = @_;
-    my $ccwd = readlink("/proc/".$self->{child_pid}."/cwd");
-    new urxvt::term $self->env, $urxvt::RXVTNAME, -cd => $ccwd;
-}
-
-sub on_child_start {
-    my ($self,$pid) = @_;
-
-    $self->{child_pid} = $pid;  # keep for later determining our shells
-                                # CWD for relative path names
-    ()
-}
-
-
-sub on_user_command
-{
-    my ($self, $cmd) = @_;
-
-    if ($cmd eq "new-window") {
-        new_window($self);
-    }
-}
diff --git a/.xinitrc b/.xinitrc
@@ -1,3 +1,3 @@
 exec i3 &
-feh --bg-scale .config/bg.png &
-exec compton --blur-background
+exec hsetroot -solid "#000000" &
+exec compton