You are not logged in.

#476 2016-03-14 10:18:33

jv2112
Member
Registered: 2011-07-23
Posts: 160

Re: i3 desktop screenshots and config sharing

raeste

Please share your confiig . Love your Ba r  !!  smile


Life is pleasant. Death is peaceful. It's the transition that's troublesome. Isaac Asimov - / -

Offline

#477 2016-04-23 12:09:01

stupidus
Member
Registered: 2012-02-27
Posts: 124

Re: i3 desktop screenshots and config sharing

I made a python script to show all my i3 workspaces sorted according to the screen they're on. And then I piped it into lemonbar. I think I just need to rework the colors a bit.

lemonbar.png

Offline

#478 2016-05-15 11:06:10

raeste
Member
Registered: 2011-10-01
Posts: 16

Re: i3 desktop screenshots and config sharing

jv2112 wrote:

raeste

Please share your confiig . Love your Ba r  !!  smile

Here is my i3 config. Since one of the last updates i have a problem with the icons in the bar some of them are not longer displayed correctly. I don't know why..

# 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 some time, 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

# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
font pango:Source Code Pro 10
# Before i3 v4.8, we used to recommend this one as the default:
# 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, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesn’t scale on retina/hidpi displays.

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

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

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

# 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+odiaeresis 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+odiaeresis 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

set $ws1 "1:"
set $ws2 "2:"
set $ws3 "3:"
set $ws4 "4:"
set $ws5 "5:"
set $ws6 "6:"
set $ws7 "7:"
set $ws8 "8:"
set $ws9 "9:"
set $ws10 "10:"

# 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 $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10

# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10

# 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 odiaeresis 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"

set $bg-color               #2f343f
set $inactive-bg-color      #2f343f
set $text-color             #f3f4f5
set $inactive-text-color    #676E7D
set $urgent-bg-color        #E53935

#window colors
#                       border              background          text
client.focused          $bg-color           $bg-color           $text-color             #00ff00
client.unfocused        $inactive-bg-color  $inactive-bg-color  $inactive-text-color    #00ff00
client.focused_inactive $inactive-bg-color  $inactive-bg-color  $inactive-text-color    #00ff00
client.urgent           $urgent-bg-color    $urgent-bg-color    $text-color             #00ff00

hide_edge_borders both

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
    status_command i3blocks -c ~/.config/i3/i3blocks.conf
    position top
    colors {
        background $bg-color
        separator #757575
        #
        focused_workspace   $bg-color           $bg-color           $text-color
        inactive_workspace  $inactive-bg-color  $inactive-bg-color  $inactive-text-color
        urgent_workspace    $urgent-bg-color    $urgent-bg-color    $text-color
    }
}

exec_always --no-startup-id feh --bg-scale ~/Bilder/.wallpaper/new.jpg
bindsym $mod+Shift+P move scratchpad
bindsym $mod+p scratchpad show
exec --no-startup-id i3-msg 'exec thunderbird; exec chromium; exec urxvt'
assign [class="Firefox"] $ws1
assign [class="chromium"] $ws1
assign [class="Thunderbird"] $ws8
assign [class="URxvt"] $ws2
assign [class="QtCreator"] $ws3
assign [class="NetBeans IDE 8.1"] $ws3
assign [class="telegram-desktop"] $ws9
assign [class="sun-awt-X11-XFramePeer"] $ws3
assign [class="jetbrains-studio"] $ws3
assign [class="Steam"] $ws4
assign [class="Spotify"] $ws9
assign [class="TeXstudio"] $ws5
assign [class="Eclipse"] $ws3
bindsym Print exec scrot '%Y-%m-%d-%T-screenshot.png' -e 'mv $f /tmp/'
set $Locker i3lock -i ~/Bilder/.wallpaper/lock.png
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
    bindsym l exec --no-startup-id $Locker, mode "default"
    bindsym e exec --no-startup-id i3-msg exit, mode "default"
    bindsym r exec --no-startup-id systemctl reboot, mode "default"
    bindsym s exec --no-startup-id systemctl suspend, mode "default"
    bindsym h exec --no-startup-id systemctl hibernate, mode "default"
    bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"

    # back
    bindsym Return mode "default"
    bindsym Escape mode "default"
}
bindsym $mod+Insert mode "$mode_system"
bindsym $mod+m exec --no-startup-id /home/kev/.screenlayout/laptop.sh
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 1  +5% && pactl set-sink-mute 1 0 && killall -SIGUSR1 i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 1  -5% && pactl set-sink-mute 1 0 && killall -SIGUSR1 i3status
bindsym XF86AudioMute exec amixer -q set Master toggle
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
bindsym XF86MonBrightnessDown exec xbacklight -dec 5
bindsym XF86Explorer exec thunar
bindsym XF86Tools exec lxappearance
bindsym XF86Search exec playerctl previous
bindsym XF86LaunchA exec playerctl next
bindsym XF86Display exec arandr
bindsym $mod+d exec rofi -show run -lines 3 -eh 2 -width 100 -padding 400 -opacity "75" -bw 0 -bc "$bg-color" -bg "$bg-color" -fg "$text-color" -hlbg "$bg-color" -hlfg "#9575cd" -font "Hack 12"
exec --no-startup-id nm-applet
exec --no-startup-id dropbox
exec --no-startup-id compton -f
exec --no-startup-id xss-lock -- $Locker

