Compare commits

..

No commits in common. "813e050632f4c180f8c228f021c21aac171e6d36" and "c6cc1db4d905972f1fab87a7febb91d1af544547" have entirely different histories.

4 changed files with 8 additions and 46 deletions

View file

@ -7,19 +7,7 @@ riverctl map normal Super Return spawn kitty
riverctl map normal Super Space spawn fuzzel
# Logout
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'
riverctl map normal Super End spawn "wleave -p layer-shell"
# Close the focused view
riverctl map normal Super Q close

View file

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

View file

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

View file

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