You are not logged in.

#451 2011-07-24 21:37:53

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: The i3 thread

With bindsym you can actually write e.g. z into the config file, if the key combination should include z. With bindcode you have to use its keycode, which you can find out with

xev

(xev is included in the package xorg-xev)
There you see the advantage of bindsym over bindcode, it's more natural.

Offline

#452 2011-07-24 22:09:04

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: The i3 thread

Inxsible wrote:

what is the difference between a "bindsym" and a "bindcode" ?? [...] Is there an advantage of using one over the other?

Bindcodes are static, which is useful if you are a user of multiple keyboard layouts and wish to retain the same key positions across all layouts.

Last edited by Wintervenom (2011-07-24 22:10:00)

Offline

#453 2011-07-29 05:10:45

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: The i3 thread

In the colors I have the following

client.focused                #DA6F00 #DA6F00 #000000
client.focused_inactive       #333333 #333333 #999999
client.unfocused              #333333 #333333 #999999
client.urgent                 #FF0000 #8C5665 #999999
bar.focused                   #DA6F00 #000000 #999999
bar.unfocused                 #333333 #000000 #999999
bar.urgent                    #FF0000 #000000 #999999

which I swiped from Ogion. Since i3-tree no longer has a workspace bar, the bar.* variables are ignored right?

Currently I have to put in the i3bar color flags to be able to get the same colors as my workspace, but I hope there is a config file for i3bar and it reads the colors from i3's config file because it would be tedious to have to keep changing colors in two separate files.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#454 2011-08-02 00:27:17

Osage
Member
Registered: 2010-08-17
Posts: 8

Re: The i3 thread

Is there any sort of change log for 4.0? Seems like a big change. In the meantime I was going to read the 4.0 and look it all over. Thoughts on this new update?

EDIT: I don't like that Alt+H (at least what it was by default before) will stack, but no longer unstacks automatically. Also, it seems to spawn this random "another container" sometimes when I stack, but it's empty.

Additionally, it seems my previously workspaces [1 - NAME 1] [2 - NAME 2] [3 - NAME 3] are offset by one, and no longer appear in numerical order, but rather in the order they are opened.

I tried i3 for the first time just the other day and fell in love with it over XMonad's automatic tiling. Needless to say this change has just been a bit of a shock to me.

Last edited by Osage (2011-08-02 00:34:49)

Offline

#455 2011-08-02 06:57:33

prayii
Member
From: USA
Registered: 2010-11-18
Posts: 8
Website

Re: The i3 thread

I am crazy loving v4. Dumped my conky from v3 and just using i3status + i3bar. Working awesome. I'm using i3bar in default auto-hide mode so the loss of my awezome-gorgeous conky setup isn't so bad.

Offline

#456 2011-08-02 10:31:58

Atsutane
Package Maintainer (PM)
From: Germany
Registered: 2008-08-18
Posts: 96

Re: The i3 thread

Osage wrote:

Is there any sort of change log for 4.0? Seems like a big change. In the meantime I was going to read the 4.0 and look it all over. Thoughts on this new update?

There's this announcement to get a rough overview.


[blog - mostly german] - [JabberID: atsutane 0x40 freethoughts 0x2E de] - [identi.ca]

Offline

#457 2011-08-02 11:32:11

Viper_Scull
Member
From: London, UK
Registered: 2011-01-15
Posts: 153

Re: The i3 thread

Hi. I'm thnking about giving i3 a try. wiki says it doesn't have system tray support. Is there any way to get a system tray working in i3? It's a feature that i really need.

cheers.

Last edited by Viper_Scull (2011-08-02 11:32:32)


Athlon II X4 620 + Gigabyte 785GPM-UD2H + 4GB DDR3 + SSD OCZ Vertex2 60GB

Archlinux x86_64 + Openbox

Offline

#458 2011-08-02 11:56:21

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: The i3 thread

Viper_Scull wrote:

Hi. I'm thnking about giving i3 a try. wiki says it doesn't have system tray support. Is there any way to get a system tray working in i3? It's a feature that i really need.