As Bar i use i3blocks.
Here is the config for i3blocks.

# Global properties
#
# The top properties below are applied to every block, but can be overridden.
# Each block command defaults to the script name to avoid boilerplate.
#command=/usr/lib/i3blocks/$BLOCK_NAME
separator_block_width=15
markup=none


[Weather]
command=~/.bin/IconicWeather.sh "<Country/CityCode"
interval=1800
color=#e97ac8

# Disk usage
#
# The directory defaults to $HOME if the instance is not specified.
# The script may be called with a optional argument to set the alert
# (defaults to 10 for 10%).
[disk]
label=:
command=/usr/lib/i3blocks/disk 
instance=/
interval=30
color=#1793D1

[disk]
label=:
command=/usr/lib/i3blocks/disk $HOME
interval=30
color=#859900

[ssid]
label=SSID:
command=echo "$(iw dev wlp3s0 link | grep SSID | cut -d " " -f 2-)"
color=#d33682
interval=5

[wireless]
command=/usr/lib/i3blocks/iface
instance=wlp3s0
color=#00FF00
interval=10

[strength]
command=echo "$(iw dev wlp3s0 link | grep signal | cut -d " " -f 2-)"
interval=10
color=#cb4b16

[VPN]
command=~/.bin/nm-vpn.sh
interval=10
color=#00ff00

[temp]
label=
command=echo "$(sensors coretemp-isa-0000 | awk '/Physical/ {print $4}')"
interval=2
color=#b58900

[fanspeed]
label=speed:
command=~/.bin/fanspeed
interval=5
color=#6c71c4

[load]
label= 
command=/usr/lib/i3blocks/load_average
interval=10
color=#6c71c4

# CPU usage
#
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.

#[load_average]
#label=Load
#interval=10

# Battery indicator
#
# The battery instance defaults to 0.
[battery]
label=BAT0:
command=/usr/lib/i3blocks/battery
instance=0
interval=1

[battery]
label=BAT1:
command=/usr/lib/i3blocks/battery
instance=1
interval=1

[time]
label=
command=date '+%H:%M:%S'
interval=1
color=#50C878

# Date Time
#
[date]
label=
command=date '+%a %d %b %y'
interval=200
color=#50C878

[volume]
label=Vol:
command=/usr/lib/i3blocks/volume
instance=Master
#instance=PCM
interval=once
signal=10
color=#d70a53

Offline

#479 2016-05-26 23:37:07

blubbblubb
Member
Registered: 2015-04-01
Posts: 4

Re: i3 desktop screenshots and config sharing

raeste wrote:

...
As Bar i use i3blocks.
Here is the config for i3blocks.

...
[VPN]
command=~/.bin/nm-vpn.sh
interval=10
color=#00ff00
...

Mind sharing your vpn script? Im not really happy with my solution.

62unCJdt.png

Wq47nhot.png

