guest@dotshare [~/groups/wms/i3] $ ls boring/ | cat

boring (scrot, raw, dl) (+1 likes)

dkeg Mar 26, 2013 (wms/i3)

SCROT

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
## i3 dkeg 2013 ##

#set $mod Mod4
set $MOD MOD1

# SET MODE SWITCH
#set Mode_switch $MOD5

#default, floating, tabbed
#new container floating 

# TOGGLE FLOATING / TILING
bindsym $MOD+SHIFT+t floating toggle

# new window default border
new_window 1pixel
#new_window pixel 2
new_float 1pixel
#new_float pixel 2 

# HIDE EDGE BORDERS
#hide_edge_borders <none|vertical|horizontal|both>
#hide_edge_borders both 

# font for window titles. ISO 10646 = Unicode
font -misc-fixed-medium-c-normal--12-120-75-75-C-70-iso10646-1

# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod

# start a terminal
#bindsym $mod+Return exec i3-sensible-terminal

# Back and Forth
workspace_auto_back_and_forth yes

# kill focused window
bindsym $mod+Shift+Q kill

# start dmenu (a program launcher)
bindsym $mod+p exec dmenu_run -b -nb '#111111' -nf '#555555' -sb '#111111' -sf '#7d7875'
#bindsym $mod+d exec dmenu_run -fn 'pango:Source Code Pro:pixelsize=7' -nb '#1a1a1a' -nf '#9ac0cd' -sb '#1a1a1a' -sf '#7d7875' -p 'picklist >> '

# CHANGING BORDER STYLE
bindsym $mod+t border normal
bindsym $mod+y border 1pixel
bindsym $mod+u border none

# BORDERLESS CONTAINER
#i3-msg border none 

# browser pop-ups
for_window [window_role="pop-up"] floating enable,move absolute center

# ASSIGN WORKSPACE VARIABLES
set $WS1 [ term ]
set $WS2 [ web ]
set $WS3 [ code ]
set $WS4 [ chat ]
set $WS5 [ misc ]

# WINDOW CONTROL 
#for_window [class="[.]*"] floating enable #SET ALL WINDOWS AS FLOAT
assign [class="sublime-text-2"] $WS3
for_window [class="sublime-text-2"] border 1pixel
for_window [class="Gnome-mplayer"] floating enable
assign [class="Chromium"] $WS2
for_window [class="Chromium"] border 1pixel
assign [class="Iceweasel"] $WS2
for_window [class="Iceweasel"] border 1pixel
for_window [title="Browser"] floating enable
for_window [title="Download"] floating enable
assign [class="Iceape"] $WS2
for_window [class="Iceape"] border 1pixel
for_window [class="Nitrogen"] floating enable
for_window [class="Lxappearance"] floating enable
for_window [title="Xfce-notifyd"] floating enable
#for_window [class="URxvt"] floating enable 
for_window [class="URxvt"] border 1pixel 
#none 
#for_window [class="Thunar"] floating enable move down 85px 
#right 329px,move down 85px
for_window [class="Leafpad"] floating enable
#for_window [class="Mousepad"] floating enable move up 213px
#right 329px,move up 213px
assign [class="Pidgin"] $WS4
for_window [class="Pidgin"] floating enable

bindsym $MOD+Tab focus right

# SCRATCHPAD CREATE
bindsym $MOD+SHIFT+plus move scratchpad

# SCRATCHPAD SHOW
bindsym $MOD+plus scratchpad show

# HANDLE POPUPS
#popup_during_fullscreen smart

# change focus
bindsym $mod+h focus left
#bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right

# move focused window
bindsym $mod+Shift+H move left
bindsym $mod+Shift+J move down
bindsym $mod+Shift+K move up
bindsym $mod+Shift+L move right

# split in horizontal orientation
bindsym $mod+bar split h

# split in vertical orientation
bindsym $mod+underscore split v

# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen

# change container layout (stacked, tabbed, default)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout default

# toggle tiling / floating
bindsym $mod+Shift+space floating toggle

# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle

# focus the parent container
bindsym $mod+a focus parent

# focus the child container
bindcode $mod+d focus child

