Compare commits

...

4 commits

Author SHA1 Message Date
813e050632
fix screenshot commands 2023-06-18 01:08:19 -04:00
a93c1b6945
Add screenshot commands 2023-06-18 00:07:11 -04:00
cf1cfc18ac
Adjust new waybar for laptop 2023-06-18 00:06:39 -04:00
7b5a3eca75
formatting 2023-06-18 00:04:32 -04:00
4 changed files with 46 additions and 8 deletions

View file

@ -7,7 +7,19 @@ riverctl map normal Super Return spawn kitty
riverctl map normal Super Space spawn fuzzel riverctl map normal Super Space spawn fuzzel
# Logout # Logout
riverctl map normal Super End spawn "wleave -p layer-shell" riverctl map normal Super End spawn 'wleave -p layer-shell'
# Screenshot entire display to clipboard
riverctl map normal Control Print spawn 'grim -t png - | wl-copy -t image/png'
# Screenshot entire display and save to file
riverctl map normal Super+Control Print spawn 'grim -t png ~/Pictures/screenshot-$(date +%Y-%m-%d_%T).png'
# Screenshot selection to clipboard
riverctl map normal Alt Print spawn 'grim -t png -g "$(slurp -d)" - | wl-copy -t image/png'
# Screenshot selection and save to file
riverctl map normal Super+Alt Print spawn 'grim -t png -g "$(slurp -d)" ~/Pictures/screenshot-$(date +%Y-%m-%d_%T).png'
# Close the focused view # Close the focused view
riverctl map normal Super Q close riverctl map normal Super Q close

View file

@ -6,10 +6,11 @@
{{- else if eq .chezmoi.hostname "helix" }} {{- else if eq .chezmoi.hostname "helix" }}
"output": "eDP-1", "output": "eDP-1",
"position": "top", "position": "top",
"width": 3840, //"width": 3840,
{{- else }} {{- else }}
"output": "eDP-1", "output": "eDP-1",
"position": "top", "position": "top",
// "width": 1920,
{{- end }} {{- end }}
"layer": "top", "layer": "top",
"height": 32, "height": 32,

View file

@ -136,7 +136,7 @@ button:hover {
} }
#battery.charging, #battery.charging,
#battery.plugged { #battery.plugged.charging {
color: #4a555b; color: #4a555b;
background-color: #9bb86f; background-color: #9bb86f;
{{- if eq .chezmoi.hostname "hydrus"}} {{- if eq .chezmoi.hostname "hydrus"}}
@ -153,6 +153,26 @@ button:hover {
} }
} }
#battery.good {
background-color: #323d43;
color: #d8caac;
{{- if eq .chezmoi.hostname "hydrus"}}
border-bottom: 3px solid rgba(208, 191, 155, 0.7);
{{- else }}
border-top: 3px solid rgba(208, 191, 155, 0.7);
{{- end }}
}
#battery.warning:not(.charging) {
background-color: #d5b26b;
color: #4a555b;
{{- if eq .chezmoi.hostname "hydrus"}}
border-bottom: 3px solid rgba(208, 191, 155, 0.7);
{{- else }}
border-top: 3px solid rgba(208, 191, 155, 0.7);
{{- end }}
}
#battery.critical:not(.charging) { #battery.critical:not(.charging) {
background-color: #e26c6e; background-color: #e26c6e;
color: #4a555b; color: #4a555b;
@ -166,7 +186,6 @@ button:hover {
{{- else }} {{- else }}
border-top: 3px solid rgba(208, 191, 155, 0.7); border-top: 3px solid rgba(208, 191, 155, 0.7);
{{- end }} {{- end }}
} }
label:focus { label:focus {
@ -204,7 +223,13 @@ label:focus {
} }
#backlight { #backlight {
background-color: #d0bf9b; background-color: #323d43;
color: #d8caac;
{{- if eq .chezmoi.hostname "hydrus"}}
border-bottom: 3px solid rgba(208, 191, 155, 0.7);
{{- else }}
border-top: 3px solid rgba(208, 191, 155, 0.7);
{{- end }}
} }
#network { #network {
@ -355,8 +380,8 @@ label:focus {
/* River */ /* River */
#mode.normal { #mode.normal {
background-color: #323d43;
color: #d8caac; color: #d8caac;
background-color: #4a555b;
} }
#mode.passthrough { #mode.passthrough {
@ -392,5 +417,5 @@ label:focus {
} }
#window { #window {
font-size: 10px; font-size: 12px;
} }

View file

@ -8,7 +8,7 @@ echo "--- ${START_TIME} ---" > "$LOG_FILE"
# kill running processes # kill running processes
killall -q swayidle killall -q swayidle
{{- if eq .chezmoi.hostname "helix" }} {{ if eq .chezmoi.hostname "helix" -}}
# dim: 2m, lock: 5m, display: 15m, suspend: 1h # dim: 2m, lock: 5m, display: 15m, suspend: 1h
swayidle -w \ swayidle -w \
timeout 120 'light -O && light -S .1' \ timeout 120 'light -O && light -S .1' \