You are not logged in.

#201 2013-11-03 13:04:07

jeanbroid
Member
Registered: 2013-07-06
Posts: 10

Re: i3 desktop screenshots and config sharing

freestyler7 wrote:

Hm, i don't quite understand what you are asking.

Instead of using i3status, i use a wrapper for conky's output,

bar {
	status_command ~/bin/conky-i3.sh
}

with the following contents:

#!/usr/bin/env bash

# Send the header so that i3bar knows we want to use JSON:
echo '{"version":1}'

# Begin the endless array.
echo '['

# We send an empty first array of blocks to make the loop simpler:
echo '[],'

# Now send blocks with information forever:
exec conky -c $HOME/.conkyrc

And then you configure conky to output in a json format.
Tray is handled by i3bar like it does with the default i3status.

ok my bad, i mixed up i3status and i3bar.

Offline

#202 2013-11-09 22:12:47

HiImTye
Member
From: Nanaimo, BC, Canada
Registered: 2012-05-09
Posts: 516

Re: i3 desktop screenshots and config sharing

manuelschneid3r wrote:

http://i.imgur.com/LDP1F9Kl.png

Pretty much the same as before. But new status, slightly changed colors, unsing xcompmgr, conky and dunst.

how did you get conky on the side like that? I've been googling but haven't found any results
right now I'm just running it as type 'desktop' and resizing the window on the side, but it would be nice if I could run it as some kind of dock, without a title

Last edited by HiImTye (2013-11-09 22:20:02)

Offline

#203 2013-11-09 22:21:33

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: i3 desktop screenshots and config sharing

HiImTye wrote:
manuelschneid3r wrote:

http://i.imgur.com/LDP1F9Kl.png

Pretty much the same as before. But new status, slightly changed colors, unsing xcompmgr, conky and dunst.

how did you get conky on the side like that? I've been googling but haven't found any results

I don't understand this question. 

If you are asking how conky is on the desktop at all, you need to look at the conky documentation.  This is how most users of floating window managers use conky.

If you are asking how they were able to get conky on the desktop as well as use it in the bar, you need two instances of conky for that.

@manuelschneid3r, you should look into compton (or compton-git) as xcompmgr is not incredibly stable, nor is it very actively developed.  It was forked into xcompmgr-dana (dcompmgr), which was then forked into compton.  If you check out the compton git repository, you will see that it is incredibly active.  I hve found that it is far more stable than the other two (particularly xcompmgr) and provides far more features.

Offline

#204 2013-11-09 22:27:21

HiImTye
Member
From: Nanaimo, BC, Canada
Registered: 2012-05-09
Posts: 516

Re: i3 desktop screenshots and config sharing

no, I mean specifically getting conky to run as a side bar

Offline

#205 2013-11-09 22:29:09

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: i3 desktop screenshots and config sharing

Yes that is a pretty normal way of running conky, and I think that any quick google of the topic would tell you that.  There is even a thread in these forums dedicated to conky config  sharing, which focuses on these types of setups.  Please do a bit of searching, and you'll find stuff.

Offline

#206 2013-11-09 22:30:38

HiImTye
Member
From: Nanaimo, BC, Canada
Registered: 2012-05-09
Posts: 516

Re: i3 desktop screenshots and config sharing

let me start over.

I have (several) conky configs. my issue is not with getting conky to run as a side bar, but getting i3 to treat conky as a side bar, not a normal window.

Offline

#207 2013-11-09 22:40:49

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: i3 desktop screenshots and config sharing

Aaahhhhhh that makes crap loads more sense.

I have never actually tried this, but I would imagine that you need to have it not be its own window (and be part of the root window).  That is just a guess though.

Offline

#208 2013-11-09 22:45:21

HiImTye
Member
From: Nanaimo, BC, Canada
Registered: 2012-05-09
Posts: 516

Re: i3 desktop screenshots and config sharing

yeah, that's what I thought too, but when I use either

own_window no
# --or--
own_window_type override

it sits behind my windows. I have googled to see if there's a way to pad one side in i3, but the only padding result I managed to find was one of a padding windows patch

Offline

#209 2013-11-09 22:50:01

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: i3 desktop screenshots and config sharing

I'm pretty sure that if that screenshot didn't have all floating windows, it too would be behind everything as well.  If you notice, the screen that has three windows open, and none of them are tiled at all.

Offline

#210 2013-11-09 22:58:59

HiImTye
Member
From: Nanaimo, BC, Canada
Registered: 2012-05-09
Posts: 516

