You are not logged in.

#501 2017-03-06 23:35:52

Steinberg2010
Member
Registered: 2016-01-28
Posts: 50

Re: i3 desktop screenshots and config sharing

Minbari wrote:
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.

Would you mind sharing how you did that - I have conky as my i3bar, but no idea how to make the arrowheads appear...

Thanks!
~S

Offline

#502 2017-03-07 07:22:59

ghus
Member
Registered: 2016-11-14
Posts: 153

Re: i3 desktop screenshots and config sharing

I have used https://aur.archlinux.org/packages/ttf-font-awesome/
Here is the /i3/conky-i3bar

                                                                                    

    # 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/.config/i3/conkyrc

/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 Mod4

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

    # Start i3bar to display a workspace bar (plus the system information i3status
    # finds out, if available)
    bar {
       
         status_command $HOME/.config/i3/conky-i3bar



          font pango:Cousine,FontAwesome 9
     
       
         colors {
         
            background #000000
            statusline #ffffff
            separator #666666

            focused_workspace  #4c7899 #285577 #ffffff
            active_workspace   #333333 #5f676a #ffffff
            inactive_workspace #333333 #222222 #888888
            urgent_workspace   #2f343a #900000 #ffffff
            binding_mode       #2f343a #900000 #ffffff
        }
    }

    #wallpaper

    exec --no-startup-id feh --bg-fill ~/Walls/anime.jpg




    #volume

    bindsym $mod+Page_Up exec --no-startup-id amixer -q set Master 3%+ -q
    bindsym $mod+Page_Down exec --no-startup-id amixer -q set Master 3%- -q
    bindsym $mod+End exec --no-startup-id amixer -q set Master toggle

    #shortcuts

    bindsym $mod+Shift+w exec --no-startup-id firefox
    bindsym $mod+Shift+d exec --no-startup-id dolphin
    bindsym $mod+Shift+a exec --no-startup-id audacious

/i3/conkyrc

out_to_x no
own_window no
out_to_console yes
background no
max_text_width 0

# Update interval in seconds
update_interval 2.0

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

# Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
short_units yes

# How strict should if_up be when testing an interface for being up?
# The value is one of up, link or address, to check for the interface
# being solely up, being up and having link or being up, having link
# and an assigned IP address.
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

# Stuff after 'TEXT' will be formatted on screen
TEXT

# JSON for i3bar

 [{ "full_text" : "Home ${fs_free /home} Free" , "color" : "\#ffffff" } ,
  { "full_text" : "RAM ${memperc}%" , "color" :
    ${if_match ${memperc}<90}"\#ffffff"${else}"\#ff0000"${endif} }],

dropbox

I hope to don't said wrong , but for me I was not showing the icons until I'd changed the size of the fonts on the /i3/config from

   font pango:Cousine,FontAwesome 8

to

   font pango:Cousine,FontAwesome 9

Oh I forgot : audacious was just "put there " lol .

Last edited by ghus (2017-03-07 07:27:47)

Offline

#503 2017-03-07 10:22:56

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

Re: i3 desktop screenshots and config sharing

Steinberg2010 wrote:

Would you mind sharing how you did that - I have conky as my i3bar, but no idea how to make the arrowheads appear...

Thanks!
~S

I can do that but it will take too long, so insted of that i will just post the conkyrc.

-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
  author: Minbari
]]

conky.config = {
    out_to_x = false,
    own_window = false,
    out_to_console = true,
    background = false,
    max_text_width = 0,
    update_interval = 1.0,
    total_run_times = 0,
    short_units = true,
    if_up_strictness = "address",
    use_spacer = "left",
    override_utf8_locale = false,
    cpu_avg_samples = 2,
    
    --Text settings
    use_xft = true,
    font = 'DejaVu Sans Mono:size = 8',
    xftalpha = 0.5,
    uppercase = false,
    temperature_unit = 'celsius'
}

