1
Fork 0
mirror of https://github.com/wlinator/dotfiles.git synced 2024-10-02 08:59:07 +00:00

flameshot

This commit is contained in:
wlinator 2024-06-25 13:07:05 +02:00
parent 5449dbb82e
commit 245112ae08
4 changed files with 16 additions and 7 deletions

View file

@ -0,0 +1,5 @@
SDL_VIDEODRIVER=wayland
_JAVA_AWT_WM_NONREPARENTING=1
QT_QPA_PLATFORM=wayland
XDG_CURRENT_DESKTOP=sway
XDG_SESSION_DESKTOP=sway

View file

@ -15,7 +15,7 @@ bindsym $mod+Shift+q kill
bindsym $mod+d exec $menu
bindsym $mod+Shift+n exec swaync-client -t -sw
#bindsym --release Print+Control exec --no-startup-id swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | slurp | grim -g - - | swappy -f -
bindsym Print exec grim -g "$(slurp)" - | wl-copy
bindsym Print exec flameshot gui
bindsym $mod+v exec clipman pick --tool=CUSTOM --tool-args="fuzzel -d"
bindsym $mod+l exec swaylock -ef
bindsym $mod+Shift+r reload
@ -82,17 +82,14 @@ bindsym --locked $mod+Shift+Prior exec playerctl previous
exec swaync
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec wl-paste -t text --watch clipman store --no-persist
exec systemctl --user set-environment XDG_CURRENT_DESKTOP=sway
exec systemctl --user import-environment DISPLAY SWAYSOCK WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec hash dbus-update-activation-environment 2>/dev/null
exec dbus-update-activation-environment --systemd DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway WAYLAND_DISPLAY
exec_always nm-applet --indicator
output HDMI-A-1 mode 1920x1080 pos 0 0
output DP-1 mode 1920x1080 pos 1920 0
output * bg ~/.config/sway/bg.jpg fill
output * bg ~/.config/sway/bg.jpg fill
for_window [app_id="flameshot"] border pixel 0, floating enable, fullscreen disable, move absolute position 0 0
bar {
swaybar_command waybar

View file

@ -0,0 +1,6 @@
[preferred]
# use xdg-desktop-portal-gtk for every portal interface
default=gtk
# except for the xdg-desktop-portal-wlr supplied interfaces
org.freedesktop.impl.portal.Screencast=wlr
org.freedesktop.impl.portal.Screenshot=wlr

1
.zshrc
View file

@ -99,3 +99,4 @@ source $ZSH/oh-my-zsh.sh
# Example aliases
alias neofetch="fastfetch"
alias sudo="run0 --background="