Last edited by blubbblubb (2016-05-27 16:00:03)

Offline

#480 2016-06-10 22:31:15

mrshadowtux
Member
From: Düsseldorf, Germany
Registered: 2016-06-10
Posts: 2
Website

Re: i3 desktop screenshots and config sharing

So, my first post in this forum. smile

Here's my current i3 environment.

GTK Theme: arc
Icon Theme: arc, font-awesome
GUI fonts: Roboto and Noto Sans
Terminal font: Monospace
i3status: i3pystatus

Empty:
5572e4225614314e8df08987255b404a.png

Busy:
9f34ccbea84ac71b54a859d569cb6b9f.png

GTK:
5e99ed05b6461627a6541b1f15fa4e0a.png

i3 config (full of custom bindsyms):

# vim:filetype=i3

set $mod Mod4
font pango:Roboto, FontAwesome 10

floating_modifier $mod
bindsym $mod+Shift+q kill

bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right

bindsym $mod+f fullscreen toggle

bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split

bindsym $mod+Shift+space floating toggle

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

bindsym $mod+a focus parent
#bindsym $mod+d focus child

bindsym $mod+v split vertical
bindsym $mod+h split horizontal

# 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


mode "resize"
{
	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

	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

	bindsym Return mode "default"
	bindsym Escape mode "default"
}

bindsym $mod+r mode "resize"


bar
{
	status_command python ~/.config/i3/i3pystatus_config.py
	workspace_buttons yes
	colors {
		background #003242
		statusline #ffffff
	}
}


# Shortcuts
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'i3 wirklich beenden?' -b 'Ja' 'i3-msg exit'"

bindsym $mod+Return exec --no-startup-id i3-sensible-terminal
bindsym $mod+d exec i3-dmenu-desktop
bindsym XF86MonBrightnessDown exec --no-startup-id sudo bright_down
bindsym XF86MonBrightnessUp exec --no-startup-id sudo bright_up
bindsym XF86AudioRaiseVolume exec pamixer --increase 5
bindsym XF86AudioLowerVolume exec pamixer --decrease 5
bindsym XF86AudioMute exec pamixer -t
bindsym XF86LaunchA exec --no-startup-id /usr/local/bin/touchpad_toggle.sh &
bindsym --release Print exec --no-startup-id import -window root ~/Bilder/Screens/screen_$(date +%Y-%m-%d_%H-%M-%S).png
bindsym $mod+l exec --no-startup-id xscreensaver-command --lock &
bindsym $mod+shift+l exec --no-startup-id leafpad &
bindsym $mod+x [urgent=latest] focus
bindsym $mod+b exec --no-startup-id vivaldi-stable &
bindsym $mod+n exec --no-startup-id caja &
bindsym $mod+z exec --no-startup-id google-chrome-stable --app=http://zattoo.com &
bindsym $mod+j exec --no-startup-id feh --bg-fill "$(find /home/afeld/Bilder/Wallpaper/ | shuf -n1)" &
bindsym $mod+F2 exec --no-startup-id xfce4-appfinder &

# Autostart
#exec --no-startup-id /usr/local/bin/touchpad_toggle.sh &
exec --no-startup-id sh ~/.fehbg &
exec --no-startup-id xscreensaver -no-splash &
exec --no-startup-id dunst &
exec --no-startup-id shutter --min_at_startup &
exec --no-startup-id autokey-gtk &
exec --no-startup-id parcellite &
exec --no-startup-id pamac-tray &
exec --no-startup-id /usr/local/bin/screenlayout.sh &

i3pystatus config:

from i3pystatus import Status
status = Status(standalone=True)


status.register("clock",
	format=" %a %-d %b %X KW%V",
	on_leftclick= ["/usr/local/bin/orage_toggle"],
)


status.register("network",
	interface="enp0s31f6",
	format_up=" {v4cidr}",
	format_down=" enp0s31f6 down",
	color_up="#FFFFFF",
	color_down="#A3A3A3",
)


status.register("network",
	interface="wlp4s0",
	format_up=" {essid} {quality:3.0f}% ({v4cidr})",
	format_down=" WLAN aus",
	color_up="#FFFFFF",
	color_down="#A3A3A3",
)