conky.text = [[
  [
    {
      "full_text": "",
      "color": "\#3675b0",
      "background": "\#20242c",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "  ${cpu cpu0}%  ${exec sensors | grep 'Core' | cut -c16-23 | head -n1} ",
      "color": "\#fdf6e3",
      "background": "\#3675b0",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "",
      "color": "\#30689c",
      "background": "\#3675b0",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "   ${cpu cpu1}%  ${exec sensors | grep 'Core' | cut -c16-23 | tail -n1} ",
      "color": "\#fdf6e3",
      "background": "\#30689c",
      "separator": true,
      "separator_block_width": 0
    },
   {
      "full_text": "",
      "color": "\#2a5b89",
      "background": "\#30689c",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "  ${mem} / ${memmax} (${memperc}%) ",
      "color": "\#fdf6e3",
      "background": "\#2a5b89",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "",
      "color": "\#244e75",
      "background": "\#2a5b89",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "  ${fs_used} /${fs_size} (${fs_used_perc}%) ",
      "color": "\#fdf6e3",
      "background": "\#244e75",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "",
      "color": "\#1e4162",
      "background": "\#244e75",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "  ${exec amixer get Master | grep % | awk '{print $5}' | sed 's/[^0-9\%]//g' | head -n1} ",
      "color": "\#fdf6e3",
      "background": "\#1e4162",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "",
      "color": "\#18344e",
      "background": "\#1e4162",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "  (${battery_percent} %) ",
      "color": "\#fdf6e3",
      "background": "\#18344e",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "",
      "color": "\#12273b",
      "background": "\#18344e",
      "separator": true,
      "separator_block_width": 0
    },
      {
      "full_text": "  ${time %H:%M:%S} ",
      "color": "\#fdf6e3",
      "background": "\#12273b",
      "separator": true,
      "separator_block_width": 0
    },
   {
      "full_text": "",
      "color": "\#060d13",
      "background": "\#12273b",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "  ${time %a %d.%m.%Y} ",
      "color": "\#fdf6e3",
      "background": "\#060d13",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "",
      "color": "\#20242c",
      "background": "\#060d13",
      "separator": true,
      "separator_block_width": 0
    }
  ],
]]

The result is:
conky_i3bar.png


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

Offline

#504 2017-03-13 21:49:09

Sandm
Member
Registered: 2017-03-13
Posts: 2

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://i.imgur.com/dXicGXht.png

Hello, I'm new to i3. May I ask how to make such lock screen?


Also, my desktop right now: http://imgur.com/nsAaVRf
Not finished yet hmm

Offline

#505 2017-03-13 23:49:58

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

Re: i3 desktop screenshots and config sharing

Sandm wrote:

Hello, I'm new to i3. May I ask how to make such lock screen?

Install i3lock-fancy-git and add

set $Locker i3lock-fancy
 

to your i3 config file.


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

Offline

#506 2017-03-16 21:12:57

Sandm
Member
Registered: 2017-03-13
Posts: 2

Re: i3 desktop screenshots and config sharing

Minbari wrote:

Install i3lock-fancy-git and add

set $Locker i3lock-fancy
 

to your i3 config file.

Thanks for reply big_smile

Offline

#507 2017-03-23 16:02:23

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

Re: i3 desktop screenshots and config sharing

i3_thumb.png

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


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

Offline

#508 2017-03-23 22:27:28

betseg
Member
From: İzmir, Turkey
Registered: 2015-04-25
Posts: 173

Re: i3 desktop screenshots and config sharing

Minbari wrote:
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
  author: Minbari
]]

conky.config = {
    out_to_x = false,
    own_window = false,
    out_to_console = true,
    background = false,
    max_text_width = 0,
    update_interval = 1.0,
    total_run_times = 0,
    short_units = true,
    if_up_strictness = "address",
    use_spacer = "left",
    override_utf8_locale = false,
    cpu_avg_samples = 2,
    
    --Text settings
    use_xft = true,
    font = 'DejaVu Sans Mono:size = 8',
    xftalpha = 0.5,
    uppercase = false,
    temperature_unit = 'celsius'
}