Re: i3 desktop screenshots and config sharing

that's true, I should have noticed. I guess I'll stick with using type 'desktop' and resizing it to the right for now

Offline

#211 2013-11-13 11:12:30

Gulver
Member
Registered: 2013-05-24
Posts: 208

Re: i3 desktop screenshots and config sharing

wg261dK.png?1

Offline

#212 2013-11-14 04:37:22

sboysel
Member
Registered: 2011-12-30
Posts: 63

Re: i3 desktop screenshots and config sharing

Love that dark wallpaper.  Mind sharing it?

Offline

#213 2013-11-14 06:30:34

HiImTye
Member
From: Nanaimo, BC, Canada
Registered: 2012-05-09
Posts: 516

Re: i3 desktop screenshots and config sharing

sboysel wrote:

Love that dark wallpaper.  Mind sharing it?

http://tineye.com/search/1785f0b83711d3 … 464bfd443/

Offline

#214 2013-11-14 06:35:42

sboysel
Member
Registered: 2011-12-30
Posts: 63

Re: i3 desktop screenshots and config sharing

HiImTye wrote:
sboysel wrote:

Love that dark wallpaper.  Mind sharing it?

http://tineye.com/search/1785f0b83711d3 … 464bfd443/

Thanks

Offline

#215 2013-11-18 22:43:34

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 143
Website

Re: i3 desktop screenshots and config sharing

Brand new user ( 2 days ) love it, i find it a wee bit moar sane than xmonad, this is goin on all teh boxxen.
2013_11_18_223057_3840x1080_scrot.jpg
full size http://postimg.org/image/dwyskx60p/full/
in teh off chance anyone would like a noobs dotties https://gist.github.com/cirrusUK

Last edited by cirrus (2013-11-18 22:45:18)


We do not choose, we are chosen, those that dont understand dont matter, those that understand need no explanation. We are the chosen few.
http://cirrusminor.info
http://www.danasoft.com/sig/7972427251.jpg

Offline

#216 2013-11-28 20:01:24

pierregermain
Member
From: Mty - Par - Mad - Fra
Registered: 2013-11-28
Posts: 10
Website

Re: i3 desktop screenshots and config sharing

I am really new to i3.

This is a screen with Arch Linux with i3 wm + xfce4. All simple, I am still learning

Dirty:
http://picasutra.com/arch/dirty_XL.png
Preview


Clean:
www.picasutra.com/arch/arch_linux_xfce4_2013.11.png

.xinitrc

# set Spanish keyboard layout
setxkbmap -layout es

#background for i3
#feh --bg-center /home/pierre/Scripts/xfce4WorkspaceImg/vimshortcuts.png
sh ~/.fehbg & 

exec startxfce4

you need to do some tweekings in the sessions manager of xfce4 to make i3 work with xfce4:
Here a link that explains the process
http://shroffabhishek.net/post/i3-on-xfce

Here my Xfce Menu > Settings > Session and Startup
http://picasutra.com/arch/Session_and_Startup.png

Here my XFCE 4 Panel: You do not want to use Notifications on it.
http://picasutra.com/arch/Panel_xfce.png

$HOME/.i3/config

#XFCE-4 PANEL (--no-startup-id so that no "clock" icon is present as mouse)
exec --no-startup-id xfce4-panel

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

#Lock Screen
bindsym $mod+XF86Eject exec i3-msg workspace 6 && i3lock -c 111111 -d

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
#        status_command i3status
  #mode hide
  #modifier $mod
status_command i3status --config ~/.i3/i3status.conf

}

$HOME/.i3/i3status.conf
I am using UTF-8 icons and also 2 dates: one for America and an other for Europe.
On my Arch the wireless has an other interface-name.

.i3/i3status.conf




# i3status configuration file.
# see "man i3status" for documentation.

# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!

general {
        colors = true
        interval = 30
}

#order += "ipv6"
order += "disk /"
order += "disk /home"
order += "disk /media/muz"
#order += "run_watch DHCP"
#order += "run_watch VPN"
#order += "wireless wlan0"
order += "wireless wlp3s0"
#order += "ethernet eth0"
order += "battery 0"
#order += "load"
order += "tztime berlin"
order += "tztime monterrey"
order += "tztime local"

wireless wlan0 {
        format_up = "W: (%quality at %essid) %ip"
        format_down = "W: down"
}

wireless wlp3s0 {
        format_up = "%quality %essid %ip"
        format_down = "Wifi: 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"
}

