commit aaf49ed1822283240729bc152bc92341bce13ab1
parent 7fcf965d3c3bb482d15ce435168d1c08cf390610
Author: Jake Koroman <jakekoroman@gmail.com>
Date: Sun, 25 Feb 2024 20:20:23 -0500
minor changes.
Diffstat:
4 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/.config/sway/config b/.config/sway/config
@@ -42,9 +42,15 @@ exec dbus-update-activation-environment WAYLAND_DISPLAY
# emacs
bindsym $mod+e exec emacs
+ # pavucontrol
+ bindsym $mod+F1 exec pavucontrol
+
# launch pcmanfm
bindsym $mod+F2 exec pcmanfm
+ # toggle audio loopback
+ bindsym $mod+F12 exec audio_loopback
+
# screenshot
bindsym $mod+s exec grimshot copy window
bindsym $mod+Shift+s exec grimshot copy area
@@ -52,9 +58,6 @@ exec dbus-update-activation-environment WAYLAND_DISPLAY
# passmenu
bindsym $mod+p exec passmenu-otp
- # pavucontrol
- bindsym $mod+F1 exec pavucontrol
-
# lock screen
bindsym $mod+Delete exec --no-startup-id "swaylock -f -c 181818"
@@ -209,6 +212,7 @@ bindsym $mod+r mode "resize"
# Read `man 5 sway-bar` for more information about this section.
bar {
position bottom
+ tray_output DP-2
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
diff --git a/.emacs b/.emacs
@@ -11,8 +11,8 @@
(tool-bar-mode -1)
(scroll-bar-mode -1)
-;; (setq default-frame-alist '((font . "Iosevka-12")))
-(setq default-frame-alist '((font . "Liberation Mono-12")))
+(setq default-frame-alist '((font . "Iosevka-14")))
+;; (setq default-frame-alist '((font . "Liberation Mono-12")))
(defun my/disable-scroll-bars (frame)
(modify-frame-parameters frame
'((vertical-scroll-bars . nil)
diff --git a/deploy b/deploy
@@ -14,7 +14,7 @@ if test "$1" = "laptop" || test $(echo "$1" | cut -c1-1) = "l" ; then
FOOT_FONT="monospace:size=12"
elif test "$1" = "desktop" || test $(echo "$1" | cut -c1-1) = "d"; then
hardware="desktop"
- FOOT_FONT="Iosevka Nerd Font:size=14"
+ FOOT_FONT="Iosevka Nerd Font:pixelsize=18"
else
echo $USAGE
exit
diff --git a/scripts/audio_loopback b/scripts/audio_loopback
@@ -1,7 +1,7 @@
#!/bin/sh
src="alsa_input.pci-0000_00_1f.3.analog-stereo"
-sink="alsa_output.usb-Kingston_HyperX_Virtual_Surround_Sound_00000000-00.analog-stereo"
+sink="$(pactl get-default-sink)"
tmpfile="/tmp/audio_loopback"
if test ! -e $tmpfile; then