summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config250
-rw-r--r--i3status.conf73
2 files changed, 323 insertions, 0 deletions
diff --git a/config b/config
new file mode 100644
index 0000000..d613e14
--- /dev/null
+++ b/config
@@ -0,0 +1,250 @@
1# This file has been auto-generated by i3-config-wizard(1).
2# It will not be overwritten, so edit it as you like.
3#
4# Should you change your keyboard layout some time, delete
5# this file and re-run i3-config-wizard(1).
6#
7
8# i3 config file (v4)
9#
10# Please see http://i3wm.org/docs/userguide.html for a complete reference!
11
12set $mod Mod4
13
14# Font for window titles. Will also be used by the bar unless a different font
15# is used in the bar {} block below
16# font pango:monospace 12
17
18# This font is widely installed, provides lots of unicode glyphs, right-to-left
19# text rendering and scalability on retina/hidpi displays (thanks to pango).
20font pango:Neris SemiBold 11
21# font pango:DejaVu Sans Mono 12
22
23# Before i3 v4.8, we used to recommend this one as the default:
24# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
25# The font above is very space-efficient, that is, it looks good, sharp and
26# clear in small sizes. However, its unicode glyph coverage is limited, the old
27# X core fonts rendering does not support right-to-left and this being a bitmap
28# font, it doesn’t scale on retina/hidpi displays.
29
30# Use Mouse+$mod to drag floating windows to their wanted position
31floating_modifier $mod
32
33# start a terminal
34# bindsym $mod+Return exec i3-sensible-terminal
35bindsym $mod+Return exec xfce4-terminal
36bindsym $mod+t exec xfce4-terminal
37bindsym $mod+e exec thunar
38
39# kill focused window
40bindsym $mod+Shift+q kill
41bindsym Mod1+F4 kill
42
43# start dmenu (a program launcher)
44# bindsym $mod+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 $mod+d exec --no-startup-id i3-dmenu-desktop
49bindsym $mod+d exec --no-startup-id j4-dmenu-desktop
50bindsym Mod1+F2 exec --no-startup-id j4-dmenu-desktop
51
52
53
54# alternatively, you can use the cursor keys:
55bindsym $mod+Left focus left
56bindsym $mod+Down focus down
57bindsym $mod+Up focus up
58bindsym $mod+Right focus right
59
60
61# alternatively, you can use the cursor keys:
62bindsym $mod+Shift+Left move left
63bindsym $mod+Shift+Down move down
64bindsym $mod+Shift+Up move up
65bindsym $mod+Shift+Right move right
66
67# split in horizontal orientation
68# bindsym $mod+h split h
69
70# split in vertical orientation
71# bindsym $mod+v split v
72
73# enter fullscreen mode for the focused container
74bindsym $mod+f fullscreen toggle
75
76# change container layout (stacked, tabbed, toggle split)
77bindsym $mod+s layout stacking
78bindsym $mod+w layout tabbed
79bindsym $mod+q layout toggle split
80
81# toggle tiling / floating
82bindsym $mod+Shift+space floating toggle
83
84# change focus between tiling / floating windows
85# bindsym $mod+space focus mode_toggle
86
87# focus the parent container
88bindsym $mod+a focus parent
89
90# focus the child container
91#bindsym $mod+d focus child
92
93workspace 1 output VGA1
94
95# switch to workspace
96bindsym $mod+1 workspace 1
97bindsym $mod+2 workspace 2
98bindsym $mod+3 workspace 3
99bindsym $mod+4 workspace 4
100bindsym $mod+5 workspace 5
101bindsym $mod+6 workspace 6
102bindsym $mod+7 workspace 7
103bindsym $mod+8 workspace 8
104bindsym $mod+9 workspace 9
105bindsym $mod+0 workspace 10
106
107# move focused container to workspace
108bindsym $mod+Shift+1 move container to workspace 1
109bindsym $mod+Shift+2 move container to workspace 2
110bindsym $mod+Shift+3 move container to workspace 3
111bindsym $mod+Shift+4 move container to workspace 4
112bindsym $mod+Shift+5 move container to workspace 5
113bindsym $mod+Shift+6 move container to workspace 6
114bindsym $mod+Shift+7 move container to workspace 7
115bindsym $mod+Shift+8 move container to workspace 8
116bindsym $mod+Shift+9 move container to workspace 9
117bindsym $mod+Shift+0 move container to workspace 10
118
119# reload the configuration file
120bindsym $mod+Shift+c reload
121# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
122bindsym $mod+Shift+r restart
123# exit i3 (logs you out of your X session)
124bindsym $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'"
125
126
127bindsym $mod+m move scratchpad
128bindsym $mod+Shift+m scratchpad show ; resize set 1920 920 ; move position center
129
130for_window [class="^.*"] border pixel 8
131# smart_borders on
132# gaps inner 8
133# gaps outer 8
134
135# resize window (you can also use the mouse for that)
136# mode "resize" {
137# # These bindings trigger as soon as you enter the resize mode
138#
139# # Pressing left will shrink the window’s width.
140# # Pressing right will grow the window’s width.
141# # Pressing up will shrink the window’s height.
142# # Pressing down will grow the window’s height.
143# bindsym j resize shrink width 10 px or 10 ppt
144# bindsym k resize grow height 10 px or 10 ppt
145# bindsym l resize shrink height 10 px or 10 ppt
146# bindsym semicolon resize grow width 10 px or 10 ppt
147#
148# # same bindings, but for the arrow keys
149# bindsym Left resize shrink width 10 px or 10 ppt
150# bindsym Down resize grow height 10 px or 10 ppt
151# bindsym Up resize shrink height 10 px or 10 ppt
152# bindsym Right resize grow width 10 px or 10 ppt
153#
154# # back to normal: Enter or Escape
155# bindsym Return mode "default"
156# bindsym Escape mode "default"
157# }
158
159bindsym $mod+r mode "resize"
160
161# Start i3bar to display a workspace bar (plus the system information i3status
162# finds out, if available)
163bar {
164 status_command i3status --config ~/.config/i3/i3status.conf
165 colors {
166 background #061229
167 statusline #ffffff
168 }
169 # tray_output VGA1
170 tray_padding 4
171 # font pango:DejaVu Sans Mono 12
172 # separator_symbol "┋"
173 position top
174 # output VGA1
175 binding_mode_indicator yes
176}
177
178client.focused #ffffff #061229 #ffffff #5299BF #ffffff
179# client.unfocused #000000 #061229 #000000 #ff0000 #000000
180
181bindsym $mod+F2 exec i3-input -F 'rename workspace to "%s"' -P 'New name: '
182bindsym Control+Mod1+Left workspace prev_on_output
183bindsym Control+Mod1+Right workspace next_on_output
184
185# change focus
186# bindsym $mod+j focus left
187# bindsym $mod+k focus down
188# bindsym $mod+l focus up
189# bindsym $mod+semicolon focus right
190#
191# move focused window
192# bindsym $mod+Shift+j move left
193# bindsym $mod+Shift+k move down
194# bindsym $mod+Shift+l move up
195# bindsym $mod+Shift+semicolon move right
196
197# change focus
198bindsym $mod+h focus left
199bindsym $mod+j focus down
200bindsym $mod+k focus up
201bindsym $mod+l focus right
202
203# move focused window
204bindsym $mod+Shift+h move left
205bindsym $mod+Shift+j move down
206bindsym $mod+Shift+k move up
207bindsym $mod+Shift+l move right
208
209# split in horizontal orientation
210# bindsym $mod+Shift+v split h
211
212# split in vertical orientation
213# bindsym $mod+v split v
214bindsym $mod+v split toggle
215bindsym $mod+space split toggle
216
217
218# resize window (you can also use the mouse for that)
219mode "resize" {
220 # These bindings trigger as soon as you enter the resize mode
221
222 # Pressing left will shrink the window’s width.
223 # Pressing right will grow the window’s width.
224 # Pressing up will shrink the window’s height.
225 # Pressing down will grow the window’s height.
226 bindsym $mod+h resize shrink width 10 px or 10 ppt
227 bindsym $mod+j resize grow height 10 px or 10 ppt
228 bindsym $mod+k resize shrink height 10 px or 10 ppt
229 bindsym $mod+l resize grow width 10 px or 10 ppt
230
231 # same bindings, but for the arrow keys
232 bindsym Left resize shrink width 10 px or 10 ppt
233 bindsym Down resize grow height 10 px or 10 ppt
234 bindsym Up resize shrink height 10 px or 10 ppt
235 bindsym Right resize grow width 10 px or 10 ppt
236
237 # back to normal: Enter or Escape
238 bindsym Return mode "default"
239 bindsym Escape mode "default"
240}
241
242
243
244
245exec --no-startup-id dbus-launch gnome-settings-daemon
246exec --no-startup-id dbus-launch nm-applet
247exec --no-startup-id dbus-launch nextcloud
248exec --no-startup-id nitrogen --restore
249exec --no-startup-id setxkbmap -option caps:escape
250exec xset r rate 330 75
diff --git a/i3status.conf b/i3status.conf
new file mode 100644
index 0000000..34a56d9
--- /dev/null
+++ b/i3status.conf
@@ -0,0 +1,73 @@
1# i3status configuration file.
2# see "man i3status" for documentation.
3
4# It is important that this file is edited as UTF-8.
5# The following line should contain a sharp s:
6# ß
7# If the above line is not correctly displayed, fix your editor first!
8
9general {
10 colors = true
11 interval = 5
12}
13
14order += "ipv6"
15order += "disk /"
16# order += "run_watch VPN"
17order += "path_exists VPN"
18order += "run_watch DHCP"
19# order += "wireless _first_"
20order += "ethernet _first_"
21order += "ethernet enp7s0"
22# order += "battery 0"
23order += "load"
24order += "tztime local"
25
26wireless _first_ {
27 format_up = "W: (%quality at %essid) %ip"
28 format_down = "W: down"
29}
30
31ethernet _first_ {
32 # if you use %speed, i3status requires root privileges
33 format_up = "E1: %ip (%speed)"
34 format_down = "E1: down"
35}
36
37
38ethernet enp7s0 {
39 # if you use %speed, i3status requires root privileges
40 format_up = "E2: %ip (%speed)"
41 format_down = "E2: down"
42}
43
44
45battery 0 {
46 format = "%status %percentage %remaining"
47}
48
49run_watch DHCP {
50 pidfile = "/var/run/dhclient*.pid"
51}
52
53
54path_exists VPN {
55# path exists when a VPN tunnel launched by nmcli/nm-applet is active
56 path = "/proc/sys/net/ipv4/conf/tun0"
57}
58
59run_watch VPN {
60 pidfile = "/var/run/NetworkManager/nm-openvpn-*"
61}
62
63tztime local {
64 format = "%Y-%m-%d %H:%M:%S"
65}
66
67load {
68 format = "%1min"
69}
70
71disk "/" {
72 format = "%avail"
73}
..