source: src-sh/pc-extractoverlay/desktop-overlay/usr/share/skel/.i3/config @ 1620346

9.1-release9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since 1620346 was 1620346, checked in by Kris Moore <kris@…>, 18 months ago

Initial import of PC-BSD /current/ SVN repo

  • Property mode set to 100644
File size: 5.2 KB
Line 
1workspace 0 www
2
3assign [class="Opera"] 0
4assign [class="Firefox"] 0
5assign [class="chromium"] 0
6
7
8# font for window titles. ISO 10646 = Unicode
9font -misc-fixed-medium-r-normal--12-120-75-75-C-70-iso10646-1
10
11# use Mouse+Mod1 to drag floating windows to their wanted position
12floating_modifier Mod1
13
14# start a terminal
15bindsym Mod1+Return exec xterm
16bindsym Mod1+x exec xterm
17
18# kill focused window
19bindsym Mod1+Shift+c kill
20
21# start dmenu (a program launcher)
22bindsym Mod1+Shift+x exec ${WMSCRIPTS_DIR}/menu.sh
23
24# change focus
25bindsym Mod1+j focus left
26bindsym Mod1+k focus down
27bindsym Mod1+l focus up
28bindsym Mod1+semicolon focus right
29
30# alternatively, you can use the cursor keys:
31bindsym Mod1+Left focus left
32bindsym Mod1+Down focus down
33bindsym Mod1+Up focus up
34bindsym Mod1+Right focus right
35
36# move focused window
37bindsym Mod1+Shift+j move left
38bindsym Mod1+Shift+k move down
39bindsym Mod1+Shift+l move up
40bindsym Mod1+Shift+semicolon move right
41
42# alternatively, you can use the cursor keys:
43bindsym Mod1+Shift+Left move left
44bindsym Mod1+Shift+Down move down
45bindsym Mod1+Shift+Up move up
46bindsym Mod1+Shift+Right move right
47
48# split in horizontal orientation
49bindsym Mod1+h split h
50
51# split in vertical orientation
52bindsym Mod1+v split v
53
54# enter fullscreen mode for the focused container
55bindsym Mod1+f fullscreen
56
57# change container layout (stacked, tabbed, default)
58bindsym Mod1+s layout stacking
59bindsym Mod1+w layout tabbed
60bindsym Mod1+e layout default
61
62# toggle tiling / floating
63bindsym Mod1+Shift+space floating toggle
64
65# change focus between tiling / floating windows
66bindsym Mod1+space focus mode_toggle
67
68# focus the parent container
69bindsym Mod1+a focus parent
70
71# focus the child container
72#bindsym Mod1+d focus child
73
74# switch to workspace
75bindsym Mod1+grave workspace 0
76bindsym Mod1+1 workspace 1
77bindsym Mod1+2 workspace 2
78bindsym Mod1+3 workspace 3
79bindsym Mod1+4 workspace 4
80bindsym Mod1+5 workspace 5
81bindsym Mod1+6 workspace 6
82bindsym Mod1+7 workspace 7
83bindsym Mod1+8 workspace 8
84bindsym Mod1+9 workspace 9
85bindsym Mod1+0 workspace 10
86
87# move focused container to workspace
88bindsym Mod1+Shift+grave move workspace 0
89bindsym Mod1+Shift+1 move workspace 1
90bindsym Mod1+Shift+2 move workspace 2
91bindsym Mod1+Shift+3 move workspace 3
92bindsym Mod1+Shift+4 move workspace 4
93bindsym Mod1+Shift+5 move workspace 5
94bindsym Mod1+Shift+6 move workspace 6
95bindsym Mod1+Shift+7 move workspace 7
96bindsym Mod1+Shift+8 move workspace 8
97bindsym Mod1+Shift+9 move workspace 9
98bindsym Mod1+Shift+0 move workspace 10
99
100# reload the configuration file
101bindsym Mod1+End reload
102# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
103bindsym Mod1+Shift+End restart
104# exit i3 (logs you out of your X session)
105bindsym Mod1+Control+End exit
106
107# resize window (you can also use the mouse for that)
108mode "resize" {
109        # These bindings trigger as soon as you enter the resize mode
110
111        # They resize the border in the direction you pressed, e.g.
112        # when pressing left, the window is resized so that it has
113        # more space on its left
114
115        bindsym j resize shrink left 10 px or 10 ppt
116        bindsym Shift+j resize grow left 10 px or 10 ppt
117
118        bindsym k resize shrink down 10 px or 10 ppt
119        bindsym Shift+k resize grow down 10 px or 10 ppt
120
121        bindsym l resize shrink up 10 px or 10 ppt
122        bindsym Shift+l resize grow up 10 px or 10 ppt
123
124        bindsym semicolon resize shrink right 10 px or 10 ppt
125        bindsym Shift+semicolon resize grow right 10 px or 10 ppt
126
127        # same bindings, but for the arrow keys
128        bindsym Left resize shrink left 10 px or 10 ppt
129        bindsym Shift+Left resize grow left 10 px or 10 ppt
130
131        bindsym Down resize shrink down 10 px or 10 ppt
132        bindsym Shift+Down resize grow down 10 px or 10 ppt
133
134        bindsym Up resize shrink up 10 px or 10 ppt
135        bindsym Shift+Up resize grow up 10 px or 10 ppt
136
137        bindsym Right resize shrink right 10 px or 10 ppt
138        bindsym Shift+Right resize grow right 10 px or 10 ppt
139
140        # back to normal: Enter or Escape
141        bindsym Return mode "default"
142        bindsym Escape mode "default"
143}
144
145bindsym Mod1+r mode "resize"
146
147# ipc-socket ~/.i3/ipc.sock
148
149
150
151# Start i3bar to display a workspace bar (plus the system information i3status
152# finds out, if available)
153bar {
154#exec i3status | i3bar -d
155# exec ~/.config/i3/status.sh | i3bar -dtop -f -misc-fixed-*-*-*-*-12-*-*-*-*-*-*-*
156status_command ~/.config/i3/status.sh
157position top
158font -misc-fixed-*-*-*-*-12-*-*-*-*-*-*-*
159workspace_buttons yes
160}
161
162#######################################################################
163# automatically start i3-config-wizard to offer the user to create a
164# keysym-based config which used his favorite modifier (alt or windows)
165#
166# i3-config-wizard will not launch if there already is a config file
167# in ~/.i3/config.
168#
169# Please remove the following exec line:
170#######################################################################
171#exec i3-config-wizard
172
173#exec pgrep stalonetray > /dev/null || stalonetray -bg '#303030' -f 0 --max-geometry 5x1 --geometry 5x1-0+0 --grow-gravity W --icon-gravity E -i 16 --kludges force_icons_size --no-shrink true --scrollbars horizontal --skip-taskbar true --sticky true --window-layer bottom
174
Note: See TracBrowser for help on using the repository browser.