From 2b1eac8bc54dbc514e24c64143dc34ef5f1caca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Fri, 9 Sep 2022 20:50:39 +0300 Subject: pipewire-restart script, ... ... qutebrowser banding fix hack, etc. --- dotfiles/.config/mimeapps.list | 1 + dotfiles/.config/sway/config | 4 +--- dotfiles/.config/zsh/shortcuts | 2 ++ dotfiles/.local/bin/pipewire-restart | 4 ++++ dotfiles/.profile | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) create mode 100755 dotfiles/.local/bin/pipewire-restart (limited to 'dotfiles') 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 -- cgit v1.2.3