aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-09-09 20:50:39 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-09-09 20:50:39 +0300
commit2b1eac8bc54dbc514e24c64143dc34ef5f1caca5 (patch)
tree8f06a1734486a876f53bbaff56a99c8c18088567
parentcbf22e631a6e5b9129a95b192a29c8215e9917ed (diff)
downloadswayrice-2b1eac8bc54dbc514e24c64143dc34ef5f1caca5.tar.gz
swayrice-2b1eac8bc54dbc514e24c64143dc34ef5f1caca5.zip
pipewire-restart script, ...
... qutebrowser banding fix hack, etc.
-rw-r--r--dotfiles/.config/mimeapps.list1
-rw-r--r--dotfiles/.config/sway/config4
-rw-r--r--dotfiles/.config/zsh/shortcuts2
-rwxr-xr-xdotfiles/.local/bin/pipewire-restart4
-rw-r--r--dotfiles/.profile2
5 files changed, 9 insertions, 4 deletions
diff --git a/dotfiles/.config/mimeapps.list b/dotfiles/.config/mimeapps.list
index eb99f7f..febab19 100644
--- a/dotfiles/.config/mimeapps.list
+++ b/dotfiles/.config/mimeapps.list
@@ -31,6 +31,7 @@ x-scheme-handler/qute=org.qutebrowser.qutebrowser.desktop;
x-scheme-handler/discord-455712169795780630=discord-455712169795780630.desktop
x-scheme-handler/mailto=neomutt.desktop
x-scheme-handler/tg=userapp-Telegram Desktop-BLI1G1.desktop
+x-scheme-handler/msteams=teams.desktop
[Added Associations]
x-scheme-handler/tg=userapp-Telegram Desktop-BLI1G1.desktop;
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config
index 4085e11..029ee97 100644
--- a/dotfiles/.config/sway/config
+++ b/dotfiles/.config/sway/config
@@ -55,9 +55,7 @@ exec_always {
# Waybar
exec waybar_launch
# Audio
-exec pipewire
-exec wireplumber
-exec pipewire-pulse
+exec pipewire-restart
# Music daemon
exec mpd
# Bluetooth adapter applet
diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts
index 0927d1b..44c3ab7 100644
--- a/dotfiles/.config/zsh/shortcuts
+++ b/dotfiles/.config/zsh/shortcuts
@@ -27,6 +27,8 @@ alias audio="ncpamixer"
alias calc="python -q -i -c 'import math'"
alias spw="setsid $TERMINAL >/dev/null 2>&1 &"
alias testinet="ping -c2 example.com"
+alias past="wl-paste -n"
+alias ppast="wl-paste -pn"
# rsync shortcuts
alias rs="rsync -avh"
diff --git a/dotfiles/.local/bin/pipewire-restart b/dotfiles/.local/bin/pipewire-restart
new file mode 100755
index 0000000..8c6caa7
--- /dev/null
+++ b/dotfiles/.local/bin/pipewire-restart
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+killall pipewire wireplumber pipewire-pulse
+pipewire & wireplumber & pipewire-pulse &
diff --git a/dotfiles/.profile b/dotfiles/.profile
index e1844df..0627bdd 100644
--- a/dotfiles/.profile
+++ b/dotfiles/.profile
@@ -7,7 +7,7 @@ export EGL_PLATFORM=wayland
export CLUTTER_PLATFORM=wayland
export SDL_VIDEODRIVER=wayland
export QT_QPA_PLATFORM=wayland-egl
-export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
+export QT_WAYLAND_DISABLE_WINDOWDECORATION=0
export QT_QPA_PLATFORMTHEME="qt5ct"
export _JAVA_AWT_WM_NONREPARENTING=1
export MANWIDTH=80