From 743c072019b42f5227fb77a881abde6f21113b01 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 3 Jun 2023 16:53:01 -0500 Subject: [PATCH] add line to sway config to show whether a window is running under wayland or xwayland --- .config/mimeapps.list | 6 ++++++ .config/sway/config | 5 +++++ .config/zsh/.zprofile | 3 ++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .config/mimeapps.list diff --git a/.config/mimeapps.list b/.config/mimeapps.list new file mode 100644 index 0000000..133ec40 --- /dev/null +++ b/.config/mimeapps.list @@ -0,0 +1,6 @@ + +[Default Applications] +inode/directory=thunar.desktop +application/x-gnome-saved-search=thunar.desktop +video/=mpv.desktop +image/=imv.desktop diff --git a/.config/sway/config b/.config/sway/config index 7800e30..0bace56 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -303,10 +303,15 @@ gaps outer 10 #border default_border pixel 2 + +#for_window [shell="^((?!xdg_shell).)*$"] title_format "%title :: %shell" +for_window [shell=".*"] title_format "%title :: %shell" + #set windows to float by default for_window [class="Matplotlib"] floating enable #for_window [class="Steam"] floating enable + #input config input type:pointer accel_profile flat input type:pointer pointer_accel -0.5 diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 9cfcd69..9b9f18b 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -60,7 +60,8 @@ export SFEED_URL_FILE="$HOME/.local/share/sfeed/read" #set programs export EDITOR=nvim -export BROWSER="browser.sh" +#export BROWSER="browser.sh" +export BROWSER="com.brave.Browser" #lf icons