wip
This commit is contained in:
parent
b5906605a3
commit
7c370c85ba
@ -18,7 +18,7 @@ PACKAGES=(
|
|||||||
git zip # others
|
git zip # others
|
||||||
|
|
||||||
# desktop env
|
# 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
|
foot bemenu-wayland i3blocks mako libnotify # terminals, ui
|
||||||
wev wl-clipboard wtype slurp grim # interaction
|
wev wl-clipboard wtype slurp grim # interaction
|
||||||
ttf-roboto ttf-roboto-mono ttf-font-awesome # fonts
|
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
|
[ "$(id -u)" != "0" ] && echo "ERROR: root required" >&2 && exit 1
|
||||||
|
|
||||||
pacman -Syu
|
pacman -Syu --noconfirm
|
||||||
install "${PACKAGES[@]}"
|
install "${PACKAGES[@]}"
|
||||||
|
|
||||||
file_has_line "/etc/profile" "umask 002"
|
file_has_line "/etc/profile" "umask 002"
|
||||||
|
@ -102,6 +102,7 @@ exec_screen_pick() {
|
|||||||
elif [ "$1" = "selection" ]; then
|
elif [ "$1" = "selection" ]; then
|
||||||
grim -g "$(slurp)" - | wl-copy -t image/png
|
grim -g "$(slurp)" - | wl-copy -t image/png
|
||||||
fi
|
fi
|
||||||
|
notify-send -a Screenshot "Done" "PNG image copied to clipboard" -t 3000
|
||||||
}
|
}
|
||||||
exec_pass() {
|
exec_pass() {
|
||||||
echo 1
|
echo 1
|
||||||
|
@ -102,8 +102,8 @@ bindsym --to-code $mod+slash focus next sibling
|
|||||||
|
|
||||||
################## actions ####################
|
################## actions ####################
|
||||||
# copy paste
|
# copy paste
|
||||||
bindsym --to-code $mod+c exec wtype -P XF86Cut
|
bindsym --to-code $mod+d exec wtype -P XF86Cut
|
||||||
bindsym --to-code $mod+d exec wtype -P XF86Copy
|
bindsym --to-code $mod+c exec wtype -P XF86Copy
|
||||||
bindsym --to-code $mod+v exec wtype -P XF86Paste
|
bindsym --to-code $mod+v exec wtype -P XF86Paste
|
||||||
# media
|
# media
|
||||||
bindsym --to-code XF86MonBrightnessDown exec ~/.local/bin/sway/brightness-set-and-notify.sh 5%- && pkill -SIGRTMIN+2 i3blocks
|
bindsym --to-code XF86MonBrightnessDown exec ~/.local/bin/sway/brightness-set-and-notify.sh 5%- && pkill -SIGRTMIN+2 i3blocks
|
||||||
|
Loading…
Reference in New Issue
Block a user