status.register("pulseaudio",
	format=" {volume}",
	format_muted=" {volume}",
)


status.register("shell",
	command="sudo /usr/local/bin/bright_get"
)


status.register("battery",
	format="{status} {percentage:.0f}",
	full_color="#FFFFFF",
	color="#FFFFFF",
	charging_color="#FFFFFF",
	alert=True,
	alert_percentage=7,
	status={
		"DIS": "",
		"CHR": "",
		"FULL": "",
	},
)


# location_codes unter: https://weather.codes/germany/
status.register("weather",
	location_code="GMXX0446",
	format="S: {current_temp}",
	colorize=False,
	units="metric",
	on_leftclick= ["google-chrome-stable --app=http://www.weather.com/de-DE/wetter/heute/l/GMXX0446"],
)


status.register("weather",
	location_code="GMXX0028",
	format="D: {current_temp}",
	colorize=False,
	units="metric",
	on_leftclick= ["google-chrome-stable --app=http://www.yr.no/place/Germany/North_Rhine-Westphalia/D%C3%BCsseldorf/"],
)


status.run()

-- read the rules and only post thumbnails https://bbs.archlinux.org/viewtopic.php?id=61754  [jwr] --

All of the big screenshots were thumbnails. Or do you really desire to do a thumbnail of a 589x453 window screenshot or even a i3bar with almost no height? That's kind of rediculous.. Please leave the pictures now as they are.

Last edited by mrshadowtux (2016-06-11 23:23:03)

Offline

#481 2016-06-13 22:39:09

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 673
Website

Re: i3 desktop screenshots and config sharing

@stupidus holy cow that's a crafted setup!
Almost makes me like colors wink


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#482 2016-06-15 19:31:02

tfbio
Member
Registered: 2016-01-28
Posts: 5

Re: i3 desktop screenshots and config sharing

stupidus wrote:

I made a python script to show all my i3 workspaces sorted according to the screen they're on. And then I piped it into lemonbar. I think I just need to rework the colors a bit.

lemonbar.png

Hey, I really like the idea of having all monitors workspaces everywhere, do you mind sharing your python script?

Offline

#483 2016-06-16 16:02:25

stupidus
Member
Registered: 2012-02-27
Posts: 124

Re: i3 desktop screenshots and config sharing

I uploaded the script here. It is using the lemonbar syntax, so you need to pipe it into lemonbar or change it to whatever formatting syntax you like to use.
I have a workspace for music, that I bound to the key left of "1", so I manually moved that workspace in the beginning of the list. Unless, you are using a similar keybinding you could probably remove that part of the script.
The script also includes an indicator for the mode (e.g. resize).

http://pastebin.com/kQNbh70P

If you want, I can also upload the lemonbar script, but I should probably create a github account for that.

Offline

#484 2016-08-01 12:16:20

ioanm
Member
From: 127.0.0.1
Registered: 2014-05-03
Posts: 34
Website

Re: i3 desktop screenshots and config sharing

My i3 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 some time, 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 Mod1

for_window [class="XCalc" instance="xcalc"] floating enable

# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8

# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8

# Before i3 v4.8, we used to recommend this one as the default:
# 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, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesn’t scale on retina/hidpi displays.

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

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

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

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

# 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 --no-startup-id "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'"
# turn off computer
bindsym $mod+Shift+s exec --no-startup-id systemctl poweroff

# 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"

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

Features:
* Shutdown shortcut (Alt+Shift+S)
* XCalc always floats
* Alt as modifier

Enjoy!


Arch Linux + i3wm (amd64)

Offline

#485 2016-09-10 16:48:00

iMicq
Member
From: Serbia
Registered: 2014-12-09
Posts: 9

Re: i3 desktop screenshots and config sharing

My i3 config smile

1920x1080_preview.png

It's simple Urxvt with i3... I used Font Awesome for special characters. 

You can get all files from my gihub repo > limbahter@github


UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity.

Offline

#486 2016-10-13 20:13:25

ztreis
Member
Registered: 2016-02-29
Posts: 5