conky.text = [[
  [
    {
      "full_text": "",
      "color": "\#3675b0",
      "background": "\#20242c",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "  ${cpu cpu0}%  ${exec sensors | grep 'Core' | cut -c16-23 | head -n1} ",
      "color": "\#fdf6e3",
      "background": "\#3675b0",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "",
      "color": "\#30689c",
      "background": "\#3675b0",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "   ${cpu cpu1}%  ${exec sensors | grep 'Core' | cut -c16-23 | tail -n1} ",
      "color": "\#fdf6e3",
      "background": "\#30689c",
      "separator": true,
      "separator_block_width": 0
    },
   {
      "full_text": "",
      "color": "\#2a5b89",
      "background": "\#30689c",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "  ${mem} / ${memmax} (${memperc}%) ",
      "color": "\#fdf6e3",
      "background": "\#2a5b89",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "",
      "color": "\#244e75",
      "background": "\#2a5b89",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "  ${fs_used} /${fs_size} (${fs_used_perc}%) ",
      "color": "\#fdf6e3",
      "background": "\#244e75",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "",
      "color": "\#1e4162",
      "background": "\#244e75",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "  ${exec amixer get Master | grep % | awk '{print $5}' | sed 's/[^0-9\%]//g' | head -n1} ",
      "color": "\#fdf6e3",
      "background": "\#1e4162",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "",
      "color": "\#18344e",
      "background": "\#1e4162",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "  (${battery_percent} %) ",
      "color": "\#fdf6e3",
      "background": "\#18344e",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "",
      "color": "\#12273b",
      "background": "\#18344e",
      "separator": true,
      "separator_block_width": 0
    },
      {
      "full_text": "  ${time %H:%M:%S} ",
      "color": "\#fdf6e3",
      "background": "\#12273b",
      "separator": true,
      "separator_block_width": 0
    },
   {
      "full_text": "",
      "color": "\#060d13",
      "background": "\#12273b",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "  ${time %a %d.%m.%Y} ",
      "color": "\#fdf6e3",
      "background": "\#060d13",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "",
      "color": "\#20242c",
      "background": "\#060d13",
      "separator": true,
      "separator_block_width": 0
    }
  ],
]]

https://image.ibb.co/gXjHTv/conky_i3bar.png

That looks like my conky i3bar. Was it inspired by my i3bar? Or is it completely coincidence? smile

Last edited by betseg (2017-03-23 22:30:16)


Config-y things
Blurry Fish Butt

Offline

#509 2017-03-24 02:25:31

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,017

Re: i3 desktop screenshots and config sharing

My pure conky-bar for i3, replacing i3-bar.

image.jpg

EDIT: updated the image to reflect change in workspace look

Last edited by Docbroke (2017-03-25 06:09:28)


Arch is home!
i3 rofi w3m qutebrowser ranger vim mutt mpd newsbeuter pass

Offline

#510 2017-03-24 09:05:38

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

Re: i3 desktop screenshots and config sharing

betseg wrote:

That looks like my conky i3bar. Was it inspired by my i3bar? Or is it completely coincidence? smile

It's just a coincidence. I wrote mine form scratch as I always do and the inspiration was an i3blocks look that I've found here.


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

Offline

#511 2017-03-29 16:21:19

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,017

Re: i3 desktop screenshots and config sharing

Conky-bar updated.

image.jpg


Arch is home!
i3 rofi w3m qutebrowser ranger vim mutt mpd newsbeuter pass

Offline

#512 2017-04-06 20:35:43

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

Re: i3 desktop screenshots and config sharing


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

Offline

#513 2017-05-21 16:16:52

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

Re: i3 desktop screenshots and config sharing

thumb_00_AGLFBSD.png tumb_01_De64_AGL.png

_ I3 as a WM
_ FreeBSD 11.0 & Arch GNU/Linux as OS's


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

Offline

#514 2017-06-04 01:54:53

rongil
Member
Registered: 2017-04-24
Posts: 1

Re: i3 desktop screenshots and config sharing


"They've done studies, you know. 60% of the time, it works every time."

Offline

#515 2017-07-31 20:54:18

Zar Marco
Member
From: Colle Umberto, Italy
Registered: 2017-07-31
Posts: 14

Re: i3 desktop screenshots and config sharing

