Some wayland-related changes
This commit is contained in:
parent
b3e83db50b
commit
06cbd8fba9
2
kshrc
2
kshrc
@ -8,7 +8,9 @@ alias gca='git commit --amend --no-edit'
|
|||||||
alias gpf='git push --force-with-lease'
|
alias gpf='git push --force-with-lease'
|
||||||
alias gs='git show'
|
alias gs='git show'
|
||||||
alias gd='git diff'
|
alias gd='git diff'
|
||||||
|
alias gds='gd --staged'
|
||||||
alias gl='git log --pretty=format:"%C(auto)%h %>|(23)%C(blue)%ad%C(auto) %s" --date=relative'
|
alias gl='git log --pretty=format:"%C(auto)%h %>|(23)%C(blue)%ad%C(auto) %s" --date=relative'
|
||||||
|
alias sway='dbus-launch --exit-with-session sway'
|
||||||
|
|
||||||
if [ -e "$HOME/.kshrc_private" ]; then
|
if [ -e "$HOME/.kshrc_private" ]; then
|
||||||
. "$HOME/.kshrc_private"
|
. "$HOME/.kshrc_private"
|
||||||
|
4
profile
4
profile
@ -2,9 +2,11 @@ export PATH="$HOME/.LinuxConfig/bin:${PATH}:$HOME/go/bin"
|
|||||||
export EDITOR=/usr/bin/nvim
|
export EDITOR=/usr/bin/nvim
|
||||||
export PAGER=/bin/less
|
export PAGER=/bin/less
|
||||||
export SDL_VIDEODRIVER=wayland
|
export SDL_VIDEODRIVER=wayland
|
||||||
export QT_QPA_PLATFORM=wayland-egl
|
export QT_QPA_PLATFORM=wayland
|
||||||
export ELM_DISPLAY=wl
|
export ELM_DISPLAY=wl
|
||||||
export WLR_RENDERER=vulkan
|
export WLR_RENDERER=vulkan
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
export XDG_CURRENT_DESKTOP=sway
|
||||||
|
|
||||||
# SSH agent
|
# SSH agent
|
||||||
if [ ! -S ~/.ssh/ssh_auth_sock ]; then
|
if [ ! -S ~/.ssh/ssh_auth_sock ]; then
|
||||||
|
5
sway
5
sway
@ -1,5 +1,8 @@
|
|||||||
default_border pixel 1
|
default_border pixel 1
|
||||||
|
|
||||||
|
### Hacks
|
||||||
|
for_window [title="Bevy.App"] floating enable
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
# Logo key. Use Mod1 for Alt.
|
# Logo key. Use Mod1 for Alt.
|
||||||
@ -46,7 +49,7 @@ bindsym $mod+space exec $menu
|
|||||||
bindsym $mod+grave exec $term -e song
|
bindsym $mod+grave exec $term -e song
|
||||||
bindsym Print exec grim -g "$(slurp)" -t png - | wl-copy -n -t image/png
|
bindsym Print exec grim -g "$(slurp)" -t png - | wl-copy -n -t image/png
|
||||||
|
|
||||||
bindsym $mod+b exec MOZ_ENABLE_WAYLAND=1 firefox
|
bindsym $mod+b exec firefox
|
||||||
bindsym $mod+Shift+b exec chromium --incognito --ozone-platform=wayland
|
bindsym $mod+Shift+b exec chromium --incognito --ozone-platform=wayland
|
||||||
|
|
||||||
# Change focus
|
# Change focus
|
||||||
|
Loading…
Reference in New Issue
Block a user