Compare commits
No commits in common. "79cf112ad4f93e8b061a3713e4326b3636af27d3" and "8b23f5748e5f8c652a08f8ca2b2f462a427a88b0" have entirely different histories.
79cf112ad4
...
8b23f5748e
@ -48,6 +48,9 @@ dotfiles:
|
|||||||
f_psqlrc:
|
f_psqlrc:
|
||||||
src: psqlrc
|
src: psqlrc
|
||||||
dst: ~/.psqlrc
|
dst: ~/.psqlrc
|
||||||
|
f_pam_environment:
|
||||||
|
src: pam_environment
|
||||||
|
dst: ~/.pam_environment
|
||||||
f_bashrc:
|
f_bashrc:
|
||||||
src: bashrc
|
src: bashrc
|
||||||
dst: ~/.bashrc
|
dst: ~/.bashrc
|
||||||
@ -90,6 +93,7 @@ profiles:
|
|||||||
- f_wob.socket
|
- f_wob.socket
|
||||||
- f_sway-session.target
|
- f_sway-session.target
|
||||||
- f_psqlrc
|
- f_psqlrc
|
||||||
|
- f_pam_environment
|
||||||
- f_xdg_desktop_portal_wlr_config
|
- f_xdg_desktop_portal_wlr_config
|
||||||
- d_local_bin
|
- d_local_bin
|
||||||
- f_ssh-agent.service
|
- f_ssh-agent.service
|
||||||
@ -110,6 +114,7 @@ profiles:
|
|||||||
- f_wob.socket
|
- f_wob.socket
|
||||||
- f_sway-session.target
|
- f_sway-session.target
|
||||||
- f_psqlrc
|
- f_psqlrc
|
||||||
|
- f_pam_environment
|
||||||
- f_xdg_desktop_portal_wlr_config
|
- f_xdg_desktop_portal_wlr_config
|
||||||
- f_geoclue-agent.service
|
- f_geoclue-agent.service
|
||||||
- d_local_bin
|
- d_local_bin
|
||||||
|
@ -281,4 +281,4 @@ bar {
|
|||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
# Start sway-session.target, to which kanshi.service and swayidle.service bind.
|
# Start sway-session.target, to which kanshi.service and swayidle.service bind.
|
||||||
exec_always "systemctl --user start sway-session.target"
|
exec_always "systemctl --user import-environment; systemctl --user start sway-session.target"
|
||||||
|
3
dotfiles/pam_environment
Normal file
3
dotfiles/pam_environment
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
MOZ_ENABLE_WAYLAND=1
|
||||||
|
QT_QPA_PLATFORM=wayland-egl
|
||||||
|
XDG_CURRENT_DESKTOP=sway
|
@ -32,20 +32,17 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
|
|||||||
# $ npm install -g bower grunt grunt-cli
|
# $ npm install -g bower grunt grunt-cli
|
||||||
PATH=$PATH:~/.node_modules/bin
|
PATH=$PATH:~/.node_modules/bin
|
||||||
|
|
||||||
{%@@ if profile == "knafeh" or profile == "balozi" @@%}
|
if [[ -n $WAYLAND_DISPLAY ]]; then
|
||||||
# Export these variables in our TTY so that Sway can read them when it
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
# starts. It's not pretty, but it's all we can do since support for
|
# 2021-06-22: fix "Firefox is already running" message
|
||||||
# ~/.pam_environment was removed from pambase in Arch Linux recently.
|
# See: https://mastransky.wordpress.com/2020/03/16/wayland-x11-how-to-run-firefox-in-mixed-environment/
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_DBUS_REMOTE=1
|
||||||
# 2021-06-22: fix "Firefox is already running" message
|
export QT_QPA_PLATFORM=wayland-egl
|
||||||
# See: https://mastransky.wordpress.com/2020/03/16/wayland-x11-how-to-run-firefox-in-mixed-environment/
|
export CLUTTER_BACKEND=wayland
|
||||||
export MOZ_DBUS_REMOTE=1
|
# 2020-02-10: https://github.com/swaywm/sway/wiki#issues-with-java-applications
|
||||||
export QT_QPA_PLATFORM=wayland-egl
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
export CLUTTER_BACKEND=wayland
|
export SDL_VIDEODRIVER=wayland
|
||||||
# 2020-02-10: https://github.com/swaywm/sway/wiki#issues-with-java-applications
|
fi
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
||||||
export SDL_VIDEODRIVER=wayland
|
|
||||||
{%@@ endif @@%}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable asdf version manager zsh completions
|
# Enable asdf version manager zsh completions
|
||||||
|
Loading…
Reference in New Issue
Block a user