diff --git a/kshrc b/kshrc index 53eba49..eef81d6 100755 --- a/kshrc +++ b/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" diff --git a/profile b/profile index bdf1347..882d4fb 100755 --- a/profile +++ b/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 diff --git a/sway b/sway index bf9018a..72a63d7 100644 --- a/sway +++ b/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