cheers.

You can always use a third party tray like stalonetray or trayer. i3 itself doesn't have a built in tray.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#459 2011-08-02 11:57:51

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: The i3 thread

Try trayer-srg-git.

Last edited by Wintervenom (2011-08-10 00:47:06)

Offline

#460 2011-08-02 14:38:36

trungpham
Member
Registered: 2010-10-21
Posts: 28

Re: The i3 thread

workspace_bar no doesn't work anymore in v4. how to disable internal workspace bar? don't find anything in the manual. thanks.

Offline

#461 2011-08-02 14:47:07

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: The i3 thread

trungpham wrote:

workspace_bar no doesn't work anymore in v4. how to disable internal workspace bar? don't find anything in the manual. thanks.

That's because v4 is the tree version which dropped the internal workspace bar. You can use i3bar if you want a workspace bar. if not there is nothing to configure. Simply remove the line

workspace_bar yes/no

if you have one in your config file.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#462 2011-08-02 14:54:41

trungpham
Member
Registered: 2010-10-21
Posts: 28

Re: The i3 thread

My bad. After rebooting my box, it's gone. Thanks Inxsible.

Last edited by trungpham (2011-08-02 15:42:46)

Offline

#463 2011-08-02 15:20:48

walex
Member
From: Germany
Registered: 2006-10-26
Posts: 28

Re: The i3 thread

What you see is not the internal bar of older versions. V 4 ships with i3bar, which is started on the last line of your config file.

Offline

#464 2011-08-02 15:44:36

trungpham
Member
Registered: 2010-10-21
Posts: 28

Re: The i3 thread

walex wrote:

What you see is not the internal bar of older versions. V 4 ships with i3bar, which is started on the last line of your config file.

i3bar is a separate program for sure.

Offline

#465 2011-08-02 16:16:50

walex
Member
From: Germany
Registered: 2006-10-26
Posts: 28

Re: The i3 thread

It is a separate program, but it is included in the V 4 package in the arch repository. See http://www.archlinux.org/packages/commu … -wm/files/

Offline

#466 2011-08-02 16:19:36

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: The i3 thread

I was using the tree version from AUR until now...but I will replace it with the one from community tonight and see what it brings me.

Does the new i3bar --shipped with i3-- now support a config file of its own? I read somewhere that they were working on a config file for i3bar where colors and such could be set, so that you didn't have to pass a bunch of flags to i3bar to set color-workspace-fg, color-workspace-inactive-bg etc etc..


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#467 2011-08-02 16:38:25

walex
Member
From: Germany
Registered: 2006-10-26
Posts: 28

Re: The i3 thread

From the i3bar manpage:

i3bar does not yet support formatting in the displayed statusline. However it does support setting colors for the bar, the workspace-buttons and the statusline.

       For now this happens with the following command-line-options:

       --color-bar-fg, --color-bar-bg, --color-active-ws-fg, --color-active-ws-bg, --color-inactive-ws-fg, --color-inactive-ws-bg, --color-urgent-ws-bg, --color-urgent-ws-fg, --color-focus-ws-fg,
       --color-focus-ws-bg

       For each specified option you need to give a HEX-colorcode.

       Be advised that this command-line-options are only temporary and are very likely to be removed, when we finally have a config-file.

Offline

#468 2011-08-02 16:50:28

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: The i3 thread

So its still the same as the -tree branch that I am using. Oh well, all in due time.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#469 2011-08-02 17:36:46

walex
Member
From: Germany
Registered: 2006-10-26
Posts: 28

Re: The i3 thread

While I appreciate the minimalist approach of i3, I do prefer a bottom bar with a workspace switcher and a clock. I know I can achieve this with i3bar + i3status. Lightweight as it is, however, i3status is still overkill for just displaying a clock on the bottom bar. So I hacked up a few lines of Pascal I would like to share if anyone is interested:

Program clock125;

{ displays current time to stdout, updating every second }

Uses sysutils;

Begin
    While True do
    Begin
        Writeln ('[', TimeToStr(Time), ']');
        Flush (Output);
        sleep (1000)
    End