Hi all, this is my first message and my first i3's configuration.I've copied an configuration to another user.It's functional but don't split vertical/horizontal with mod+h/v.I've configurate correctly

 

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

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

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

20
# Before i3 v4.8, we used to recommend this one as the default:
21
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
22
# The font above is very space-efficient, that is, it looks good, sharp and
23
# clear in small sizes. However, its unicode glyph coverage is limited, the old
24
# X core fonts rendering does not support right-to-left and this being a bitmap
25
# font, it doesn’t scale on retina/hidpi displays.
26

27
# use these keys for focus, movement, and resize directions when reaching for
28
# the arrows is not convenient
29
set $up l
30
set $down k
31
set $left j
32
set $right semicolon
33

34
# use Mouse+Mod1 to drag floating windows to their wanted position
35
floating_modifier Mod1
36

37
# start a terminal
38
bindsym Mod1+Return exec i3-sensible-terminal
39

40
# kill focused window
41
bindsym Mod1+Shift+q kill
42

43
# start dmenu (a program launcher)
44
bindsym Mod1+d exec dmenu_run
45
# There also is the (new) i3-dmenu-desktop which only displays applications
46
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
47
# installed.
48
# bindsym Mod1+d exec --no-startup-id i3-dmenu-desktop
49

50
# change focus
51
bindsym Mod1+$left focus left
52
bindsym Mod1+$down focus down
53
bindsym Mod1+$up focus up
54
bindsym Mod1+$right focus right
55

56
# alternatively, you can use the cursor keys:
57
bindsym Mod1+Left focus left
58
bindsym Mod1+Down focus down
59
bindsym Mod1+Up focus up
60
bindsym Mod1+Right focus right
61

62
# move focused window
63
bindsym Mod1+Shift+$left move left
64
bindsym Mod1+Shift+$down move down
65
bindsym Mod1+Shift+$up move up
66
bindsym Mod1+Shift+$right move right
67

68
# alternatively, you can use the cursor keys:
69
bindsym Mod1+Shift+Left move left
70
bindsym Mod1+Shift+Down move down
71
bindsym Mod1+Shift+Up move up
72
bindsym Mod1+Shift+Right move right
73

74
# split in horizontal orientation
75
bindsym Mod1+h split h
76

77
# split in vertical orientation
78
bindsym Mod1+v split v
79

80
# enter fullscreen mode for the focused container
81
bindsym Mod1+f fullscreen toggle
82

83
# change container layout (stacked, tabbed, toggle split)
84
bindsym Mod1+s layout stacking
85
bindsym Mod1+w layout tabbed
86
bindsym Mod1+e layout toggle split
87

88
# toggle tiling / floating
89
bindsym Mod1+Shift+space floating toggle
90

91
# change focus between tiling / floating windows
92
bindsym Mod1+space focus mode_toggle
93

94
# focus the parent container
95
bindsym Mod1+a focus parent
96

97
# focus the child container
98
#bindsym Mod1+d focus child
99

100
# move the currently focused window to the scratchpad
101
bindsym Mod1+Shift+minus move scratchpad
102

103
# Show the next scratchpad window or hide the focused scratchpad window.
104
# If there are multiple scratchpad windows, this command cycles through them.
105
bindsym Mod1+minus scratchpad show
106

107
# switch to workspace
108
bindsym Mod1+1 workspace 1
109
bindsym Mod1+2 workspace 2
110
bindsym Mod1+3 workspace 3
111
bindsym Mod1+4 workspace 4
112
bindsym Mod1+5 workspace 5
113
bindsym Mod1+6 workspace 6
114
bindsym Mod1+7 workspace 7
115
bindsym Mod1+8 workspace 8
116
bindsym Mod1+9 workspace 9
117
bindsym Mod1+0 workspace 10
118

