aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xaggregate.sh2
-rw-r--r--swappy/config7
-rw-r--r--sway/config8
-rw-r--r--waybar/style.css48
-rw-r--r--waybar/styles.d/style.material.css48
5 files changed, 59 insertions, 54 deletions
diff --git a/aggregate.sh b/aggregate.sh
index 523bec8..dab5ce6 100755
--- a/aggregate.sh
+++ b/aggregate.sh
@@ -53,6 +53,8 @@ function update_everything() {
# mpv
rsync --out-format="%n" -La --exclude=watch_later ~/.config/mpv/* ./mpv/
+ # swappy
+ rsync --out-format="%n" -La ~/.config/swappy/* ./swappy/
}
if [[ $COMMAND == "clean" ]]; then
diff --git a/swappy/config b/swappy/config
new file mode 100644
index 0000000..ed35417
--- /dev/null
+++ b/swappy/config
@@ -0,0 +1,7 @@
+[Default]
+save_dir=$HOME/Pictures/screenshots
+save_filename_format=%Y-%m-%d-%H:%M:%S.png
+show_panel=true
+line_size=5
+text_size=20
+text_font=IBM Plex Mono
diff --git a/sway/config b/sway/config
index 92fc0e0..70cd851 100644
--- a/sway/config
+++ b/sway/config
@@ -26,7 +26,7 @@ set $menu $dmenu
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
-output * background $HOME/Pictures/wallpaper/27.png fill
+output * background $HOME/Pictures/wallpaper/37.jpg fill
#
# Example configuration:
#
@@ -169,10 +169,10 @@ input "type:keyboard" {
bindsym $mod+Ctrl+t exec telegram-desktop
# Take screenshot
- bindsym Print exec grim "$HOME/Pictures/screenshots/$(date +%F\ %T).png"
+ bindsym Print exec grim - | swappy -f -
# Take screenshot by selecting a region
- bindsym Shift+Print exec grim -g "$(slurp)" "$HOME/Pictures/screenshots/$(date +%F\ %T).png"
+ bindsym Shift+Print exec grim -g "$(slurp)" - | swappy -f -
# Open Discord
bindsym $mod+Ctrl+d exec discord
@@ -294,7 +294,7 @@ gaps inner 7
smart_gaps on
# for some reason, `gaps outer -7` does not work
-exec swaymsg gaps outer all set -- -7
+exec_always swaymsg gaps outer all set -- -7
hide_edge_borders smart_no_gaps
default_border pixel 0 # 3
diff --git a/waybar/style.css b/waybar/style.css
index 3ed45e7..e626bb9 100644
--- a/waybar/style.css
+++ b/waybar/style.css
@@ -14,10 +14,9 @@
}
/*.horizontal:nth-child(2) {*/
- /*padding: 0;*/
+/*padding: 0;*/
/*}*/
-
window#waybar {
padding: 1000px;
color: #ffffff;
@@ -32,7 +31,7 @@ window#waybar.hidden {
}
#workspaces button {
- margin: 0px 0px;
+ margin: 0px 2px;
padding: 0.5rem;
background: #2e3440;
border-radius: 0.4rem;
@@ -54,12 +53,6 @@ window#waybar.hidden {
background-color: #eb4d4b;
}
-#mode {
- color: #ffa000;
- background-color: #000133;
- /* border-bottom: 3px solid #ffffff; */
-}
-
#clock,
#battery,
#cpu,
@@ -87,11 +80,6 @@ window#waybar.hidden {
border-radius: 0.4rem;
}
-#clock {
- color: #282a36;
- background-color: #d8dee9;
-}
-
@keyframes blink {
to {
color: #2e3440;
@@ -113,11 +101,6 @@ label:focus {
background-color: #2e3440;
}
-#backlight.icon {
- color: #2e3440;
- background: #d8dee9;
-}
-
#backlight.value {
min-width: 20px;
}
@@ -126,11 +109,6 @@ label:focus {
color: #ff0000;
}
-#pulseaudio.icon {
- color: #2e3440;
- background: #d8dee9;
-}
-
#pulseaudio.muted.icon {
background-color: gray;
/*color: #2a5c45;*/
@@ -160,10 +138,30 @@ label:focus {
background: deeppink;
}
+#pulseaudio.icon,
#custom-emailicon,
+#backlight.icon,
+#clock,
#custom-icon-cube {
+ /*background: #d8dee9;*/
color: #282a36;
- background: #d8dee9;
+
+ /* pride month */
+ background: linear-gradient(
+ 180deg,
+ #f00000,
+ #f00000 16.67%,
+ #ff8000 16.67%,
+ #ff8000 33.33%,
+ #ffff00 33.33%,
+ #ffff00 50%,
+ #007940 50%,
+ #007940 66.67%,
+ #4040ff 66.67%,
+ #4040ff 83.33%,
+ #a000c0 83.33%,
+ #a000c0
+ );
}
#custom-unreademail {
diff --git a/waybar/styles.d/style.material.css b/waybar/styles.d/style.material.css
index 3ed45e7..e626bb9 100644
--- a/waybar/styles.d/style.material.css
+++ b/waybar/styles.d/style.material.css
@@ -14,10 +14,9 @@
}
/*.horizontal:nth-child(2) {*/
- /*padding: 0;*/
+/*padding: 0;*/
/*}*/
-
window#waybar {
padding: 1000px;
color: #ffffff;
@@ -32,7 +31,7 @@ window#waybar.hidden {
}
#workspaces button {
- margin: 0px 0px;
+ margin: 0px 2px;
padding: 0.5rem;
background: #2e3440;
border-radius: 0.4rem;
@@ -54,12 +53,6 @@ window#waybar.hidden {
background-color: #eb4d4b;
}
-#mode {
- color: #ffa000;
- background-color: #000133;
- /* border-bottom: 3px solid #ffffff; */
-}
-
#clock,
#battery,
#cpu,
@@ -87,11 +80,6 @@ window#waybar.hidden {
border-radius: 0.4rem;
}
-#clock {
- color: #282a36;
- background-color: #d8dee9;
-}
-
@keyframes blink {
to {
color: #2e3440;
@@ -113,11 +101,6 @@ label:focus {
background-color: #2e3440;
}
-#backlight.icon {
- color: #2e3440;
- background: #d8dee9;
-}
-
#backlight.value {
min-width: 20px;
}
@@ -126,11 +109,6 @@ label:focus {
color: #ff0000;
}
-#pulseaudio.icon {
- color: #2e3440;
- background: #d8dee9;
-}
-
#pulseaudio.muted.icon {
background-color: gray;
/*color: #2a5c45;*/
@@ -160,10 +138,30 @@ label:focus {
background: deeppink;
}
+#pulseaudio.icon,
#custom-emailicon,
+#backlight.icon,
+#clock,
#custom-icon-cube {
+ /*background: #d8dee9;*/
color: #282a36;
- background: #d8dee9;
+
+ /* pride month */
+ background: linear-gradient(
+ 180deg,
+ #f00000,
+ #f00000 16.67%,
+ #ff8000 16.67%,
+ #ff8000 33.33%,
+ #ffff00 33.33%,
+ #ffff00 50%,
+ #007940 50%,
+ #007940 66.67%,
+ #4040ff 66.67%,
+ #4040ff 83.33%,
+ #a000c0 83.33%,
+ #a000c0
+ );
}
#custom-unreademail {