mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-23 02:13:11 -05:00
Compare commits
No commits in common. "813e050632f4c180f8c228f021c21aac171e6d36" and "c6cc1db4d905972f1fab87a7febb91d1af544547" have entirely different histories.
813e050632
...
c6cc1db4d9
4 changed files with 8 additions and 46 deletions
|
@ -7,19 +7,7 @@ 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
|
||||||
|
|
|
@ -6,11 +6,10 @@
|
||||||
{{- 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,
|
||||||
|
|
|
@ -136,7 +136,7 @@ button:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.charging,
|
#battery.charging,
|
||||||
#battery.plugged.charging {
|
#battery.plugged {
|
||||||
color: #4a555b;
|
color: #4a555b;
|
||||||
background-color: #9bb86f;
|
background-color: #9bb86f;
|
||||||
{{- if eq .chezmoi.hostname "hydrus"}}
|
{{- 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) {
|
#battery.critical:not(.charging) {
|
||||||
background-color: #e26c6e;
|
background-color: #e26c6e;
|
||||||
color: #4a555b;
|
color: #4a555b;
|
||||||
|
@ -186,6 +166,7 @@ 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 {
|
||||||
|
@ -223,13 +204,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#backlight {
|
#backlight {
|
||||||
background-color: #323d43;
|
background-color: #d0bf9b;
|
||||||
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 {
|
||||||
|
@ -380,8 +355,8 @@ label:focus {
|
||||||
/* River */
|
/* River */
|
||||||
|
|
||||||
#mode.normal {
|
#mode.normal {
|
||||||
background-color: #323d43;
|
|
||||||
color: #d8caac;
|
color: #d8caac;
|
||||||
|
background-color: #4a555b;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mode.passthrough {
|
#mode.passthrough {
|
||||||
|
@ -417,5 +392,5 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#window {
|
#window {
|
||||||
font-size: 12px;
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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' \
|
||||||
|
|
Loading…
Reference in a new issue