summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config55
-rw-r--r--i3status.conf58
2 files changed, 76 insertions, 37 deletions
diff --git a/config b/config
index bc8dd3f..db89941 100644
--- a/config
+++ b/config
@@ -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/*
12font 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
14font pango:FuraCode Nerd Font Mono Medium 11
14 15
15hide_edge_borders both 16# hide_edge_borders both
16 17
17set $mod Mod4 18set $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
20floating_modifier $mod 21floating_modifier $mod
21 22
23# screenshots
24bindsym --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
24bindsym $mod+Return exec --no-startup-id xfce4-appfinder 28# bindsym $mod+Return exec --no-startup-id xfce4-appfinder
29bindsym $mod+Return exec --no-startup-id dmenu_run -nb '#e0e0e0' -nf '#000' -sb '#ffffff' -sf '#4271ae'
25bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff 30bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff
26bindsym $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
33bindsym $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
29bindsym $mod+e exec --no-startup-id thunar 37bindsym $mod+e exec --no-startup-id xdg-open $HOME
30bindsym $mod+l exec --no-startup-id ~/.local/bin/i3lock -f -i "/home/max/.local/share/backgrounds/IMG_5656 - IMG_5684-02.png" 38bindsym $mod+l exec --no-startup-id i3lock -f -i "/usr/share/backgrounds/xfce/xfce-blue.jpg"
31 39
32bindsym $mod+F10 exec pactl set-sink-mute 0 toggle 40bindsym $mod+F10 exec pactl set-sink-mute 0 toggle
33bindsym $mod+F11 exec pactl set-sink-volume 0 -5% 41bindsym $mod+F11 exec pactl set-sink-volume 0 -5%
@@ -38,7 +46,7 @@ bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5%
38bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% # decrease sound volume 46bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% # decrease sound volume
39bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle # mute sound 47bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle # mute sound
40 48
41bindcode 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
44bindsym $mod+Shift+q kill 52bindsym $mod+Shift+q kill
@@ -182,6 +190,8 @@ bindsym $mod+v split toggle
182bindsym $mod+space split toggle 190bindsym $mod+space split toggle
183 191
184 192
193# win+backspace
194bindsym $mod+BackSpace move workspace to output right
185 195
186bindsym $mod+r mode "resize" 196bindsym $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
216exec xrandr --output HDMI-1 --right-of DP-1 226# exec xrandr --output HDMI-1 --right-of DP-1
217exec 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
219exec setxkbmap -option caps:escape 229# exec setxkbmap -option caps:escape
220exec xset r rate 330 40 230# exec setxkbmap -layout en_US -variant altgr-intl
221exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1 231
222 232
233exec xrandr --output HDMI1 --left-of eDP1
234exec xset r rate 330 40
235# exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1
236exec ibus-daemon -xd
237exec gpg-agent --daemon
223exec gnome-keyring-daemon --start --components=secrets 238exec gnome-keyring-daemon --start --components=secrets
224# start compositor... 239# start compositor...
225exec compton -b --config ~/.config/i3/compton.conf 240exec compton -b --config ~/.config/i3/compton.conf
226exec nitrogen --restore 241exec nitrogen --restore
227exec nm-applet 242exec nm-applet
243exec kaze
244exec /home/cpohle/.local/bin/vdirsyncer_sync
245exec owncloud
246
247# clipboard manger, so that the clipboard survives when a program exits
248exec setsid parcellite
249# deactivate thinkpad touchpad
250exec synclient TouchpadOff=1
251
228 252
229 253
230 254
231 255
232 256
233exec 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.
265bar { 289bar {
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
324for_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
9general { 9general {
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"
22order += "path_exists VPN" 22order += "path_exists VPN"
23order += "run_watch DHCP" 23order += "run_watch DHCP"
24# order += "wireless _first_" 24order += "wireless _first_"
25order += "ethernet _first_" 25order += "ethernet _first_"
26order += "ethernet enp7s0" 26# order += "ethernet enp0s31f6"
27# order += "battery 0" 27order += "battery 0"
28order += "cpu_temperature 1" 28order += "cpu_temperature 1"
29order += "cpu_usage" 29order += "cpu_usage"
30order += "cpu_temperature 2" 30# order += "cpu_temperature 2"
31# order += "load" 31# order += "load"
32order += "disk /" 32order += "disk /"
33order += "disk /home"
33order += "volume master" 34order += "volume master"
34order += "tztime localdate" 35order += "tztime localdate"
35order += "tztime localtime" 36order += "tztime localtime"
@@ -52,27 +53,31 @@ cpu_temperature 2
52} 53}
53 54
54wireless _first_ { 55wireless _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
59ethernet _first_ { 60ethernet _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
67ethernet enp7s0 { 68ethernet 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
74battery 0 { 75battery 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
78run_watch DHCP { 83run_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
94run_watch VPN { 99run_watch VPN {
@@ -96,11 +101,11 @@ run_watch VPN {
96} 101}
97 102
98tztime localtime { 103tztime localtime {
99 format = " %H:%M" 104 format = " %H:%M "
100} 105}
101 106
102tztime localdate { 107tztime 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
110disk "/" { 115disk "/" {
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
122disk "/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
115volume master { 129volume 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
..