Re: i3 desktop screenshots and config sharing

Hello! I was using simple Xfce with standart themes and without any features but when I saw i3 screenshots I couldn't resist to try it. This is my first attempt to configure anything by myself. I spend a few days playing with i3 and fell in love with it smile

ZdEJqJom.png OOkCaYbm.png

Last edited by ztreis (2016-10-13 20:14:22)

Offline

#487 2016-10-13 21:13:11

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: i3 desktop screenshots and config sharing

ztreis wrote:

Hello! I was using simple Xfce with standart themes and without any features but when I saw i3 screenshots I couldn't resist to try it. This is my first attempt to configure anything by myself. I spend a few days playing with i3 and fell in love with it smile

http://i.imgur.com/ZdEJqJom.png http://i.imgur.com/OOkCaYbm.png

Nice setup. smile Mind sharing the colours?

Offline

#488 2016-10-13 22:24:05

ztreis
Member
Registered: 2016-02-29
Posts: 5

Re: i3 desktop screenshots and config sharing

Hund wrote:

Nice setup. smile Mind sharing the colours?

Sure smile
In i3 config file I use those colors:

set $bg-color            #3F362F
set $inactive-bg-color   #3F362F
set $text-color          #FFD29E
set $inactive-text-color #7D6F67
set $urgent-bg-color     #E53935
set $indicator-color     #FFB300
set $border-color        #5E4D3A

# window colors
#                       border              background         text                 indicator
client.focused          $bg-color           $bg-color          $text-color          $indicator-color
client.unfocused        $inactive-bg-color  $inactive-bg-color $inactive-text-color $indicator-color
client.focused_inactive $inactive-bg-color  $inactive-bg-color $inactive-text-color $indicator-color
client.urgent           $urgent-bg-color    $urgent-bg-color   $text-color          $indicator-color

I've loaded all my config files on GitHub but it's a tooootal mess. I hope I'll make it look good later...  Anyway in appsColors_config you can find everything about colors smile
After I set my xterm colors I didn't like the way ranger and cmus use those colors (by default there is too much blue) so I changed their themes a little. I also found Sublime theme I like and made minor changes (only background as far as I remember).

Offline

#489 2016-10-15 06:37:09

borix134
Member
Registered: 2016-10-15
Posts: 9

Re: i3 desktop screenshots and config sharing

5b427e509534299.jpg 6f7355509534300.jpg 118b34509534301.jpg 866368509534302.jpg
i3-gaps, ligthdm as login manager, numix as gtk theme, firefox as browser, mousepad for editor, thunar for file manager, compton for compositor.
i3config

exec --no-startup-id synclient TapButton1=1
exec --no-startup-id xsetroot -solid "#FCFFBE"
exec --no-startup-id compton -b -c
exec --no-startup-id mpd
set $mod Mod4
new_window pixel 2
new_float pixel 2
client.focused          #313131 #313131 #313131 #313131 #313131
client.focused_inactive #313131 #313131 #313131 #313131 #313131
client.unfocused        #313131 #313131 #313131 #313131 #313131
client.urgent           #313131 #313131 #313131 #313131 #313131
client.placeholder      #313131 #313131 #313131 #313131 #313131
gaps inner 4
gaps outer 4
font pango:monospace 8
floating_modifier $mod
bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Shift+q kill
bindsym $mod+d exec --no-startup-id dmenu_run -nb "#FCFFBE" -sb "#FFFFFF" -nf "#313131" -sf "#313131"
bindsym $mod+F11 exec --no-startup-id light -U 5
bindsym $mod+F12 exec --no-startup-id light -A 5
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
bindsym $mod+h split h
bindsym $mod+v split v
bindsym $mod+f fullscreen toggle
bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle
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+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
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exit
bindsym $mod+Left resize shrink width 10 px or 10 ppt
bindsym $mod+Right resize grow width 10 px or 10 ppt
bindsym $mod+Up resize shrink height 10 px or 10 ppt
bindsym $mod+Down resize grow height 10 px or 10 ppt
bindsym $mod+r exec --no-startup-id ~/Scripts/resize.sh
bar {
        status_command i3status	
	colors {
		background #FCFFBE
		statusline #313131
		separator  #313131

        	focused_workspace  #313131 #FCFFBE #313131
        	active_workspace   #FCFFBE #FCFFBE #313131
        	inactive_workspace #FCFFBE #FCFFBE #313131
        	urgent_workspace   #FCFFBE #FCFFBE #313131
        	binding_mode       #FCFFBE #FCFFBE #313131
	}
	tray_output none
}

