exec xautolock -locker 'echo RELOADAGENT | gpg-connect-agent; i3lock'
# set a background
exec ~/.local/bin/bg
-# set the network switcher
-exec netctltray
+exec dunst
-# Toggle music playback
-bindsym Pause exec mpc toggle
# Printscreen current window
bindsym Shift+Print exec ~/.local/bin/scr window
# Printscreen
# lock the screen
bindsym $mod+l exec xautolock -locknow
# put a password in the clipboard
-bindsym $mod+y exec ~/.local/bin/passmenu
+bindsym $mod+y exec passmenu
# font for window titles.
-font pango:DejaVu Sans Mono 8
+font pango:$font 8
# use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
bindsym $mod+s focus right
# alternatively, you can use the cursor keys:
-bindsym $mod+Left exec xbacklight -dec 5
-bindsym $mod+Down exec amixer set Master 5- && kill -n 10 `pidof i3status`
-bindsym $mod+Up exec amixer set Master 5+ && kill -n 10 `pidof i3status`
-bindsym $mod+Right exec xbacklight -inc 5
+bindsym XF86MonBrightnessUp exec xbacklight -inc 5
+bindsym XF86MonBrightnessDown exec xbacklight -dec 5
+bindsym XF86AudioMute exec xbacklight -dec 5
+bindsym XF86AudioLowerVolume exec xbacklight -dec 5
+bindsym XF86AudioRaiseVolume exec xbacklight -dec 5
# move focused window
bindsym $mod+Shift+h move left
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
- status_command /home/mart/projects/i3status/i3status
+ status_command i3status
modifier $mod
font pango:$font $fontsize
}
interval = 5
}
-order += "cmd helloworld"
+order += "wireless wlp2s0"
+order += "ethernet enp3s0f1"
order += "volume master"
order += "disk /"
order += "wireless wlp1s0"
order += "battery 0"
order += "tztime local"
+
+battery 0 {
+ format = "%status %percentage %remaining %emptytime"
+ format_down = "No battery"
+ status_chr = "⚇ CHR"
+ status_bat = "⚡ BAT"
+ status_full = "☻ FULL"
+ path = "/sys/class/power_supply/BAT%d/uevent"
+ low_threshold = 10
+}
+
volume master {
format = "♪: %volume"
format_muted = "♪: muted (%volume)"
device = "default"
- mixer = "Master"
- mixer_idx = 0
+}
+
+wireless wlp2s0 {
+ format_up = "W: %essid %ip"
+ format_down ="W: down"
+}
+
+ethernet enp3s0f1 {
+ format_up = "E: %ip"
+ format_down ="E: down"
}
tztime local {
- format = "⌚ %Y-%m-%d %H:%M:%S"
+ format = "%Y-%m-%d %H:%M:%S"
}
disk "/" {
format = "%free/%total free"
}
-
-cmd helloworld {
- cmd = "pkill -0 quodlibet && quodlibet --print-playing || echo -n Stopped"
-}