You are not logged in.
Been trying out i3 for while - refer to the epic 30 Wm's thread for a review and installation notes:
http://crunchbanglinux.org/forums/post/200514/#p200514
I can see getting hooked on this Wm; I actually prefer tabbing to tiling, but can't quite get efficient with container management.
Screenshot:
and config:
# This file has been 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)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod4
set $ALT Mod1
# font for window titles. ISO 10646 = Unicode
#font -xos4-terminus-medium-r-normal--12-120-72-72-C-60-iso8859-1
font -*-gohufont-medium-r-normal-*-14-100-100-100-*-*-iso10646-1
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $ALT
# start a terminal
# bindsym $mod+Return exec i3-sensible-terminal
bindsym $ALT+F1 exec urxvtc
# kill focused window
# bindsym $mod+Shift+Q kill
bindsym $ALT+F4 kill
# startup apps and window decs
default_orientation horizontal
workspace_layout tabbed
new_window 1pixel
# window colours: border background text
client.focused #0F0F0F #7FB256 #F5F5FF
client.focused_inactive #0F0F0F #7FB256 #E5E5E5
client.unfocused #0F0F0F #5697B2 #E5E5E5
client.urgent #0F0F0F #BC9B54 #E5E5E5
exec xrdb -l /home/doug/.Xdefaults
exec xmodmap /home/doug/.Xmodmap
exec xsetroot -mod 1 1 -fg mediumslateblue -bg lightslategray
exec xset +fp /usr/local/share/fonts/programing/
exec xset fp rehash
exec urxvtd -q -f -o
exec hsetroot -center /home/doug/wallpaper/MoonSky.jpg
exec update-notifier
exec nm-applet
exec xfce4-power-manager
# start dmenu (a program launcher)
# bindsym $mod+d exec dmenu_run
bindsym $ALT+F2 exec dmenu_run -fn "xft:droid sans:bold:pixelsize=11:antialias=true:hinting=slight" -nb "#0f0f0f" -nf "#a6a6a6" -sb "#0f0f0f" -sf "#8f8fed"
bindsym XF86HomePage exec FireFox
bindsym $mod+F14 exec thunderbird-mail
bindsym $mod+Control+l exec geany
bindsym Menu exec thunar
bindsym $mod+Control+g exec gimp
bindsym $mod+F13 exec 'gksudo synaptic'
bindsym XF86AudioRaiseVolume exec amixer sset Master,0 2+
bindsym XF86AudioLowerVolume exec amixer sset Master,0 2-
bindsym XF86AudioMute exec amixer sset Master,0 toggle
assign [class="Chromium"] 2
for_window [class="Chromium"] border 1pixel
assign [class="Navigator"] 2
for_window [class="Navigator"] border 1pixel
assign [class="Firefox"] 2
for_window [class="Firefox"] border 1pixel
assign [class="Thunderbird"] 2
for_window [class="Thunderbird"] border 1pixel
assign [class="Gimp"] 3
for_window [class="Gimp"] border normal
for_window [class="Gimp"] floating enable
assign [class="Gnome-mplayer"] 4
for_window [class="Gnome-mplayer"] floating enable
for_window [class="XFontsel"] floating enable
for_window [title="Event Tester"] floating enable
for_window [title="Xfce-notifyd"] floating enable
for_window [class="Sakura"] floating enable
for_window [class="Sakura"] border normal
# change focus
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $ALT+Tab focus right
bindsym $ALT+Shift+Tab focus left
# move focused window
bindsym $mod+Shift+J move left
bindsym $mod+Shift+K move down
bindsym $mod+Shift+L move up
bindsym $mod+Shift+colon move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+h split h
# split in vertical orientation
bindsym $mod+v 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+t 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 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
# move focused container to workspace
bindsym $mod+Shift+exclam move container to workspace 1
bindsym $mod+Shift+at move container to workspace 2
bindsym $mod+Shift+numbersign move container to workspace 3
bindsym $mod+Shift+dollar move container to workspace 4
bindsym $mod+Shift+percent move container to workspace 5
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+q restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+Q exit
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# They resize the border in the direction you pressed, e.g.
# when pressing left, the window is resized so that it has
# more space on its left
bindsym j resize shrink left 10 px or 10 ppt
bindsym Shift+J resize grow left 10 px or 10 ppt
bindsym k resize shrink down 10 px or 10 ppt
bindsym Shift+K resize grow down 10 px or 10 ppt
bindsym l resize shrink up 10 px or 10 ppt
bindsym Shift+L resize grow up 10 px or 10 ppt
bindsym semicolon resize shrink right 10 px or 10 ppt
bindsym Shift+colon resize grow right 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink left 10 px or 10 ppt
bindsym Shift+Left resize grow left 10 px or 10 ppt
bindsym Down resize shrink down 10 px or 10 ppt
bindsym Shift+Down resize grow down 10 px or 10 ppt
bindsym Up resize shrink up 10 px or 10 ppt
bindsym Shift+Up resize grow up 10 px or 10 ppt
bindsym Right resize shrink right 10 px or 10 ppt
bindsym Shift+Right resize grow right 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command conky
position top
font -xos4-terminus-medium-r-normal--12-120-72-72-C-60-iso8859-1
# font -*-proggysquaresz-medium-r-normal-*-11-80-*-*-*-*-iso8859-1
workspace_buttons yes
colors {
background #0F0F0F
statusline #D5D5D5
focused_workspace #F5F5FF #7FB256
active_workspace #E5E5E5 #5697B2
inactive_workspace #E5E5E5 #5697B2
urgent_workspace #E5E5E5 #BC9B54
}
}"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
Thanks for starting this thread, PackRat 
Was just asking for i3 configs over at the screenshot thread, coincidentally.
Will try it out when I find time later in the week.
Point & Squirt
Offline
i3 config
set $mod Mod4
# font for window titles. ISO 10646 = Unicode
#font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# colors
# class border backgr. text
client.focused #ee0000 #444444 #9ac0cd
client.unfocused #202020 #202020 #315858
client.focused_inactive #202020 #202020 #666666
client.urgent #212121 #303030 #ee0000
client.background #101010
font -*-clean-medium-r-*--*-*-*-*-*-*-iso10646-1
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
focus_follows_mouse no
# start a terminal
bindsym $mod+Return exec x-terminal-emulator
# kill focused window
bindsym $mod+Shift+Q kill
# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run -nb "#101010" -sb "#202020" -nf "#528b8b" -sf "#9ac0cd"
# take a screen shot
bindsym Print exec scrot '%Y-%m-%d_$wx$h.png' -e 'mv $f ~/images/'
# spawn a web browser
bindsym Mod4+b exec x-www-browser
# audio keys
bindsym XF86AudioRaiseVolume exec amixer set Master 10%+ unmute
bindsym XF86AudioLowerVolume exec amixer set Master 10%- unmute
bindsym XF86AudioMute exec amixer set Master toggle
bindsym XF86AudioStop exec mpc stop
bindsym XF86AudioPlay exec mpc toggle
bindsym XF86AudioNext exec mpc next
bindsym XF86AudioPrev exec mpc prev
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+scedilla focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+J move left
bindsym $mod+Shift+K move down
bindsym $mod+Shift+L move up
bindsym $mod+Shift+Scedilla move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+h split h
# split in vertical orientation
bindsym $mod+v 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
workspace_layout stacking
#Window specific bindings
assign [class="Skype"] Skype
assign [class="Eboard"] FICS
for_window [title="mutt"] move workspace Mail; workspace Mail
assign [class="Icedove"] Mail
for_window [title="ncmpcpp"] move workspace Music; workspace Music
for_window [title="ncmpc"] move workspace Music; workspace Music
# switch to workspace
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+Control+s workspace Skype
bindsym $mod+Control+m workspace Mail
bindsym $mod+Control+n workspace Music
bindsym $mod+Control+f workspace FICS
# move focused container to workspace
bindsym $mod+Shift+exclam move workspace 1
bindsym $mod+Shift+apostrophe move workspace 2
bindsym $mod+Shift+asciicircum move workspace 3
bindsym $mod+Shift+plus move workspace 4
bindsym $mod+Shift+percent move workspace 5
bindsym $mod+Shift+ampersand move workspace 6
bindsym $mod+Shift+slash move workspace 7
bindsym $mod+Shift+parenleft move workspace 8
bindsym $mod+Shift+parenright move workspace 9
bindsym $mod+Shift+equal move 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
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# They resize the border in the direction you pressed, e.g.
# when pressing left, the window is resized so that it has
# more space on its left
bindsym h resize shrink left 10 px or 10 ppt
bindsym Shift+H resize grow left 10 px or 10 ppt
bindsym j resize shrink down 10 px or 10 ppt
bindsym Shift+J resize grow down 10 px or 10 ppt
bindsym k resize shrink up 10 px or 10 ppt
bindsym Shift+K resize grow up 10 px or 10 ppt
bindsym l resize shrink right 10 px or 10 ppt
bindsym Shift+L resize grow right 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink left 10 px or 10 ppt
bindsym Shift+Left resize grow left 10 px or 10 ppt
bindsym Down resize shrink down 10 px or 10 ppt
bindsym Shift+Down resize grow down 10 px or 10 ppt
bindsym Up resize shrink up 10 px or 10 ppt
bindsym Shift+Up resize grow up 10 px or 10 ppt
bindsym Right resize shrink right 10 px or 10 ppt
bindsym Shift+Right resize grow right 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
position top
status_command ~/scripts/status 0
colors {
background #101010
statusline #528b8b
focused_workspace #dddddd #303030
active_workspace #999999 #202020
inactive_workspace #528b8b #202020
urgent_workspace #da6f00 #404040
}
}My status script
#!/bin/sh
# sets the status bar
command="echo"
#if called without an argument then act as a status script for dwm
if [ -z "$1" ]
then
command="xsetroot -name"
fi
while true
do
$command "W: $(iwconfig wlan0 | awk '/Quality/{print $2}' | sed 's/.*=//' | awk -F"/" '{printf("%.0f%%", $1/$2*100)}') | M: $(free -m | perl -ne 'if(/cache:\s+(\d+)/) {printf $1;last;}') mb | C: $(mpstat | perl -ne 'if(/all\s+(\d+\.\d+)/) {printf $1;last;}')% | B: $(acpi | perl -ne 'if(/0:\s+([^%]+)/) {print $1."%";}') | $(date +"%a, %b %d %R")"
sleep 10s
done Last edited by gensym (2012-03-26 17:39:54)
'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind.', {Eric}
Offline
Offline
Aw man I want this right now. Is this mouse-less like ratpoison? I just installed ratpoison but haven't figured out how to configure yet. I want this i3, think I'm about to run it as my WM in FreeBSD.
All tyranny needs to gain a foothold is for people of good conscience to remain silent.
---Thomas Jefferson ---
Offline
It is as mouse-less as you need/want it to be. I believe there are key bindings for moving floating windows created with the default config file when you first log in. I don't use the floating mode too often though.
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
OK, thank you. I took a look at their project page a read through a bunch, but I haven't configured anything with it yet. I really would like to find the time for this tonight. Thanks for the info and thread PackRat.
All tyranny needs to gain a foothold is for people of good conscience to remain silent.
---Thomas Jefferson ---
Offline
^ The default configuration is pretty sane (though dmenu for some reason is bound to mod+d). Just install it and give it a go, it will give you a good idea of how things work and what i3 is capable of.
Last edited by gensym (2012-03-26 16:54:57)
'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind.', {Eric}
Offline
Thanks for this thread,and the configs,they have been very useful for me, 
my config is very young and immature compared to configs above,
I use i3 default shorcuts,they`re pretty good,as it mentioned before,
for status bar I use conky,which for its config I grabbed this from i3 thread in Arch forum,haven`t tweaked it
# no output in X (with vanilla conky, not conky-cli)
out_to_x no
# print text to standard output
out_to_console yes
# run indefinitely
total_run_times 0
# update every 1 second
update_interval 1
if_up_strictness address
template0 ┆
# not really readable system info formating follows
# preview:
# 5% 0.80 GHz 49° ┆ 100% 0.0 ↑ ↓ 0.0 ┆ ~53% ┆ ▉ 100% ┆ sun.26/02 00:34
# with mpd running:
# 5% 0.80 GHz 49° ┆ 100% 0.5 ↑ ↓ 0.5 ┆ ► Primordial Breath - Slania - Eluveitie [0:31 / 4:19] ┆ ~53% ┆ ▉ 100% ┆ sun.26/02 00:34
TEXT
${cpu cpu0}% ${freq_g} GHz ${hwmon temp 1}° \
$template0 \
${if_up wlan0}\
${wireless_link_qual_perc wlan0}% \
${upspeedf wlan0} ↑ \
↓ ${downspeedf wlan0} \
$template0 \
$endif\
$if_mpd_playing\
${if_match "$mpd_status"=="Paused"}\
"\
${else}\
►\
$endif\
${mpd_title 50} - ${mpd_album 50}\
${if_match "$mpd_artist"!=""}\
- ${mpd_artist 50}\
$endif\
[$mpd_elapsed / $mpd_length] \
$template0 \
$endif\
${if_mixer_mute}\
┄\
${else}\
~$mixer%\
$endif\
$template0 \
${if_match "$battery_short"!="N"}\
${if_match "$battery_short"<"D"}\
≃\
$else\
${if_match $battery_percent>75}\
▉\
$else\
${if_match $battery_percent>40}\
▃\
$else\
${if_match $battery_percent>20}\
▁\
${else}\
…\
$endif\
$endif\
$endif\
$endif\
$battery_percent% \
$template0 \
$endif\
${time %a%d/%m %R}\my config without shortcuts :
# Window Colors: border background text
client.focused #1F1F1F #000000 #728FCE
client.focused_inactive #000000 #000000 #FFFFFF
client.unfocused #000000 #000000 #979797
client.urgent #E41B17 #C60000 #FFFFFF
#For bar section
bar
{
mode hide
position top
font -xos4-terminus-medium-r-normal--12-120-72-72-C-60-iso8859-1
workspace_buttons yes
status_command conky -c .i3conky
colors {
background #000000
statusline #FFFFFF
focused_workspace #79BAEC #000000
active_workspace #979797 #000000
inactive_workspace #979797 #000000
urgent_workspace #C60000 #000000
}i3 has been documented very well,I am working on things,
it`s my first tilling WM,interesting things these tillers.
Keep digging.
Linux beginner.
Offline
Is there a way to hide tabs in tabbed layout like the way you can hide i3bar?
Last edited by m5 (2012-04-02 05:01:29)
Keep digging.
Linux beginner.
Offline
Afaic no. Even if you use no borders, you will have them once you have more than one tabs.
Last edited by gensym (2012-04-02 12:51:51)
'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind.', {Eric}
Offline
Been having this problem. Initially posted about it here (last paragraph).
Seems I can't get the stats/conky to align correctly. They're always placed 1 - 2 pixels lower than the workspace display. Same case for both conky or piping a status script.
Gensym's scrot exhibits the same issue: http://ompldr.org/vZDhlbQ
Anyone got any ideas on how to fix this? It's driving me nuts!!
Last edited by gutterslob (2012-04-02 12:38:34)
Point & Squirt
Offline
i have set up a minimal debian netinstall with xorg, alsa-base and i3 in virtualbox for experimenting.
it runs fine. but i wonder why i get a segmentation fault each time when exiting i3 ?
evilwm = digital zen
Offline
I am using i3 now and I gotta say... I am really liking it and OB may have finally met it's match for me. I had a crack at Spectrwm and others but feel much more comfortable with i3.
I hope to contribute to this thread 
Offline
OK, I've been using i3 for just under two days and I have a few questions (for now).
How do I get the date and time to show up in the bar at the bottom and how do I move the bar to the top?
Also, is there a screen lock function?
on the outside looking in
Offline
@fortyseven
to put the bar at the top, change it's position in the ~/.i3/config file. In the bar section:
bar {
position top
}To put the date and time in the bar, you wil need to edit the status_command line - also in the bar section of the config file:
bar {
status_command i3status
}status_command conkypipes conky to the bar, I think the i3status file that is part of the installation has date and time built in and can be edited to display only date and time..
i3 has a screen lock program:
Last edited by PackRat (2012-04-26 13:25:48)
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
@fortyseven
located my i3status.conf
general {
colors = true
interval = 5
}
order += "ipv6"
order += "disk /"
order += "run_watch DHCP"
order += "run_watch VPN"
order += "wireless wlan0"
order += "ethernet eth0"
order += "battery 0"
order += "cpu_temperature 0"
order += "load"
order += "time"
wireless wlan0 {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
ethernet eth0 {
# if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery 0 {
format = "%status %percentage %remaining"
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
run_watch VPN {
pidfile = "/var/run/vpnc/pid"
}
time {
format = "%Y-%m-%d %H:%M:%S"
}
load {
format = "%1min"
}
cpu_temperature 0 {
format = "T: %degrees °C"
}
disk "/" {
format = "%free"
}Been a while since I used it; I think you just comment out the ones you do not want to display, then use the status_command line in the bar configuration to pipe output to the i3 status bar.
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
Thanks PackRat however, nothing works. I don't have a 'bar section' in my config file so I created one, added exactly what you suggested and the bar is still at the bottom. status_command conky also does nothing at all.
I also do not have an i3status config file anywhere even though apt assures me it's installed. Am I missing something?
on the outside looking in
Offline
My i3status.config was installed to /etc - has to be the default, no way I'd put it there.
The conkyrc needs to be a one-liner and configured for no output to X or console for example:
background no
out_to_x no
out_to_console yes
update_interval 1
total_run_times 0
use_spacer none
TEXT
Wlan0: ${if_up wlan0}${wireless_bitrate wlan0} ${wireless_link_qual wlan0}/${wireless_link_qual_max wlan0} ${wireless_link_qual_perc wlan0}% ${upspeedf wlan0} ${downspeedf wlan0}${endif} | Battery: ${battery_percent BAT0}% | ${time %a %b %d %k:%M}Post your config file; someone more proficient with i3 than me may spot something missing. I actually uninstalled i3 since I can tab windows in fluxbox; having to work from memory at the moment.
Last edited by PackRat (2012-04-26 14:50:04)
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
OK, i3 is really starting to mess with my head; perhaps because I'm new to it. Anyway, what would be the first few steps that a novice like me would go through to initially setup i3?
What I did was to copy /etc/i3/config to ~./.i3 since the latter didn't exist. Then I added some custom keybindings and a background images by editing the newly moved config file. That's all.
My i3 config file:
# This configuration uses Mod1 and Mod3. Make sure they are mapped properly using xev(1)
# and xmodmap(1). Usually, Mod1 is Alt (Alt_L) and Mod3 is Windows (Super_L)
# ISO 10646 = Unicode
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# Use Mouse+Mod1 to drag floating windows to their wanted position
floating_modifier Mod1
# Fullscreen (Mod1+f)
bind Mod1+41 f
# Stacking (Mod1+h)
bind Mod1+43 s
# Tabbed (Mod1+w)
bind Mod1+25 T
# Default (Mod1+e)
bind Mod1+26 d
# Toggle tiling/floating of the current window (Mod1+Shift+Space)
bind Mod1+Shift+65 t
# Go into the tiling layer / floating layer, depending on whether
# the current window is tiling / floating (Mod1+t)
bind Mod1+28 focus ft
# Focus (Mod1+j/k/l/;)
bind Mod1+44 h
bind Mod1+45 j
bind Mod1+46 k
bind Mod1+47 l
# (alternatively, you can use the cursor keys:)
bindsym Mod1+Left h
bindsym Mod1+Down j
bindsym Mod1+Up k
bindsym Mod1+Right l
# Focus Container (Mod3+j/k/l/;)
bind Mod3+44 wch
bind Mod3+45 wcj
bind Mod3+46 wck
bind Mod3+47 wcl
# (alternatively, you can use the cursor keys:)
bindsym Mod3+Left wch
bindsym Mod3+Down wcj
bindsym Mod3+Up wck
bindsym Mod3+Right wcl
# Snap (Mod1+Control+j/k/l/;)
bind Mod1+Control+44 sh
bind Mod1+Control+45 sj
bind Mod1+Control+46 sk
bind Mod1+Control+47 sl
# (alternatively, you can use the cursor keys:)
bindsym Mod1+Control+Left sh
bindsym Mod1+Control+Down sj
bindsym Mod1+Control+Up sk
bindsym Mod1+Control+Right sl
# Move (Mod1+Shift+j/k/l/;)
bind Mod1+Shift+44 mh
bind Mod1+Shift+45 mj
bind Mod1+Shift+46 mk
bind Mod1+Shift+47 ml
# (alternatively, you can use the cursor keys:)
bindsym Mod1+Shift+Left mh
bindsym Mod1+Shift+Down mj
bindsym Mod1+Shift+Up mk
bindsym Mod1+Shift+Right ml
# Move Container (Mod3+Shift+j/k/l/;)
bind Mod3+Shift+44 wcmh
bind Mod3+Shift+45 wcmj
bind Mod3+Shift+46 wcmk
bind Mod3+Shift+47 wcml
# Workspaces (Mod1+1/2/…)
bind Mod1+10 1
bind Mod1+11 2
bind Mod1+12 3
bind Mod1+13 4
bind Mod1+14 5
bind Mod1+15 6
bind Mod1+16 7
bind Mod1+17 8
bind Mod1+18 9
bind Mod1+19 10
# Move to Workspaces
bind Mod1+Shift+10 m1
bind Mod1+Shift+11 m2
bind Mod1+Shift+12 m3
bind Mod1+Shift+13 m4
bind Mod1+Shift+14 m5
bind Mod1+Shift+15 m6
bind Mod1+Shift+16 m7
bind Mod1+Shift+17 m8
bind Mod1+Shift+18 m9
bind Mod1+Shift+19 m10
# Mod1+Enter starts a new terminal
bind Mod1+36 exec /usr/bin/x-terminal-emulator
# Mod1+Shift+q kills the current client
bind Mod1+Shift+24 kill
# Mod1+v starts dmenu and launches the selected application
# for now, we don’t have a launcher of our own.
bind Mod1+55 exec /usr/bin/dmenu_run
# Mod1+Shift+e exits i3
bind Mod1+Shift+26 exit
# Mod1+Shift+r restarts i3 inplace
bind Mod1+Shift+27 restart
#Additional Keybindings
bindsym Mod4+w exec x-www-browser
bindsym Mod4+t exec thunar
bindsym Mod4+m exec evolution
bindsym Mod4+g exec gimp
bindsym Mod4+l exec i3lock
#i3bar
bar {
status_command conky
position top
workspace_buttons yes
tray_output none
}
# The IPC interface allows programs like an external workspace bar
# (i3-wsbar) or i3-msg (can be used to "remote-control" i3) to work.
#ipc-socket ~/.i3/ipc.sock
#############################################################
# DELETE THE FOLLOWING LINES TO DISABLE THE WELCOME MESSAGE #
#############################################################
#exec xmessage -file /etc/i3/welcome
exec /usr/bin/feh --bg-scale /home/zzzz/images/rosenrot.jpgNow all I want to do is move the bar at the bottom of the screen (I assume it's the i3bar) to the top and get things like the time and date to display. Simple? Someone please help.
on the outside looking in
Offline
Now all I want to do is move the bar at the bottom of the screen (I assume it's the i3bar) to the top and get things like the time and date to display. Simple? Someone please help.
I'm pretty sure the documentation covers it. Have you checked those (both the project site and man pages) yet?
Anyways, if you look at Packrat's opening post of this thread and scrolled down to the end of his config, you'll see the appropriate parameters.
Here's my bar-related stuff, just in case:
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
position top
status_command conky
font -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1
workspace_buttons yes
colors {
background #000000
statusline #947b64
focused_workspace #95a2cf #000000
active_workspace #8ac47d #000000
inactive_workspace #606d70 #000000
urgent_workspace #c8756e #000000
}
}Bar placement is dictated by "position top"
Hope this helps.
Cheerz~
Last edited by gutterslob (2012-05-02 11:17:50)
Point & Squirt
Offline
I'm pretty sure the documentation covers it. Have you checked those (both the project site and man pages) yet?
Yes. I've checked and followed the i3 website, man documentaion, this website, google... and I've not been able to achieve what seems to be so simple. I've added a bar block into my config file, I've added the position top entry, I've added the status_command entry, in fact, I've copied and pasted different configs, including the OP's and yours. Nothing changes though. That fecking bar stays at the bottom of the screen.
on the outside looking in
Offline
@fortyseven
edit - bad info -
Last edited by PackRat (2012-05-02 14:54:35)
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.