- Still use autorandr to manage screens at home, as it plays better
with feh
- Use feh's saved executable .fehbg
- Have XFCE4 take care of volume notifications
- Use XFCE4 bar instead of i3status
- Start emacs in daemon mode
# Set up laptop monitor as primary screen and external screen on its right
# Managed by autorandr
exec --no-startup-id autorandr --change
# Set up laptop monitor as primary screen and external screen on its right
# Managed by autorandr
exec --no-startup-id autorandr --change
-#exec_always --no-startup-id xrandr --output eDP-1 --mode 2048x1152 --primary \
-# --output DP-1-2 --auto --mode 2560x1440 --right-of eDP-1
+exec_always --no-startup-id xrandr --output eDP-1 --mode 2048x1152 --primary \
+ --output DP-1-2 --auto --mode 2560x1440 --right-of eDP-1
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
-exec --no-startup-id nm-applet
+exec --no-startup-id nm-applet --sm-disable
## Control brightness
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
## Control brightness
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
exec --no-startup-id dunst
set $refresh_i3status killall -SIGUSR1 i3status
exec --no-startup-id dunst
set $refresh_i3status killall -SIGUSR1 i3status
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status && dunstify -a "changeVolume" -u low -i audio-volume-medium \
- -h int:value:"$(pamixer --get-volume)" "Volume: $(pamixer --get-volume)%" \
- -h string:x-dunst-stack-tag:volume \
- -h string:hlcolor:#3397ff
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && \
-$refresh_i3status && \
-dunstify -a "changeVolume" -u low -i audio-volume-low \
- -h int:value:"$(pamixer --get-volume)" "Volume: $(pamixer --get-volume)%" \
- -h string:x-dunst-stack-tag:volume \
- -h string:hlcolor:#3397ff
+#bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status && dunstify -a "changeVolume" -u low -i audio-volume-medium \
+# -h int:value:"$(pamixer --get-volume)" "Volume: $(pamixer --get-volume)%" \
+# -h string:x-dunst-stack-tag:volume \
+# -h string:hlcolor:#3397ff
+#bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && \
+#$refresh_i3status && \
+#dunstify -a "changeVolume" -u low -i audio-volume-low \
+# -h int:value:"$(pamixer --get-volume)" "Volume: $(pamixer --get-volume)%" \
+# -h string:x-dunst-stack-tag:volume \
+# -h string:hlcolor:#3397ff
-bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status && dunstify -t 2000 -u low -i audio-volume-muted \
--h string:x-dunst-stack-tag:volume "Muted"
+#bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status && dunstify -t 2000 -u low -i audio-volume-muted \
+#-h string:x-dunst-stack-tag:volume "Muted"
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
-bar {
- status_command i3status
-}
+#bar {
+# tray_output primary
+# status_command i3status
+#}
-# Display Wallpaper
-exec_always feh --bg-fill images/20180418T1659__Outback_regenboog.jpg
+# Display Wallpaper using feh's saved executable
+exec_always ~/.fehbg
# Take a screenshot upon pressing PrtSc (select an area)
bindsym --release Print exec --no-startup-id import /tmp/`date +%Y%m%dT%H%M%S`--screenshot-`hostname`.png
# Take a screenshot upon pressing PrtSc (select an area)
bindsym --release Shift+Print exec --no-startup-id import -window root /tmp/`date +%Y%m%dT%H%M%S`--screenshot-`hostname`.png
# Take a screenshot upon pressing PrtSc (select an area)
bindsym --release Print exec --no-startup-id import /tmp/`date +%Y%m%dT%H%M%S`--screenshot-`hostname`.png
# Take a screenshot upon pressing PrtSc (select an area)
bindsym --release Shift+Print exec --no-startup-id import -window root /tmp/`date +%Y%m%dT%H%M%S`--screenshot-`hostname`.png
+
+# Start Emacs in daemon mode and create a frame with mu4e in it
+exec emacs --daemon && emacsclient -c -e '(mu4e)'