tztime local {
        #format = " %Y-%m-%d ◷ %H:%M:%S"
        format = "%Y-%m-%d"
}
tztime berlin {
        format = "Mad %H:%M:%S"
        timezone = "Europe/Berlin"
}
tztime monterrey {
        format = "Mty %H:%M:%S"
        timezone = "America/Monterrey"
}

load {
        format = "%1min"
}

disk "/" {
    format = "√ %free"
}

disk "/home" {
        format = "⌂ %free"
}
disk "/media/muz" {
    format = "♬ %free"
}

What still doesn't work is to hibernate the computer. Lock Screen with the lock from i3 is working.

Last edited by pierregermain (2013-12-04 17:39:13)

Offline

#217 2013-12-03 07:59:41

joepvd
Member
Registered: 2011-10-06
Posts: 31

Re: i3 desktop screenshots and config sharing

Cool, pierregermain!

Could you please share what hidden gems you are getting by running i3 from startxfce4?

Offline

#218 2013-12-04 15:30:49

pierregermain
Member
From: Mty - Par - Mad - Fra
Registered: 2013-11-28
Posts: 10
Website

Re: i3 desktop screenshots and config sharing

Nice that you liked it joepvd ...

I am updating my post with more info ... (DONE EDIT)

Last edited by pierregermain (2013-12-04 15:49:59)

Offline

#219 2013-12-10 15:20:35

smlb
Member
From: /dev/null
Registered: 2013-05-20
Posts: 49
Website

Re: i3 desktop screenshots and config sharing

This is my configuration → http://imgur.com/HlyGz5m,bGjWSkn

This is ~/.i3/config

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 -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:DejaVu Sans Mono 10

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

# start a terminal
bindsym $mod+Return exec termite -e tmux

# kill focused window
bindsym $mod+Shift+q kill
bindsym $mod+f exec firefox
bindsym $mod+Shift+q exec i3lock
bindsym $mod+t exec termite
bindsym XF86AudioRaiseVolume exec amixer set Master 5%+ unmute
bindsym XF86AudioLowerVolume exec amixer set Master 5%- unmute
bindsym XF86AudioMute exec amixer set Master toggle
bindsym XF86AudioPlay exec ncmpcpp toggle
bindsym XF86AudioStop exec ncmpcpp stop
bindsym XF86AudioPrev exec ncmpcpp prev
bindsym XF86AudioNext exec ncmpcpp next

# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run
# 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.
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop

# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+ograve 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

