xonecas.io
405
Ic

i3wm-configurations / commit 09e9abb

Adds dunst and maim to handle notifications and screenshots

sean2022-01-18 09e9abb8e7180129481097994ec312dba1def321 parent ec1abd3

2 files changed

README.md+2−0
@@ -3,6 +3,8 @@
33 Using the tokyo night colors for the top bar, and window borders.
44
55 Depends on:
6+ - `maim` for screenshot commands (can be changed to scrot if prefered)
7+ - `dunst` for display notifications
68 - `feh` for the desktop background
79 - `pasystray` for the volume control icon
810 - `pactl` for the media keys shortcuts
i3_config+11−3
@@ -41,7 +41,7 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU
4141 floating_modifier $mod
4242
4343 # start a terminal
44-bindsym $mod+Return exec alacritty
44+bindsym $mod+Return exec WINIT_X11_SCALE_FACTOR=1 alacritty
4545
4646 # kill focused window
4747 bindsym $mod+Shift+q kill
@@ -244,7 +244,15 @@ exec /usr/bin/pasystray
244244 exec feh --bg-scale ./Pictures/w8ws8kf51gs41.png
245245 bindsym $mod+Shift+b exec feh --bg-scale ./Pictures/w8ws8kf51gs41.png
246246
247-# Use the monitors at home (script generated by arandr)
247+# Notifications using Dunst:
248+exec dunst
249+
250+
251+# Use the monitors at home:
248252 bindsym $mod+Shift+h exec /home/xonecas/Documents/home-work.sh
249253 # Use the laptop screen only:
250-# @TODO(sean)
254+bindsym $mod+Shift+m exec /home/xonecas/Documents/moving-work.sh
255+
256+# @TODO(sean):
257+# Bind scrot/maim to take screenshots ez
258+bindsym $mod+Shift+s exec maim -s | xclip -selection clipboard -t image/png