This commit is contained in:
Thies Lennart Alff 2023-10-18 20:20:23 +02:00
parent 7ba5c3cf44
commit 7ca472f437
6 changed files with 18 additions and 0 deletions

View file

@ -27,6 +27,13 @@ vim.api.nvim_create_autocmd("FileType", {
end
})
vim.api.nvim_create_autocmd('FileType', {
pattern = 'Makefile',
callback = function ()
vim.opt_local.expandtab = false
end
})
vim.opt.scrolloff = 8
vim.opt.signcolumn = 'yes'
vim.opt.updatetime = 500

View file

@ -43,6 +43,8 @@ bindsym $mod+Shift+r restart
bindsym $mod+Shift+c reload
bindsym $mod+Shift+q kill
bindsym $mod+Shift+s exec grim -g "$(slurp)" - | swappy -f -
mode "$mode_exit" {
bindsym l exec --no-startup-id $locker, mode "default"
bindsym o exec --no-startup-id i3-msg exit, mode "default"

View file

@ -1 +1,2 @@
for_window [app_id="lxqt-policykit-agent"] floating enable
for_window [title="flameshot" app_id="flameshot"] fullscreen enable global

View file

@ -0,0 +1,4 @@
[preferred]
default=wlr;gtk
org.freedesktop.portal.Screencast=wlr
org.freedesktop.portal.Screenshot=wlr

View file

@ -4,5 +4,7 @@ then
export XDG_SESSION_TYPE=wayland
export XDG_CURRENT_DESKTOP=sway
export QT_QPA_PLATFORM=wayland
export CLUTTER_BACKEND=wayland
export SDL_VIDEODRIVER='wayland,x11'
exec sway
fi

View file

@ -33,10 +33,12 @@ fd
# screen sharing
xdg-desktop-portal
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
# screenshots
slurp
grim
swappy
# clipboard. generally needed
wl-clipboard