Skip to content

Commit a900c9b

Browse files
Save changes at: 1773961042
1 parent e483010 commit a900c9b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

sway.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# set -eu
33

44
function main() {
5+
update_date
56
install_packages
67
install_yay
78
install_yay_packages
@@ -13,6 +14,12 @@ function main() {
1314
finish
1415
}
1516

17+
function update_date() {
18+
echo "==> Update date."
19+
sudo timedatectl set-ntp true
20+
sudo hwclock --systohc
21+
}
22+
1623
function install_yay() {
1724
echo "--> Install yay tool."
1825
if ! type "git" > /dev/null; then
@@ -56,7 +63,6 @@ function install_packages() {
5663
lxqt-policykit `# authentication agent` \
5764
mako `# notificaciones` \
5865
mpv `# media player` \
59-
nyxt `# web browser` \
6066
slurp `# seleccionar región screenshot` \
6167
sway `# window manager Wayland` \
6268
swaybg `# fondo de pantalla` \
@@ -153,7 +159,7 @@ exec swayidle -w \
153159
bindsym $mod+Shift+p exec grim
154160
155161
# screenshot region
156-
bindsym $mod+Shift+4 exec slurp
162+
bindsym $mod+Shift+o exec slurp
157163
#
158164
# Moving around:
159165
#

0 commit comments

Comments
 (0)