Using alacritty for terminal stuff

This commit is contained in:
Chris Cochrun 2020-12-18 06:45:29 -06:00
parent 5b2c7ffb72
commit 29a0dd3572
4 changed files with 8 additions and 13 deletions

View file

@ -129,7 +129,7 @@
(awful.key [modkey] "b" (fn [] (awful.spawn "bwmenu"))
{:description "launch rofi bitwarden selector" :group "launcher"})
;; audio
(awful.key [modkey] "a" (fn [] (awful.spawn "urxvt -b 80 -g 80x14 --class pulsemixer -e pulsemixer"))
(awful.key [modkey] "a" (fn [] (awful.spawn "alacritty -d 80 14 --class pulsemixer -e pulsemixer"))
{:description "launch pulsemixer" :group "audio"})
(awful.key [] "XF86AudioRaiseVolume" (fn [] (awful.spawn "pactl set-sink-volume @DEFAULT_SINK@ +5%")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))

View file

@ -51,19 +51,15 @@
:properties {
:floating true
:raise true
:height (dpi 900)
:width (dpi 1500)
;; :height (dpi 900)
;; :width (dpi 1500)
:placement (+ awful.placement.no_offscreen awful.placement.centered)
}
}
;; Pulsemixer center and smaller
{
:rule_any {
:class [
"pulsemixer"
"pulsemixer,Alacritty"
]
:name [
:instance [
"pulsemixer"
]
}
@ -71,8 +67,7 @@
:floating true
:raise true
:ontop true
;; :height (dpi 350)
;; :width (dpi 700)
:screen awful.screen.preferred
:placement (+ awful.placement.no_offscreen awful.placement.centered)
}
}