Offline

#490 2016-11-01 08:07:49

mikaelbrun
Member
From: Tistedal/ Norway
Registered: 2016-01-01
Posts: 43

Re: i3 desktop screenshots and config sharing

ztreis wrote:

Hello! I was using simple Xfce with standart themes and without any features but when I saw i3 screenshots I couldn't resist to try it. This is my first attempt to configure anything by myself. I spend a few days playing with i3 and fell in love with it smile

http://i.imgur.com/ZdEJqJom.png http://i.imgur.com/OOkCaYbm.png

This was incredible comfi coloring. Nice work on the color theme!

Offline

#491 2016-11-06 23:21:25

marcoscan
Member
Registered: 2009-04-07
Posts: 36

Re: i3 desktop screenshots and config sharing

Switched from bspwm to i3-gaps. But I missed two things I was used to:

First: the binary space partitioning, added with this script https://github.com/olemartinorg/i3-alternating-layout .
Second: the ability to resize windows with a "directional" approach and without the need to activate a "mode", as I did in bspwm with the "bspc node @west, east,north,south" command. I solved the problem with the help of xwininfo and xdotool. A bit far from the i3 resizing philosophy, but I'm happy with the result :-)

Clean:
i3_november_2016_clean_thumb.jpg

Dirty:
i3_november_2016_dirty_thumb.jpg

Offline

#492 2017-01-11 18:13:47

caiocon
Member
From: SP - Brasil
Registered: 2011-04-29
Posts: 28

Re: i3 desktop screenshots and config sharing

Here is mine. First time using i3 (or any tiling wm), getting used to it now.

Visible on the second shot is i3 with i3status on i3bar; Firefox with Vimperator; urxvt as terminal; MPD as music player (ncmpcpp to control it); using compton for compositing. No tray; any suggestions ? (preferably one that hides on bottom-right corner and only shows on pointer aproximation or a keybind)

Clean (love the ocean)
0KWfIcp3.jpg

Dirty
bM6D9tmD.jpg

edit: using Arc-Darker as GTK theme. Any suggestion on a theme that matches the colors I'm using on the top, at the bar?

Last edited by caiocon (2017-01-11 18:17:21)

Offline

#493 2017-02-28 12:56:44

termNinja
Member
Registered: 2016-02-21
Posts: 19

Re: i3 desktop screenshots and config sharing

Hello dear friends smile

Here is my current setup. I've been using arch for around a year now and i3 for around 5 months. I really enjoy working on my laptop now, everything is so MINE! big_smile

I reinstalled my system recently so I have to tighten up my config file, after that I shall post everything on github in case someone is interested.


QFMSxNjt.png dXicGXht.png
5Qny40Yt.png etmCtNVt.png YDzS5A9t.png

Last edited by termNinja (2017-02-28 14:07:57)

Offline

#494 2017-02-28 13:39:29

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: i3 desktop screenshots and config sharing

termNinja wrote:

Hello dear friends smile

Here is my current setup. I've been using arch for around a year now and i3 for around 5 months. I really enjoy working on my laptop now, everything is so MINE! big_smile

I reinstalled my system recently so I have to tighten up my config file, after that I shall post everything on github in case someone is interested.

http://thumbnails117.imagebam.com/53534/6985fa535335814.jpg http://thumbnails117.imagebam.com/53534/d8a6ae535335821.jpg
http://thumbnails117.imagebam.com/53534/129245535335793.jpg http://thumbnails117.imagebam.com/53534/44ada5535335797.jpg http://thumbnails117.imagebam.com/53534/8079ac535335799.jpg

You should really consider another host that doesn't have popups with fake Casino ads and then redirects you to some third party site. I couldn't even see your pictures. hmm

