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 gs='git show'
|
||||
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 sway='dbus-launch --exit-with-session sway'
|
||||
|
||||
if [ -e "$HOME/.kshrc_private" ]; then
|
||||
. "$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 PAGER=/bin/less
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
export QT_QPA_PLATFORM=wayland-egl
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export ELM_DISPLAY=wl
|
||||
export WLR_RENDERER=vulkan
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
|
||||
# SSH agent
|
||||
if [ ! -S ~/.ssh/ssh_auth_sock ]; then
|
||||
|
5
sway
5
sway
@ -1,5 +1,8 @@
|
||||
default_border pixel 1
|
||||
|
||||
### Hacks
|
||||
for_window [title="Bevy.App"] floating enable
|
||||
|
||||
### Variables
|
||||
|
||||
# Logo key. Use Mod1 for Alt.
|
||||
@ -46,7 +49,7 @@ bindsym $mod+space exec $menu
|
||||
bindsym $mod+grave exec $term -e song
|
||||
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
|
||||
|
||||
# Change focus
|
||||
|
Loading…
Reference in New Issue
Block a user