119
# move focused container to workspace
120
bindsym Mod1+Shift+1 move container to workspace 1
121
bindsym Mod1+Shift+2 move container to workspace 2
122
bindsym Mod1+Shift+3 move container to workspace 3
123
bindsym Mod1+Shift+4 move container to workspace 4
124
bindsym Mod1+Shift+5 move container to workspace 5
125
bindsym Mod1+Shift+6 move container to workspace 6
126
bindsym Mod1+Shift+7 move container to workspace 7
127
bindsym Mod1+Shift+8 move container to workspace 8
128
bindsym Mod1+Shift+9 move container to workspace 9
129
bindsym Mod1+Shift+0 move container to workspace 10
130

131
# reload the configuration file
132
bindsym Mod1+Shift+c reload
133
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
134
bindsym Mod1+Shift+r restart
135
# exit i3 (logs you out of your X session)
136
bindsym Mod1+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'"
137

138
# resize window (you can also use the mouse for that)
139
mode "resize" {
140
        # These bindings trigger as soon as you enter the resize mode
141

142
        # Pressing left will shrink the window’s width.
143
        # Pressing right will grow the window’s width.
144
        # Pressing up will shrink the window’s height.
145
        # Pressing down will grow the window’s height.
146
        bindsym $left       resize shrink width 10 px or 10 ppt
147
        bindsym $down       resize grow height 10 px or 10 ppt
148
        bindsym $up         resize shrink height 10 px or 10 ppt
149
        bindsym $right      resize grow width 10 px or 10 ppt
150

151
        # same bindings, but for the arrow keys
152
        bindsym Left        resize shrink width 10 px or 10 ppt
153
        bindsym Down        resize grow height 10 px or 10 ppt
154
        bindsym Up          resize shrink height 10 px or 10 ppt
155
        bindsym Right       resize grow width 10 px or 10 ppt
156

157
        # back to normal: Enter or Escape
158
        bindsym Return mode "default"
159
        bindsym Escape mode "default"
160
}
161

162
bindsym Mod1+r mode "resize"
163

164
# Start i3bar to display a workspace bar (plus the system information i3status
165
# finds out, if available)
166
bar {
167
        status_command i3status
168
}
169

170
#######################################################################
171
# automatically start i3-config-wizard to offer the user to create a
172
# keysym-based config which used their favorite modifier (alt or windows)
173
#
174
# i3-config-wizard will not launch if there already is a config file
175
# in ~/.i3/config.
176
#
177
# Please remove the following exec line:
178
#######################################################################
179
exec i3-config-wizard
180

Offline

#516 2017-08-01 06:26:50

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

Re: i3 desktop screenshots and config sharing

Define mod command at that beginning of the config file:

 set $mod Mod1 

then use it in the config as $mod+v, $mod+x, etc.

eg:

set $mod Mod1
........................

bindsym $mod+v split v
bindsym $mod+h split h


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

Offline

#517 2017-08-02 19:39:44

Zar Marco
Member
From: Colle Umberto, Italy
Registered: 2017-07-31
Posts: 14

Re: i3 desktop screenshots and config sharing

Zar Marco wrote:

Hi all, this is my first message and my first i3's configuration.I've copied an configuration to another user.It's functional but don't split vertical/horizontal with mod+h/v.I've configurate correctly

 

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

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

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

20
# Before i3 v4.8, we used to recommend this one as the default:
21
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
22
# The font above is very space-efficient, that is, it looks good, sharp and
23
# clear in small sizes. However, its unicode glyph coverage is limited, the old
24
# X core fonts rendering does not support right-to-left and this being a bitmap
25
# font, it doesn’t scale on retina/hidpi displays.
26

27
# use these keys for focus, movement, and resize directions when reaching for
28
# the arrows is not convenient
29
set $up l
30
set $down k
31
set $left j
32
set $right semicolon
33

34
# use Mouse+Mod1 to drag floating windows to their wanted position
35
floating_modifier Mod1
36

37
# start a terminal
38
bindsym Mod1+Return exec i3-sensible-terminal
39

40
# kill focused window
41
bindsym Mod1+Shift+q kill
42

43
# start dmenu (a program launcher)
44
bindsym Mod1+d exec dmenu_run
45
# There also is the (new) i3-dmenu-desktop which only displays applications
46
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
47
# installed.
48
# bindsym Mod1+d exec --no-startup-id i3-dmenu-desktop
49