# switch to workspace
bindsym $mod+1 workspace $WS1
bindsym $mod+2 workspace $WS2
bindsym $mod+3 workspace $WS3
bindsym $mod+4 workspace $WS4
bindsym $mod+5 workspace $WS5
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:sample name

# move focused container to workspace
bindsym $mod+Shift+exclam move container to workspace $WS1
bindsym $mod+Shift+at move container to workspace $WS2
bindsym $mod+Shift+numbersign move container to workspace $WS3
bindsym $mod+Shift+dollar move container to workspace $WS4
bindsym $mod+Shift+percent move container to workspace $WS5
bindsym $mod+Shift+asciicircum move container to workspace 6
bindsym $mod+Shift+ampersand move container to workspace 7
bindsym $mod+Shift+asterisk move container to workspace 8
bindsym $mod+Shift+parenleft move container to workspace 9
bindsym $mod+Shift+parenright move container to workspace 10

# reload the configuration file
bindsym $mod+Shift+C reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+R restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+E exit
#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'"


# resize window 

        # These bindings trigger as soon as you enter the resize mode

        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 
	

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
}

bindsym $mod+r mode "resize"

# take screenshot
# bindsym Print exec scrot '%Y-%m-%d-%t_$wx$h.png' -e 'mv $ $f ~/images/'
bindsym Print exec scrot 'Screenshot - %Y-%m-%d--%_$wx$h_scrot.png' -e 'mv $f ~/images/'

# colors

# class                                        border  backgr.    text
client.focused			        #cc3333 #cc3333  #111111
client.unfocused		        #2c2e2f #2c2e2f   #315858
client.focused_inactive	        #444444 #444444  #2c2c2f
client.urgent			       #383a3b #383a3b   #ee0000


###  ADDED KEY BINDINGS  ###
bindsym $MOD+SHIFT+f exec thunar
bindsym $MOD+Return exec --no-startup-id urxvt # -g 80x18+690+31
bindsym $MOD+SHIFT+Return exec xterm 
bindsym $MOD+SHIFT+w exec iceweasel

#bindsym $MOD+SHIFT+x exec i3lock -c 424242 -n
bindsym $MOD+SHIFT+x exec i3lock -d -i /home/dkeg/.i3/i3lock_back.png #-n
bindsym $MOD+SHIFT+s exec xfce4-screenshooter
bindsym $MOD+SHIFT+z exec sublime-text-2
bindsym $MOD+SHIFT+b exec chromium 
#bindsym $MOD+SHIFT+b exec iceape
bindsym $MOD+SHIFT+m exec mousepad

# VOLUME ADJUSTMENT
bindsym $MOD+SHIFT+Up exec amixer set Master 5.0%+
bindsym $MOD+SHIFT+Down exec amixer set Master 5.0%-


#i3bar 

bar {
	status_command $HOME/bin/conky-i3bar.sh
	tray_output none
	position top
#	mode hide 
	mode dock
	font pango:Source Code Pro 8

  colors {
	statusline	#888888
	background	#111111
	
# class                 	            border 		         backgrd 	   text
        focused_workspace  #191919 		#191919 	#6b6b6b
        active_workspace   #191919 		#191919 	#6b6b6b
        inactive_workspace #191919 		#191919 	#423e32
        urgent_workspace   #191919 		#191919 	#c7a551
   }
 
}
## BACKGROUND OPTIONS
exec feh --bg-fill ~/images/wallpapers/light_dots.jpg

# AUTOSTART
#exec --no-startup-id i3-msg 'workspace [ term ];exec urxvt -g 80x45+15+31;'
exec --no-startup-id i3-msg 'workspace $WS1;exec urxvt -g 80x18 -e tmux;'
exec --no-startup-id xautolock -time 10 -locker 'i3lock -i /home/dkeg/.i3/i3lock_back.png' -corners +-00  -cornerdelay 4 -cornerredelay 4 &

CLICK TO VIEW

x

Comments

almehdi said about 10 years ago

You wouldn’t mind sharing your conky too?

dkeg said about 10 years ago

I don’t have that one anymore, but I just posted my current in the conky section. similar, but since improved

almehdi said about 10 years ago

Cool thanks!