diff --git a/shared/.config/xdg-desktop-portal/config b/shared/.config/xdg-desktop-portal/config new file mode 100644 index 0000000..6a6f305 --- /dev/null +++ b/shared/.config/xdg-desktop-portal/config @@ -0,0 +1,3 @@ +[screencast] +chooser_type=simple +chooser_cmd=slurp -f %o -or \ No newline at end of file diff --git a/shared/.config/xdg-desktop-portal/portals.conf b/shared/.config/xdg-desktop-portal/portals.conf new file mode 100644 index 0000000..a38bc4f --- /dev/null +++ b/shared/.config/xdg-desktop-portal/portals.conf @@ -0,0 +1,4 @@ +[preferred] +default=wlr;gtk +org.freedesktop.impl.portal.ScreenCast=wlr +org.freedesktop.impl.portal.Screenshot=wlr \ No newline at end of file diff --git a/shared/.zshrc b/shared/.zshrc index 441bb13..2080b63 100644 --- a/shared/.zshrc +++ b/shared/.zshrc @@ -33,6 +33,7 @@ eval `keychain --eval --quiet github` eval "$(direnv hook zsh)" #aliases +alias -- 'e'='emacsclient -nw -a "" -c "$@"' alias -- 'c'='clear' alias -- 'cat'='bat --paging=never --style=plain' alias -- 'cp'='cp -riv' @@ -52,3 +53,5 @@ alias -- 'gccc'='g++ -O2 -DNDEBUG -pedantic-errors -Wall -Wextra -Wconversion -W #named directory hashes hash -d dots="$HOME/.dotfiles" hash -d src="$HOME/src" + +export XDG_CURRENT_DESKTOP=sway