summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config102
1 files changed, 53 insertions, 49 deletions
diff --git a/config b/config
index d613e14..0a3cbde 100644
--- a/config
+++ b/config
@@ -17,7 +17,8 @@ set $mod Mod4
17 17
18# This font is widely installed, provides lots of unicode glyphs, right-to-left 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). 19# text rendering and scalability on retina/hidpi displays (thanks to pango).
20font pango:Neris SemiBold 11 20# font pango:Neris SemiBold 10
21font pango:Source Code Pro Bold 11
21# font pango:DejaVu Sans Mono 12 22# font pango:DejaVu Sans Mono 12
22 23
23# Before i3 v4.8, we used to recommend this one as the default: 24# Before i3 v4.8, we used to recommend this one as the default:
@@ -32,7 +33,8 @@ floating_modifier $mod
32 33
33# start a terminal 34# start a terminal
34# bindsym $mod+Return exec i3-sensible-terminal 35# bindsym $mod+Return exec i3-sensible-terminal
35bindsym $mod+Return exec xfce4-terminal 36bindsym $mod+Return exec xfce4-appfinder
37bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff
36bindsym $mod+t exec xfce4-terminal 38bindsym $mod+t exec xfce4-terminal
37bindsym $mod+e exec thunar 39bindsym $mod+e exec thunar
38 40
@@ -47,22 +49,22 @@ bindsym Mod1+F4 kill
47# installed. 49# installed.
48# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop 50# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
49bindsym $mod+d exec --no-startup-id j4-dmenu-desktop 51bindsym $mod+d exec --no-startup-id j4-dmenu-desktop
50bindsym Mod1+F2 exec --no-startup-id j4-dmenu-desktop
51 52
52 53
53 54
54# alternatively, you can use the cursor keys: 55# alternatively, you can use the cursor keys:
55bindsym $mod+Left focus left 56bindsym $mod+Left focus left ; exec pkill -SIGRTMIN+11 i3blocks
56bindsym $mod+Down focus down 57bindsym $mod+Down focus down ; exec pkill -SIGRTMIN+11 i3blocks
57bindsym $mod+Up focus up 58bindsym $mod+Up focus up ; exec pkill -SIGRTMIN+11 i3blocks
58bindsym $mod+Right focus right 59bindsym $mod+Right focus right ; exec pkill -SIGRTMIN+11 i3blocks
60
59 61
60 62
61# alternatively, you can use the cursor keys: 63# alternatively, you can use the cursor keys:
62bindsym $mod+Shift+Left move left 64bindsym $mod+Shift+Left move left ; exec pkill -SIGRTMIN+11 i3blocks
63bindsym $mod+Shift+Down move down 65bindsym $mod+Shift+Down move down ; exec pkill -SIGRTMIN+11 i3blocks
64bindsym $mod+Shift+Up move up 66bindsym $mod+Shift+Up move up ; exec pkill -SIGRTMIN+11 i3blocks
65bindsym $mod+Shift+Right move right 67bindsym $mod+Shift+Right move right ; exec pkill -SIGRTMIN+11 i3blocks
66 68
67# split in horizontal orientation 69# split in horizontal orientation
68# bindsym $mod+h split h 70# bindsym $mod+h split h
@@ -91,6 +93,7 @@ bindsym $mod+a focus parent
91#bindsym $mod+d focus child 93#bindsym $mod+d focus child
92 94
93workspace 1 output VGA1 95workspace 1 output VGA1
96workspace_layout tabbed
94 97
95# switch to workspace 98# switch to workspace
96bindsym $mod+1 workspace 1 99bindsym $mod+1 workspace 1
@@ -127,34 +130,19 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu
127bindsym $mod+m move scratchpad 130bindsym $mod+m move scratchpad
128bindsym $mod+Shift+m scratchpad show ; resize set 1920 920 ; move position center 131bindsym $mod+Shift+m scratchpad show ; resize set 1920 920 ; move position center
129 132
130for_window [class="^.*"] border pixel 8 133for_window [class="^.*"] border normal 4
131# smart_borders on 134for_window [title="^.*Thunderbird"] border pixel 0
132# gaps inner 8 135for_window [title="^HexChat.*"] border pixel 0
133# gaps outer 8 136for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks
137for_window [title="^.*"] exec pkill -SIGRTMIN+11 i3blocks
138for_window [title="cairo-dock"] floating enable ; border none
139for_window[class="Plank"] floating enable,move absolute center
140
134 141
135# resize window (you can also use the mouse for that) 142
136# mode "resize" { 143smart_borders on
137# # These bindings trigger as soon as you enter the resize mode 144# gaps inner 5
138# 145# gaps outer 5
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 146
159bindsym $mod+r mode "resize" 147bindsym $mod+r mode "resize"
160 148
@@ -162,21 +150,32 @@ bindsym $mod+r mode "resize"
162# finds out, if available) 150# finds out, if available)
163bar { 151bar {
164 status_command i3status --config ~/.config/i3/i3status.conf 152 status_command i3status --config ~/.config/i3/i3status.conf
153 # status_command i3blocks
165 colors { 154 colors {
166 background #061229 155 background #2a3448
167 statusline #ffffff 156 statusline #ffffff
168 } 157 }
169 # tray_output VGA1 158 # tray_output VGA1
170 tray_padding 4 159 # tray_padding 4
171 # font pango:DejaVu Sans Mono 12 160 # font pango:DejaVu Sans Mono 12
172 # separator_symbol "┋" 161 # separator_symbol "┋"
173 position top 162 position bottom
174 # output VGA1 163 # output VGA1
175 binding_mode_indicator yes 164 binding_mode_indicator yes
176} 165}
177 166
178client.focused #ffffff #061229 #ffffff #5299BF #ffffff 167
179# client.unfocused #000000 #061229 #000000 #ff0000 #000000 168# client.focused #ffffff #061229 #ffffff #5299BF #ffffff
169# client.unfocused #000000 #061229 #ffffff #ff0000 #000000
170#colors: border backgr. text indicator
171
172client.focused #2a3448 #5299bf #2a3448 #f0a000
173client.focused_inactive #061229 #061229 #ffffff #ffffff
174client.unfocused #061229 #061229 #5299bf #ffffff
175client.urgent #2a3448 #900000 #5299bf #ffffff
176client.background #000000 #000000 #000000 #ffffff
177
178# hide_edge_borders both
180 179
181bindsym $mod+F2 exec i3-input -F 'rename workspace to "%s"' -P 'New name: ' 180bindsym $mod+F2 exec i3-input -F 'rename workspace to "%s"' -P 'New name: '
182bindsym Control+Mod1+Left workspace prev_on_output 181bindsym Control+Mod1+Left workspace prev_on_output
@@ -195,10 +194,10 @@ bindsym Control+Mod1+Right workspace next_on_output
195# bindsym $mod+Shift+semicolon move right 194# bindsym $mod+Shift+semicolon move right
196 195
197# change focus 196# change focus
198bindsym $mod+h focus left 197bindsym $mod+h focus left ; exec killall -USR1 i3status
199bindsym $mod+j focus down 198bindsym $mod+j focus down ; exec killall -USR1 i3status
200bindsym $mod+k focus up 199bindsym $mod+k focus up ; exec killall -USR1 i3status
201bindsym $mod+l focus right 200bindsym $mod+l focus right ; exec killall -USR1 i3status
202 201
203# move focused window 202# move focused window
204bindsym $mod+Shift+h move left 203bindsym $mod+Shift+h move left
@@ -242,9 +241,14 @@ mode "resize" {
242 241
243 242
244 243
244
245exec --no-startup-id dbus-launch gnome-settings-daemon 245exec --no-startup-id dbus-launch gnome-settings-daemon
246exec --no-startup-id dbus-launch nm-applet 246exec --no-startup-id dbus-launch nm-applet
247exec --no-startup-id dbus-launch nextcloud 247exec --no-startup-id dbus-launch nextcloud
248exec --no-startup-id nitrogen --restore 248
249exec --no-startup-id setxkbmap -option caps:escape 249exec --no-startup-id setxkbmap -option caps:escape
250exec xset r rate 330 75 250exec --no-startup-id xset r rate 330 40
251
252# start compositor...
253exec --no-startup-id compton -bc
254exec --no-startup-id nitrogen --restore
..