aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-08-05 05:05:40 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-08-05 05:05:40 +0300
commitc157c9a139ddda9dc760af36fb8b2299bc32a051 (patch)
tree2a0ce200a07e8a2bc6fffdaab5db5ceb7bcadc07
parent4743810ba16ded2c3d60c8ae23710dfafae3a76c (diff)
downloadswayrice-c157c9a139ddda9dc760af36fb8b2299bc32a051.tar.gz
swayrice-c157c9a139ddda9dc760af36fb8b2299bc32a051.zip
Minor improvements and changes here and there
-rw-r--r--dotfiles/.config/sway/desktopslav1
-rw-r--r--dotfiles/.config/swaylock/config3
-rwxr-xr-xdotfiles/.local/bin/barweather2
-rwxr-xr-xdotfiles/.local/bin/pacupgrade7
-rwxr-xr-xdotfiles/.local/bin/weath4
5 files changed, 12 insertions, 5 deletions
diff --git a/dotfiles/.config/sway/desktopslav b/dotfiles/.config/sway/desktopslav
index 1c76233..df96ccd 100644
--- a/dotfiles/.config/sway/desktopslav
+++ b/dotfiles/.config/sway/desktopslav
@@ -4,6 +4,7 @@
# Outputs
output "HDMI-A-2" background ~/.config/wall2.png fill
+output "HDMI-A-1" background ~/.config/wall1.png fill
output "HDMI-A-1" pos 0 0
output "HDMI-A-2" pos 1920 0
diff --git a/dotfiles/.config/swaylock/config b/dotfiles/.config/swaylock/config
index 4f36d70..2082a1f 100644
--- a/dotfiles/.config/swaylock/config
+++ b/dotfiles/.config/swaylock/config
@@ -22,10 +22,11 @@ text-ver-color=#e5e9f0
text-wrong-color=#1d2021
text-clear-color=#1d2021
-fade-in=1
+fade-in=.3
clock
indicator
screenshots
datestr=%a, %F
+effect-pixelate=8
effect-blur=12x3
layout-bg-color=#000000bb
diff --git a/dotfiles/.local/bin/barweather b/dotfiles/.local/bin/barweather
index 1fd2c6c..3fc7f42 100755
--- a/dotfiles/.local/bin/barweather
+++ b/dotfiles/.local/bin/barweather
@@ -1,7 +1,7 @@
#!/bin/sh
cachefile="$HOME/.cache/weather"
-location="Saint Petersburg"
+location="Saint-Petersburg"
update_freq=1800
obsolete_after=10800
diff --git a/dotfiles/.local/bin/pacupgrade b/dotfiles/.local/bin/pacupgrade
index aa00575..564bb5b 100755
--- a/dotfiles/.local/bin/pacupgrade
+++ b/dotfiles/.local/bin/pacupgrade
@@ -11,7 +11,12 @@ fi
touch ~/.cache/pacupdatelive
killall -41 waybar
-sudo pacman -Syu
+if [ "$1" = "-a" ]; then
+ yay -Syu
+else
+ sudo pacman -Syu
+fi
+
rm -f ~/.cache/pacupdatelive
killall -41 waybar
diff --git a/dotfiles/.local/bin/weath b/dotfiles/.local/bin/weath
index d644bfb..5d588bb 100755
--- a/dotfiles/.local/bin/weath
+++ b/dotfiles/.local/bin/weath
@@ -1,7 +1,7 @@
#!/bin/sh
-location="Saint Petersburg"
+location="Saint-Petersburg"
[ -n "$1" ] && location=$1
-curl wttr.in/"$location"
+curl "wttr.in/$location"