diff options
-rw-r--r-- | config | 55 | ||||
-rw-r--r-- | i3status.conf | 58 |
2 files changed, 76 insertions, 37 deletions
@@ -9,25 +9,33 @@ exec xrdb ~/.Xresources ; i3-msg reload | |||
9 | # fake-outputs 3840x1080+0+0 | 9 | # fake-outputs 3840x1080+0+0 |
10 | 10 | ||
11 | # we basically want to configure our font with ~/.config/fontconfig/* | 11 | # we basically want to configure our font with ~/.config/fontconfig/* |
12 | font pango:FuraCode Nerd Font Mono Retina 9 | 12 | # font pango:FuraCode Nerd Font Mono Retina 9 |
13 | # font pango:Code New Roman Nerd Font 9 | 13 | # font pango:Code New Roman Nerd Font 9 |
14 | font pango:FuraCode Nerd Font Mono Medium 11 | ||
14 | 15 | ||
15 | hide_edge_borders both | 16 | # hide_edge_borders both |
16 | 17 | ||
17 | set $mod Mod4 | 18 | set $mod Mod4 |
18 | 19 | ||
19 | # Use Mouse+$mod to drag floating windows to their wanted position | 20 | # Use Mouse+$mod to drag floating windows to their wanted position |
20 | floating_modifier $mod | 21 | floating_modifier $mod |
21 | 22 | ||
23 | # screenshots | ||
24 | bindsym --release Print exec scrot -s | ||
25 | |||
22 | # start a terminal | 26 | # start a terminal |
23 | # bindsym $mod+Return exec i3-sensible-terminal | 27 | # bindsym $mod+Return exec i3-sensible-terminal |
24 | bindsym $mod+Return exec --no-startup-id xfce4-appfinder | 28 | # bindsym $mod+Return exec --no-startup-id xfce4-appfinder |
29 | bindsym $mod+Return exec --no-startup-id dmenu_run -nb '#e0e0e0' -nf '#000' -sb '#ffffff' -sf '#4271ae' | ||
25 | bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff | 30 | bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff |
26 | bindsym $mod+t exec --no-startup-id xfce4-terminal | 31 | # bindsym $mod+t exec --no-startup-id dbus-launch terminology |
32 | # bindsym $mod+t exec --no-startup-id dbus-launch gnome-terminal | ||
33 | bindsym $mod+t exec --no-startup-id dbus-launch xfce4-terminal | ||
34 | # bindsym $mod+t exec --no-startup-id dbus-launch sakura | ||
27 | # bindsym $mod+t exec termite | 35 | # bindsym $mod+t exec termite |
28 | # bindsym $mod+t exec urxvt | 36 | # bindsym $mod+t exec urxvt |
29 | bindsym $mod+e exec --no-startup-id thunar | 37 | bindsym $mod+e exec --no-startup-id xdg-open $HOME |
30 | bindsym $mod+l exec --no-startup-id ~/.local/bin/i3lock -f -i "/home/max/.local/share/backgrounds/IMG_5656 - IMG_5684-02.png" | 38 | bindsym $mod+l exec --no-startup-id i3lock -f -i "/usr/share/backgrounds/xfce/xfce-blue.jpg" |
31 | 39 | ||
32 | bindsym $mod+F10 exec pactl set-sink-mute 0 toggle | 40 | bindsym $mod+F10 exec pactl set-sink-mute 0 toggle |
33 | bindsym $mod+F11 exec pactl set-sink-volume 0 -5% | 41 | bindsym $mod+F11 exec pactl set-sink-volume 0 -5% |
@@ -38,7 +46,7 @@ bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5% | |||
38 | bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% # decrease sound volume | 46 | bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% # decrease sound volume |
39 | bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle # mute sound | 47 | bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle # mute sound |
40 | 48 | ||
41 | bindcode 156 exec xrandr --output LVDS-1 --mode 1024x768 && xrandr --output LVDS-1 --mode 1280x800 | 49 | # bindcode 156 exec xrandr --output LVDS-1 --mode 1024x768 && xrandr --output LVDS-1 --mode 1280x800 |
42 | 50 | ||
43 | # kill focused window | 51 | # kill focused window |
44 | bindsym $mod+Shift+q kill | 52 | bindsym $mod+Shift+q kill |
@@ -182,6 +190,8 @@ bindsym $mod+v split toggle | |||
182 | bindsym $mod+space split toggle | 190 | bindsym $mod+space split toggle |
183 | 191 | ||
184 | 192 | ||
193 | # win+backspace | ||
194 | bindsym $mod+BackSpace move workspace to output right | ||
185 | 195 | ||
186 | bindsym $mod+r mode "resize" | 196 | bindsym $mod+r mode "resize" |
187 | # resize window (you can also use the mouse for that) | 197 | # resize window (you can also use the mouse for that) |
@@ -213,24 +223,38 @@ mode "resize" { | |||
213 | 223 | ||
214 | 224 | ||
215 | 225 | ||
216 | exec xrandr --output HDMI-1 --right-of DP-1 | 226 | # exec xrandr --output HDMI-1 --right-of DP-1 |
217 | exec xrandr --output HDMI-1 --right-of VGA-1 | 227 | # exec xrandr --output HDMI-1 --right-of VGA-1 |
218 | # exec /usr/bin/xrandr-reset.sh | 228 | # exec /usr/bin/xrandr-reset.sh |
219 | exec setxkbmap -option caps:escape | 229 | # exec setxkbmap -option caps:escape |
220 | exec xset r rate 330 40 | 230 | # exec setxkbmap -layout en_US -variant altgr-intl |
221 | exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1 | 231 | |
222 | 232 | ||
233 | exec xrandr --output HDMI1 --left-of eDP1 | ||
234 | exec xset r rate 330 40 | ||
235 | # exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1 | ||
236 | exec ibus-daemon -xd | ||
237 | exec gpg-agent --daemon | ||
223 | exec gnome-keyring-daemon --start --components=secrets | 238 | exec gnome-keyring-daemon --start --components=secrets |
224 | # start compositor... | 239 | # start compositor... |
225 | exec compton -b --config ~/.config/i3/compton.conf | 240 | exec compton -b --config ~/.config/i3/compton.conf |
226 | exec nitrogen --restore | 241 | exec nitrogen --restore |
227 | exec nm-applet | 242 | exec nm-applet |
243 | exec kaze | ||
244 | exec /home/cpohle/.local/bin/vdirsyncer_sync | ||
245 | exec owncloud | ||
246 | |||
247 | # clipboard manger, so that the clipboard survives when a program exits | ||
248 | exec setsid parcellite | ||
249 | # deactivate thinkpad touchpad | ||
250 | exec synclient TouchpadOff=1 | ||
251 | |||
228 | 252 | ||
229 | 253 | ||
230 | 254 | ||
231 | 255 | ||
232 | 256 | ||
233 | exec setsid dbus-launch hexchat --minimize=2 | 257 | # exec setsid dbus-launch hexchat --minimize=2 |
234 | 258 | ||
235 | 259 | ||
236 | # ============================================== | 260 | # ============================================== |
@@ -264,12 +288,12 @@ set_from_resource $foreground base16.cursor $cursorColor | |||
264 | # Basic bar configuration using the Base16 variables. | 288 | # Basic bar configuration using the Base16 variables. |
265 | bar { | 289 | bar { |
266 | # status_command i3status --config ~/.config/i3/i3status.conf | 290 | # status_command i3status --config ~/.config/i3/i3status.conf |
267 | status_command /home/max/src/i3status/i3status --config ~/.config/i3/i3status.conf | 291 | status_command i3status --config ~/.config/i3/i3status.conf |
268 | 292 | ||
269 | tray_padding 2 | 293 | tray_padding 2 |
270 | mode dock | 294 | mode dock |
271 | strip_workspace_numbers yes | 295 | strip_workspace_numbers yes |
272 | separator_symbol "│" | 296 | separator_symbol " " |
273 | 297 | ||
274 | colors { | 298 | colors { |
275 | background $base00 | 299 | background $base00 |
@@ -297,6 +321,7 @@ client.background $background | |||
297 | # for_window [class="^.*"] border normal 3 | 321 | # for_window [class="^.*"] border normal 3 |
298 | # for_window [title="^.*Thunderbird"] border pixel 0 | 322 | # for_window [title="^.*Thunderbird"] border pixel 0 |
299 | # for_window [title="^.*Chromium"] border pixel 0 | 323 | # for_window [title="^.*Chromium"] border pixel 0 |
324 | for_window [title="^.*Firefox"] border pixel 5 | ||
300 | # for_window [class="Gvim"] border pixel 0 | 325 | # for_window [class="Gvim"] border pixel 0 |
301 | # for_window [class="(?i)xfce4-terminal"] border pixel 0 | 326 | # for_window [class="(?i)xfce4-terminal"] border pixel 0 |
302 | # for_window [class="(?i)xfce4-appfinder"] border pixel 0 | 327 | # for_window [class="(?i)xfce4-appfinder"] border pixel 0 |
diff --git a/i3status.conf b/i3status.conf index 127af25..ceb43a2 100644 --- a/i3status.conf +++ b/i3status.conf | |||
@@ -7,11 +7,11 @@ | |||
7 | # If the above line is not correctly displayed, fix your editor first! | 7 | # If the above line is not correctly displayed, fix your editor first! |
8 | 8 | ||
9 | general { | 9 | general { |
10 | colors = true | 10 | colors = false |
11 | #color_good = "#88ff88" | 11 | #color_good = "#88ff88" |
12 | #color_bad = "#880000" | 12 | #color_bad = "#880000" |
13 | color_good = "#ffffff" | 13 | color_good = "#666666" |
14 | color_bad = "#666666" | 14 | color_bad = "#660000" |
15 | interval = 1 | 15 | interval = 1 |
16 | output_format = i3bar | 16 | output_format = i3bar |
17 | separator = 'X' | 17 | separator = 'X' |
@@ -21,15 +21,16 @@ order += "ipv6" | |||
21 | # order += "run_watch VPN" | 21 | # order += "run_watch VPN" |
22 | order += "path_exists VPN" | 22 | order += "path_exists VPN" |
23 | order += "run_watch DHCP" | 23 | order += "run_watch DHCP" |
24 | # order += "wireless _first_" | 24 | order += "wireless _first_" |
25 | order += "ethernet _first_" | 25 | order += "ethernet _first_" |
26 | order += "ethernet enp7s0" | 26 | # order += "ethernet enp0s31f6" |
27 | # order += "battery 0" | 27 | order += "battery 0" |
28 | order += "cpu_temperature 1" | 28 | order += "cpu_temperature 1" |
29 | order += "cpu_usage" | 29 | order += "cpu_usage" |
30 | order += "cpu_temperature 2" | 30 | # order += "cpu_temperature 2" |
31 | # order += "load" | 31 | # order += "load" |
32 | order += "disk /" | 32 | order += "disk /" |
33 | order += "disk /home" | ||
33 | order += "volume master" | 34 | order += "volume master" |
34 | order += "tztime localdate" | 35 | order += "tztime localdate" |
35 | order += "tztime localtime" | 36 | order += "tztime localtime" |
@@ -52,27 +53,31 @@ cpu_temperature 2 | |||
52 | } | 53 | } |
53 | 54 | ||
54 | wireless _first_ { | 55 | wireless _first_ { |
55 | format_up = "W: (%quality at %essid) %ip" | 56 | format_up = "📶%quality %essid %ip" |
56 | format_down = "W: down" | 57 | format_down = "📶 down" |
57 | } | 58 | } |
58 | 59 | ||
59 | ethernet _first_ { | 60 | ethernet _first_ { |
60 | 61 | ||
61 | # if you use %speed, i3status requires root privileges | 62 | # if you use %speed, i3status requires root privileges |
62 | format_up = " %interface %ip (%speed)" | 63 | format_up = "🌍 %ip (%speed)" |
63 | format_down = " %interface" | 64 | format_down = "" |
64 | } | 65 | } |
65 | 66 | ||
66 | 67 | ||
67 | ethernet enp7s0 { | 68 | ethernet enp0s31f6 { |
68 | # if you use %speed, i3status requires root privileges | 69 | # if you use %speed, i3status requires root privileges |
69 | format_up = " %interface %ip (%speed)" | 70 | format_up = " enp0s31f6 %ip (%speed)" |
70 | format_down = " %interface" | 71 | format_down = " enp0s31f6 down" |
71 | } | 72 | } |
72 | 73 | ||
73 | 74 | ||
74 | battery 0 { | 75 | battery 0 { |
75 | format = "%status %percentage %remaining" | 76 | format = "%status %percentage (%remaining)" |
77 | status_chr = "🔌" | ||
78 | status_bat = "🔋" | ||
79 | status_unk = "" | ||
80 | status_full = "🔋" | ||
76 | } | 81 | } |
77 | 82 | ||
78 | run_watch DHCP { | 83 | run_watch DHCP { |
@@ -87,8 +92,8 @@ path_exists VPN { | |||
87 | path = "/proc/sys/net/ipv4/conf/tun0" | 92 | path = "/proc/sys/net/ipv4/conf/tun0" |
88 | separator = false | 93 | separator = false |
89 | separator_block_width = 8 | 94 | separator_block_width = 8 |
90 | format = " " | 95 | format = " 🔑" |
91 | format_down = " " | 96 | format_down = "" |
92 | } | 97 | } |
93 | 98 | ||
94 | run_watch VPN { | 99 | run_watch VPN { |
@@ -96,11 +101,11 @@ run_watch VPN { | |||
96 | } | 101 | } |
97 | 102 | ||
98 | tztime localtime { | 103 | tztime localtime { |
99 | format = " %H:%M" | 104 | format = "⌚ %H:%M " |
100 | } | 105 | } |
101 | 106 | ||
102 | tztime localdate { | 107 | tztime localdate { |
103 | format = " %Y-%m-%d:%A" | 108 | format = "📅 %Y-%m-%d:%A" |
104 | } | 109 | } |
105 | 110 | ||
106 | # load { | 111 | # load { |
@@ -108,13 +113,22 @@ tztime localdate { | |||
108 | # } | 113 | # } |
109 | 114 | ||
110 | disk "/" { | 115 | disk "/" { |
111 | format = " %avail" | 116 | format = "💽 / %percentage_avail free" |
117 | prefix_type = custom | ||
118 | low_threshold = 10 | ||
119 | format_below_threshold = "/ %percentage_avail free (%gbytes_avail)" | ||
120 | } | ||
121 | |||
122 | disk "/home" { | ||
123 | format = "💽 /home %percentage_avail free" | ||
112 | prefix_type = custom | 124 | prefix_type = custom |
125 | low_threshold = 10 | ||
126 | format_below_threshold = "/home %percentage_avail free (%gbytes_avail)" | ||
113 | } | 127 | } |
114 | 128 | ||
115 | volume master { | 129 | volume master { |
116 | format = " %volume" | 130 | format = "🔊 %volume" |
117 | format_muted = "♪: muted (%volume)" | 131 | format_muted = "🔇 %volume" |
118 | device = "pulse:0" | 132 | device = "pulse:0" |
119 | } | 133 | } |
120 | 134 | ||