Last edited by Hund (2017-02-28 13:40:03)

Offline

#495 2017-02-28 14:03:57

termNinja
Member
Registered: 2016-02-21
Posts: 19

Re: i3 desktop screenshots and config sharing

Hund wrote:
termNinja wrote:

Hello dear friends smile

Here is my current setup. I've been using arch for around a year now and i3 for around 5 months. I really enjoy working on my laptop now, everything is so MINE! big_smile

I reinstalled my system recently so I have to tighten up my config file, after that I shall post everything on github in case someone is interested.

http://thumbnails117.imagebam.com/53534/6985fa535335814.jpg http://thumbnails117.imagebam.com/53534/d8a6ae535335821.jpg
http://thumbnails117.imagebam.com/53534/129245535335793.jpg http://thumbnails117.imagebam.com/53534/44ada5535335797.jpg http://thumbnails117.imagebam.com/53534/8079ac535335799.jpg

You should really consider another host that doesn't have popups with fake Casino ads and then redirects you to some third party site. I couldn't even see your pictures. hmm

Hey thanks for telling me, my ad blocker blocked the ads so I didn't know they were doing that crap. I have changed the host to imgur now, it should be better I hope.

Offline

#496 2017-02-28 14:32:17

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: i3 desktop screenshots and config sharing

termNinja wrote:
Hund wrote:
termNinja wrote:

Hello dear friends smile

Here is my current setup. I've been using arch for around a year now and i3 for around 5 months. I really enjoy working on my laptop now, everything is so MINE! big_smile

I reinstalled my system recently so I have to tighten up my config file, after that I shall post everything on github in case someone is interested.

http://thumbnails117.imagebam.com/53534/6985fa535335814.jpg http://thumbnails117.imagebam.com/53534/d8a6ae535335821.jpg
http://thumbnails117.imagebam.com/53534/129245535335793.jpg http://thumbnails117.imagebam.com/53534/44ada5535335797.jpg http://thumbnails117.imagebam.com/53534/8079ac535335799.jpg

You should really consider another host that doesn't have popups with fake Casino ads and then redirects you to some third party site. I couldn't even see your pictures. hmm

Hey thanks for telling me, my ad blocker blocked the ads so I didn't know they were doing that crap. I have changed the host to imgur now, it should be better I hope.

My ad-blocker on the phone didn't block it. It works much better now. It's a nice desktop as well. smile

Offline

#497 2017-02-28 18:36:40

thatsallyourspaceships
Member
Registered: 2012-06-03
Posts: 24

Re: i3 desktop screenshots and config sharing

That is why i used to have adblocker on phone installed, even though its not officially supported anymore and battery drain is extravagance it surely gets rid of ads and malware stuff ;-)

And it is really a nice looking desktop you have

Last edited by thatsallyourspaceships (2017-02-28 18:39:10)

Offline

#498 2017-03-02 09:17:11

Minbari
Member
From: 127.0.0.1
Registered: 2015-03-08
Posts: 30

Re: i3 desktop screenshots and config sharing

conkyi3bar.png

i3wm with conky as i3status replacement.

Last edited by Minbari (2017-04-06 20:41:35)


UNIX is user-friendly. It's just very selective about who is friends are.

Offline

#499 2017-03-06 08:13:45

termNinja
Member
Registered: 2016-02-21
Posts: 19

Re: i3 desktop screenshots and config sharing

Minbari wrote:

https://ibb.co/eZFvgF

i3wm with conky as i3status replacement.

I like it smile
Did you use powerline symbols by yourself to make the status bar?

Offline

#500 2017-03-06 10:07:51

Minbari
Member
From: 127.0.0.1
Registered: 2015-03-08
Posts: 30

Re: i3 desktop screenshots and config sharing

termNinja wrote:
Minbari wrote:

https://ibb.co/eZFvgF

i3wm with conky as i3status replacement.

I like it smile
Did you use powerline symbols by yourself to make the status bar?

No, just Font Awesome.


UNIX is user-friendly. It's just very selective about who is friends are.

Offline

Board footer

Powered by FluxBB