aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-08-05 15:26:27 +0300
committerYaroslav <contact@yaroslavps.com>2020-08-05 15:26:27 +0300
commitf8a3c29f65f363ff0cbbc59d49027ac26563c0dd (patch)
tree3793b18ca91a914be75a5fe6154024e3abd1d6fc
parent7ed9969ff4e13d0564e5e40a7711b2add56a5616 (diff)
downloadswayrice-f8a3c29f65f363ff0cbbc59d49027ac26563c0dd.tar.gz
swayrice-f8a3c29f65f363ff0cbbc59d49027ac26563c0dd.zip
mako: use the restore (expired notifications) functionality from the development version
-rw-r--r--dotfiles/.config/mako/config2
-rw-r--r--dotfiles/.config/sway/config7
2 files changed, 7 insertions, 2 deletions
diff --git a/dotfiles/.config/mako/config b/dotfiles/.config/mako/config
index affb3c4..6a2538d 100644
--- a/dotfiles/.config/mako/config
+++ b/dotfiles/.config/mako/config
@@ -4,3 +4,5 @@ background-color=#2d333f
border-color=#434c5e
default-timeout=5000
height=300
+max-visible=5
+max-history=10
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config
index 7aed9b6..1e1f8a4 100644
--- a/dotfiles/.config/sway/config
+++ b/dotfiles/.config/sway/config
@@ -109,6 +109,9 @@ input 2:10:TPPS/2_IBM_TrackPoint pointer_accel 1
output "*" background ~/.config/wall1.png fill
# Laptop display
output "eDP-1" scale 1.6 pos 0 0 scale_filter linear
+# Two monitor layout
+output "HDMI-A-1" pos 0 0
+output "HDMI-A-2" pos 1920 200
# Keymaps
input type:keyboard {
@@ -144,7 +147,7 @@ bindsym --to-code {
# Mako (notifications)
$mod+Ctrl+space exec "makoctl dismiss"
- # $mod+Ctrl+grave exec "makoctl list"
+ $mod+Ctrl+Shift+space exec "makoctl restore"
# Screen brightness controls
XF86MonBrightnessUp exec "xbacklight -inc 5"
@@ -200,7 +203,7 @@ bindsym --to-code {
Ctrl+Print exec --no-startup-id swayrecord
# Sound
- $mod+Shift+m exec $term -e 'pacmixer'
+ $mod+Shift+m exec $term -e 'ncpamixer'
$mod+Ctrl+m exec --no-startup-id menuoutput
# Applications that start with no gaps