diff --git a/arch-root/install.sh b/arch-root/install.sh index 58523c5..3236cbd 100644 --- a/arch-root/install.sh +++ b/arch-root/install.sh @@ -18,7 +18,7 @@ PACKAGES=( git zip # others # desktop env - greetd sway swaybg swayidle xorg-xwayland # basic + greetd wlr-randr sway swaybg swayidle xorg-xwayland # basic foot bemenu-wayland i3blocks mako libnotify # terminals, ui wev wl-clipboard wtype slurp grim # interaction ttf-roboto ttf-roboto-mono ttf-font-awesome # fonts @@ -47,7 +47,7 @@ cp_chown() { [ "$(id -u)" != "0" ] && echo "ERROR: root required" >&2 && exit 1 -pacman -Syu +pacman -Syu --noconfirm install "${PACKAGES[@]}" file_has_line "/etc/profile" "umask 002" diff --git a/arch-user/bin/run.sh b/arch-user/bin/run.sh index 4c91cc4..5314f56 100755 --- a/arch-user/bin/run.sh +++ b/arch-user/bin/run.sh @@ -102,6 +102,7 @@ exec_screen_pick() { elif [ "$1" = "selection" ]; then grim -g "$(slurp)" - | wl-copy -t image/png fi + notify-send -a Screenshot "Done" "PNG image copied to clipboard" -t 3000 } exec_pass() { echo 1 diff --git a/arch-user/config/sway/config.tmpl b/arch-user/config/sway/config.tmpl index 8f325f3..41f9b8f 100644 --- a/arch-user/config/sway/config.tmpl +++ b/arch-user/config/sway/config.tmpl @@ -102,8 +102,8 @@ bindsym --to-code $mod+slash focus next sibling ################## actions #################### # copy paste -bindsym --to-code $mod+c exec wtype -P XF86Cut -bindsym --to-code $mod+d exec wtype -P XF86Copy +bindsym --to-code $mod+d exec wtype -P XF86Cut +bindsym --to-code $mod+c exec wtype -P XF86Copy bindsym --to-code $mod+v exec wtype -P XF86Paste # media bindsym --to-code XF86MonBrightnessDown exec ~/.local/bin/sway/brightness-set-and-notify.sh 5%- && pkill -SIGRTMIN+2 i3blocks