bindsym $mod+x mode "$mode_system"
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (x) shutdown
mode "$mode_system" {
    bindsym l exec --no-startup-id ~/.i3/i3exit lock, mode "default"
    bindsym e exec --no-startup-id ~/.i3/i3exit logout, mode "default"
    bindsym s exec --no-startup-id ~/.i3/i3exit suspend, mode "default"
    bindsym h exec --no-startup-id ~/.i3/i3exit hibernate, mode "default"
    bindsym r exec --no-startup-id ~/.i3/i3exit reboot, mode "default"
    bindsym x exec --no-startup-id ~/.i3/i3exit shutdown, mode "default"

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

# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+ograve 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, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split

# 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
#bindsym $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+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 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 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 (you can also use the mouse for that)
mode "resize" {
        # These bindings trigger as soon as you enter the resize mode

        # Pressing left will shrink the window’s width.
        # 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 ograve 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
        bindsym Down resize grow height 10 px or 10 ppt
        bindsym Up resize shrink height 10 px or 10 ppt
        bindsym Right 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"

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
         status_command i3status
         workspace_buttons yes
}

exec volti
exec sh /home/simone/.fehbg
exec sudo mpd --kill && mpd
exec network-manager-applet

And this is ~/.i3status.conf

 # i3status configuration file.
# see "man i3status" for documentation.

# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!

general {
        colors = true
        interval = 5
}

order += "volume master"
order += "cpu_usage 0"
order += "cpu_temperature 0"
#order += "ipv6"
#order += "run_watch DHCP"
#order += "run_watch VPN"
order += "wireless wlp7s0"
#order += "ethernet eth0"
order += "battery 0"
order += "load"
order += "tztime local"

wireless wlp7s0 {
        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"
}

cpu_usage {
                format = "CPU: %usage"
}

run_watch DHCP {
        pidfile = "/var/run/dhclient*.pid"
}

run_watch VPN {
        pidfile = "/var/run/vpnc/pid"
}

tztime local {
        format = "%d/%m %H:%M %a"
}

load {
        format = "%1min"
}

disk "/" {
        format = "%free"
}

cpu_temperature 0 {
        format = "T: %degrees°C"
         max_threshold = 65
        path = "/sys/devices/platform/coretemp.0/temp1_input"
}

volume master {
    format = "♪: %volume"
         device = "default"
         mixer = "Master"
         mixer_idx = 0
}

Offline

#220 2013-12-10 17:30:38

pierregermain
Member
From: Mty - Par - Mad - Fra
Registered: 2013-11-28
Posts: 10
Website

Re: i3 desktop screenshots and config sharing

Smlb: I would like to try your "termite terminal" ... could you share your termites's config file ?

Last edited by pierregermain (2013-12-10 17:38:14)

Offline

#221 2013-12-10 18:54:44

smlb
Member
From: /dev/null
Registered: 2013-05-20
Posts: 49
Website

Re: i3 desktop screenshots and config sharing

pierregermain wrote:

Smlb: I would like to try your "termite terminal" ... could you share your termites's config file ?

There you are →  https://github.com/smlb/dotfiles/blob/m … ite/config

Offline

#222 2013-12-10 19:51:48

pierregermain
Member
From: Mty - Par - Mad - Fra
Registered: 2013-11-28
Posts: 10
Website

Re: i3 desktop screenshots and config sharing

smlb wrote:
pierregermain wrote:

Smlb: I would like to try your "termite terminal" ... could you share your termites's config file ?

There you are →  https://github.com/smlb/dotfiles/blob/m … ite/config

thanks, that worked!

Offline

#223 2014-01-05 10:34:01

EAXBreakPARTY
Member
From: .se
Registered: 2014-01-01
Posts: 2
Website

Re: i3 desktop screenshots and config sharing

A week old install, recently got to work on the eye-candy. It's still a work in progress so I'm looking for feedback and ideas. My dotfiles are currently a mess but I'll update this post with links when I've taken the time to clean them up a bit.

Clean:
scr7-thumb.jpg

Fake dirty:
scr2-thumb.jpg
Irssi, Imagemagick, pacman, i3-bar/status

Offline

#224 2014-01-05 19:15:20

smlance
Member
Registered: 2013-12-27
Posts: 8
Website

Re: i3 desktop screenshots and config sharing

I'm off to a simple start: http://i.imgur.com/Xdbx1TL.png

I've only been using i3 for a week or so, and I haven't configured it too heavily.

~/.i3/config

# Start network-manager-applet to manage networks from the status bar (?)
#exec /usr/bin/nm-applet

# Make feh set image as desktop wallpaper
exec --no-startup-id sh ~/.fehbg

# Start wicd for network management
exec --no-startup-id wicd-client --tray

# Start Dropbox daemon
exec --no-startup-id dropboxd

# Assign vlc to workspace 9
assign [class="^(?i)vlc$"] 9

# Start vlc
#exec --no-startup-id i3-msg 'workspace 9; exec vlc; workspace 1'
exec --no-startup-id "vlc -Z"


# Make new windows have a 1px border
new_window 1pixel

### Key-bindings ###

# Mod4 is the Windows key; Mod1 is the Alt key
set $mod Mod4

# $mod + return = try opening a chain of terminal emulators
# bindsym $mod+Return exec i3-sensible-terminal

# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
#
# This config file uses keycodes (bindsym) and was written for the QWERTY
# layout.
#
# To get a config file with the same key positions, but for your current
# layout, use the i3-config-wizard
#

# 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
font pango: Inconsolata 10
# 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:DejaVu Sans Mono 9
font pango: DejaVu Sans Mono, Terminus Bold Semi-Condensed 11
font pango:Terminus 11px

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

bindsym $mod+b border toggle

# start a terminal
bindsym $mod+Return exec lxterminal

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

# start dmenu (a program launcher)
bindsym $mod+d exec "dmenu_run -nb black -fn 'terminus-8'"
# 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.
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop

# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon 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+semicolon 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, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split

# 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
#bindsym $mod+d focus child

# move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad

# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show

# 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+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 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 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 (you can also use the mouse for that)
mode "resize" {
        # These bindings trigger as soon as you enter the resize mode

        # Pressing left will shrink the window’s width.
        # 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

        # same bindings, but for the arrow keys
        bindsym Left        resize shrink width 10 px or 10 ppt
        bindsym Down        resize grow height 10 px or 10 ppt
        bindsym Up          resize shrink height 10 px or 10 ppt
        bindsym Right       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"

# CREDIT TO https://github.com/andreatta/config/blob/master/i3/i3status.conf
# FOR THE COLOR THEME INFORMATION

# color definitions for zenburn theme
set $bg #2c2c2e
set $fg #9f9f9f
set $hi #efef8f
set $ac #a0afa0
set $tx #040404
set $ia #8f8f8f
set $be #8faf9f
set $yw #ccdc90
set $gn #88b090
set $rd #e89393


# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
    status_command i3status
#    output            LVDS1
#    position          top
#    mode              hide
    workspace_buttons yes
#    tray_output       none
    
    font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
    font pango:DejaVu Sans Mono 9

    colors {
#    background #555555
#    statusline #000000
#    focused_workspace #4c7899 #567DBB #ffffff
#    active_workspace #333333 #567DBB #ffffff
#    inactive_workspace #333333 #5F676A #000000
#    urgent_workspace #2f343a #900000 #ffffff

        background          $bg
        statusline          $fg
        separator           $hi
        focused_workspace   $gn        $bg        $ac
        active_workspace    $gn        $ac        $tx
        inactive_workspace  $bg        $bg        $ia
        urgent_workspace    $rd        $bg        $ac
    }
}

##########
# COLORS #
##########

#client.focused          #4c7899 #285577 #ffffff #2e9ef4
# client.focused              #77994B #547628 #EEEEEE
# client.focused_inactive #333333 #5F676A #EEEEEE
# client.unfocused        #333333 #222222 #888888 #292d2e
# client.urgent           #2f343a #900000 #ffffff #900000

#client.focused          #3F8AC2 #096BAA #00BAA7 #00DA8E
#client.focused_inactive #333333 #5F676A #ffffff #484e50
#client.unfocused        #333333 #424242 #888888 #292d2e
#client.urgent           #C10004 #900000 #ffffff #900000

client.focused              $ac        $ac         $tx
client.unfocused            $bg        $bg         $ia
client.focused_inactive     $bg        $bg         $ac
client.urgent               $rd        $rd         $tx

# KEY BINDINGS #
bindsym XF86AudioRaiseVolume exec "amixer sset Speaker '5%+'"
bindsym XF86AudioLowerVolume exec "amixer sset Speaker '5%-'"
bindsym XF86AudioMute exec "amixer set Speaker toggle"

#######################################################################
# automatically start i3-config-wizard to offer the user to create a
# keysym-based config which used his favorite modifier (alt or windows)
#
# i3-config-wizard will not launch if there already is a config file
# in ~/.i3/config.
#
# Please remove the following exec line:
#######################################################################
#exec i3-config-wizard

/etc/i3status.conf

# i3status configuration file.
# see "man i3status" for documentation.

# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!

general {
        colors = true
	color_good = '#AF7AFF'
	color_bad = '#CC9966'
	color_degraded = '#aaaaaa'
        interval = 5
}

#order += "ipv6"
order += "disk /"
#order += "run_watch DHCP"
#order += "run_watch VPN"
order += "wireless wlo1"
order += "ethernet enp1s0"
order += "battery 0"
#order += "load"
order += "cpu_usage"
order += "volume master"
order += "tztime local"

cpu_usage {
	format = "CPU: %usage"
}

volume master {
        format = "♪: %volume"
        device = "default"
        mixer = "Speaker"
        mixer_idx = 0
}

wireless wlo1 {
        format_up = "W: (%quality at %essid) %ip"
	format_down = ""
	# format_down = "WiFi: down"
}

ethernet enp1s0 {
        # if you use %speed, i3status requires root privileges
        # format_up = "Eth: %ip (%speed)"
	format_up = "Eth: %ip"
        format_down = "Eth: down"
}

battery 0 {
        format = "Bat: %percentage %remaining"
	#format = "%status %percentage %remaining"
}

run_watch DHCP {
        pidfile = "/var/run/dhclient*.pid"
}

run_watch VPN {
        pidfile = "/var/run/vpnc/pid"
}

tztime local {
        format = "%Y-%m-%d %H:%M"
}

load {
        format = "Load: %1min"
}

disk "/" {
        format = "Free: %free"
}

Offline

#225 2014-01-09 21:43:58

smlb
Member
From: /dev/null
Registered: 2013-05-20
Posts: 49
Website

Re: i3 desktop screenshots and config sharing

New setup → https://plus.google.com/u/0/10161259731 … gsDUDt2YC9 (the link is a post of mine in the Arch community)

Offline

Board footer

Powered by FluxBB