50
# change focus
51
bindsym Mod1+$left focus left
52
bindsym Mod1+$down focus down
53
bindsym Mod1+$up focus up
54
bindsym Mod1+$right focus right
55

56
# alternatively, you can use the cursor keys:
57
bindsym Mod1+Left focus left
58
bindsym Mod1+Down focus down
59
bindsym Mod1+Up focus up
60
bindsym Mod1+Right focus right
61

62
# move focused window
63
bindsym Mod1+Shift+$left move left
64
bindsym Mod1+Shift+$down move down
65
bindsym Mod1+Shift+$up move up
66
bindsym Mod1+Shift+$right move right
67

68
# alternatively, you can use the cursor keys:
69
bindsym Mod1+Shift+Left move left
70
bindsym Mod1+Shift+Down move down
71
bindsym Mod1+Shift+Up move up
72
bindsym Mod1+Shift+Right move right
73

74
# split in horizontal orientation
75
bindsym Mod1+h split h
76

77
# split in vertical orientation
78
bindsym Mod1+v split v
79

80
# enter fullscreen mode for the focused container
81
bindsym Mod1+f fullscreen toggle
82

83
# change container layout (stacked, tabbed, toggle split)
84
bindsym Mod1+s layout stacking
85
bindsym Mod1+w layout tabbed
86
bindsym Mod1+e layout toggle split
87

88
# toggle tiling / floating
89
bindsym Mod1+Shift+space floating toggle
90

91
# change focus between tiling / floating windows
92
bindsym Mod1+space focus mode_toggle
93

94
# focus the parent container
95
bindsym Mod1+a focus parent
96

97
# focus the child container
98
#bindsym Mod1+d focus child
99

100
# move the currently focused window to the scratchpad
101
bindsym Mod1+Shift+minus move scratchpad
102

103
# Show the next scratchpad window or hide the focused scratchpad window.
104
# If there are multiple scratchpad windows, this command cycles through them.
105
bindsym Mod1+minus scratchpad show
106

107
# switch to workspace
108
bindsym Mod1+1 workspace 1
109
bindsym Mod1+2 workspace 2
110
bindsym Mod1+3 workspace 3
111
bindsym Mod1+4 workspace 4
112
bindsym Mod1+5 workspace 5
113
bindsym Mod1+6 workspace 6
114
bindsym Mod1+7 workspace 7
115
bindsym Mod1+8 workspace 8
116
bindsym Mod1+9 workspace 9
117
bindsym Mod1+0 workspace 10
118

119
# move focused container to workspace
120
bindsym Mod1+Shift+1 move container to workspace 1
121
bindsym Mod1+Shift+2 move container to workspace 2
122
bindsym Mod1+Shift+3 move container to workspace 3
123
bindsym Mod1+Shift+4 move container to workspace 4
124
bindsym Mod1+Shift+5 move container to workspace 5
125
bindsym Mod1+Shift+6 move container to workspace 6
126
bindsym Mod1+Shift+7 move container to workspace 7
127
bindsym Mod1+Shift+8 move container to workspace 8
128
bindsym Mod1+Shift+9 move container to workspace 9
129
bindsym Mod1+Shift+0 move container to workspace 10
130

131
# reload the configuration file
132
bindsym Mod1+Shift+c reload
133
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
134
bindsym Mod1+Shift+r restart
135
# exit i3 (logs you out of your X session)
136
bindsym Mod1+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'"
137

138
# resize window (you can also use the mouse for that)
139
mode "resize" {
140
        # These bindings trigger as soon as you enter the resize mode
141

142
        # Pressing left will shrink the window’s width.
143
        # Pressing right will grow the window’s width.
144
        # Pressing up will shrink the window’s height.
145
        # Pressing down will grow the window’s height.
146
        bindsym $left       resize shrink width 10 px or 10 ppt
147
        bindsym $down       resize grow height 10 px or 10 ppt
148
        bindsym $up         resize shrink height 10 px or 10 ppt
149
        bindsym $right      resize grow width 10 px or 10 ppt
150

151
        # same bindings, but for the arrow keys
152
        bindsym Left        resize shrink width 10 px or 10 ppt
153
        bindsym Down        resize grow height 10 px or 10 ppt
154
        bindsym Up          resize shrink height 10 px or 10 ppt
155
        bindsym Right       resize grow width 10 px or 10 ppt
156

157
        # back to normal: Enter or Escape
158
        bindsym Return mode "default"
159
        bindsym Escape mode "default"
160
}
161