End.

Feed that to your fpc, put the resulting binary in ~/bin (that directory being in your path) and edit your ~/.i3/config so it contains something like

exec  i3bar -d -c clock125

Offline

#470 2011-08-02 20:35:29

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: The i3 thread

why is it that the default border colors of i3 are shades of Arch Linux blue, but the default i3bar colors are red/maroon. Doesn't make sense and I have to go find out the hex codes of one to change the other


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#471 2011-08-03 18:10:55

portia79
Member
Registered: 2011-08-03
Posts: 2

Re: The i3 thread

Hi folks,
I'm running i3 4.0.1. My old i3-wsbar + dzen2 from i3 3.x doesn't work anymore. I'd like to try to do it now with i3bar + conky or dzen2.
I'm a bit lost. Can any one post what I'd have to include in my i3 config to get the bar displayed. If you be so kind to post the command for i3bar to just display the date - I'll build on it.

It's dual monitor with nvidia and xinerama.

thank you

portia

Offline

#472 2011-08-03 20:18:34

mseed
Member
Registered: 2011-08-03
Posts: 1

Re: The i3 thread

portia79 wrote:

Hi folks,
I'm running i3 4.0.1. My old i3-wsbar + dzen2 from i3 3.x doesn't work anymore. I'd like to try to do it now with i3bar + conky or dzen2.
I'm a bit lost. Can any one post what I'd have to include in my i3 config to get the bar displayed. If you be so kind to post the command for i3bar to just display the date - I'll build on it.

It's dual monitor with nvidia and xinerama.

thank you

portia

Hi,

 exec i3bar -c 'conky -c ~/.i3/scripts/conkyrc' -dtop 

~/.i3/scripts/conkyrc

# set to yes if you want Conky to be forked in the background
background no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer no

# Print everything to console?
out_to_console yes

# Create own window instead of using desktop (required in nautilus)
# own window to run simultanious 2 or more conkys
own_window no

out_to_x no

# Update interval in seconds
update_interval 5.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

short_units yes

if_up_strictness address

# Add spaces to keep things from moving about?  This only affects certain objects.
# use_spacer should have an argument of left, right, or none
use_spacer left

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# Top Process: ${top name 1}
# Root: {fs_used /}/${fs_size /} /home ${fs_free /home} /${fs_size /home}
# Load: ${loadavg 1} ${loadavg 2} ${loadavg 3} 
# Load: $loadavg
# Swap: ${swap}/${swapmax} (${swapperc}%)
# Processes: ${running_processes} / ${processes}
# CPU: $cpu% 
# HDD: $diskio_read :Read $diskio_write :Write
# Temp: Core0: ${exec sensors | awk '/Core 0/ {print $3}'} Core1: ${exec sensors | awk '/Core 1/ {print $3}'}
# Freq: ${freq cpu0}Mhz
# Uptime: $uptime
# Kernel:$kernel on $machine
# Name: $nodename - $sysname

# stuff after 'TEXT' will be formatted on screen
TEXT
CPU: ${cpu cpu}% | RAM:$mem/${memmax} ($memperc%) ${if_up eth0}| LAN: ${downspeed eth0} ${upspeed eth0} IP: ${addr eth0} ${endif} | Batt: ${battery_percent BAT0}% | ${time %a %d.%m.%y} ${time %H:%M}

or

exec i3status -c ~/.i3/status | i3bar -dtop

Offline

#473 2011-08-03 20:54:06

portia79
Member
Registered: 2011-08-03
Posts: 2

Re: The i3 thread

Thanks a lot.

Offline

#474 2011-08-07 18:02:29

RiceKills
Member
Registered: 2010-05-31
Posts: 72

Re: The i3 thread

new_window bb doesn't seem to work with version 4. any one know how to get borderless windows?

Offline

#475 2011-08-07 18:04:50

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: The i3 thread

new_window none

It would help if you use i3-migrate-config-to-v4, which is provided with the i3 package.

Offline

Board footer

Powered by FluxBB