162
bindsym Mod1+r mode "resize"
163

164
# Start i3bar to display a workspace bar (plus the system information i3status
165
# finds out, if available)
166
bar {
167
        status_command i3status
168
}
169

170
#######################################################################
171
# automatically start i3-config-wizard to offer the user to create a
172
# keysym-based config which used their favorite modifier (alt or windows)
173
#
174
# i3-config-wizard will not launch if there already is a config file
175
# in ~/.i3/config.
176
#
177
# Please remove the following exec line:
178
#######################################################################
179
exec i3-config-wizard
180

Hi everyone, I have problems with the volume keys. Volume up and volume down don't go, but mute key goes. Can I have one solution to resolve this problem? On my arch are installed alsamixer

Offline

#518 2017-08-02 19:42:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 23,331
Website

Re: i3 desktop screenshots and config sharing

This isn't a support thread...


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#519 2017-08-09 15:58:17

okubax
Member
From: London
Registered: 2010-04-24
Posts: 198
Website

Re: i3 desktop screenshots and config sharing

current look, pastel-like colors are easy on my weary eyes

MAXY4LB.png

using py(wal) for colors

Offline

#520 2017-08-17 06:17:35

rotten
Member
Registered: 2017-08-02
Posts: 1

Re: i3 desktop screenshots and config sharing

Work in progress. Greetings...




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

Offline

#521 2017-08-23 20:31:13

Kagayakashi
Member
From: Latvia/Riga
Registered: 2016-03-11
Posts: 9

Re: i3 desktop screenshots and config sharing

Woow, can you give me configs of this please? its my first time with i3, maybe i will learn something from your configs

Offline

#522 2017-09-23 15:45:56

Zar Marco
Member
From: Colle Umberto, Italy
Registered: 2017-07-31
Posts: 14

Re: i3 desktop screenshots and config sharing

Hi all, actually this is my config https://i.imgur.com/hOh3NGT.png.
How I can add icons on workspaces names, on i3blocks and on i3status?

Offline

#523 2017-09-23 20:38:20

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

Re: i3 desktop screenshots and config sharing

Zar Marco wrote:

Hi all, actually this is my config https://i.imgur.com/hOh3NGT.png.
How I can add icons on workspaces names, on i3blocks and on i3status?

First you need to install FontAwesome then add icons to your config: (eg)

# *************** #
# Workspace names #
# *************** #

set $w1 1  
set $w2 2  
set $w3 3  
set $w4 4  
set $w5 5   
set $w6 6  
set $w7 7  
set $w8 8  
set $w9 9  
set $w0 10  

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

Offline

#524 2017-09-24 21:54:02

Zar Marco
Member
From: Colle Umberto, Italy
Registered: 2017-07-31
Posts: 14

Re: i3 desktop screenshots and config sharing

Minbari wrote:
Zar Marco wrote:

Hi all, actually this is my config https://i.imgur.com/hOh3NGT.png.
How I can add icons on workspaces names, on i3blocks and on i3status?

First you need to install FontAwesome then add icons to your config: (eg)

# *************** #
# Workspace names #
# *************** #

set $w1 1  
set $w2 2  
set $w3 3  
set $w4 4  
set $w5 5   
set $w6 6  
set $w7 7  
set $w8 8  
set $w9 9  
set $w0 10  

Ok, thanks, but can I find this icons? I've installed font awesome, but I don't find the icons

Offline

#525 2017-09-24 22:27:30

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

Re: i3 desktop screenshots and config sharing

i usually just copy&paste them from this cheatsheet: http://fontawesome.io/cheatsheet/

Offline

Board footer

Powered by FluxBB