Compare commits
5 Commits
b7988ad95d
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
1fd789e650
|
|||
|
4c1186c785
|
|||
|
c380e3fbf5
|
|||
|
f9d80c88f8
|
|||
|
173490799b
|
@@ -15,6 +15,11 @@ font=Cascadia Mono:style=Roman:size=13.5
|
||||
font-bold=Cascadia Mono:style=SemiBold:size=13.5
|
||||
font-italic=Cascadia Mono:style=Italic:size=13.5
|
||||
font-bold-italic=Cascadia Mono:style=Bold Italic:size=13.5
|
||||
{{- else if eq .chezmoi.hostname "byzas" }}
|
||||
font=Cascadia Mono:style=Roman:size=13
|
||||
font-bold=Cascadia Mono:style=SemiBold:size=13
|
||||
font-italic=Cascadia Mono:style=Italic:size=13
|
||||
font-bold-italic=Cascadia Mono:style=Bold Italic:size=13
|
||||
{{- end }}
|
||||
|
||||
# Selenized dark
|
||||
|
||||
BIN
dot_config/sway/B140UAN02_7.icm
Normal file
BIN
dot_config/sway/B140UAN02_7.icm
Normal file
Binary file not shown.
@@ -61,8 +61,13 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||
#
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
|
||||
# Wayland overlay bar for sound and brightness level
|
||||
set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock
|
||||
# See: https://www.rtings.com/monitor/reviews/dell/u3219q
|
||||
output 'Dell Inc. DELL U3219Q 9RSG413' color_profile icc ~/.config/sway/dell-U3219Q.icm
|
||||
|
||||
{{- if eq .chezmoi.hostname "byzas" }}
|
||||
# See: https://www.notebookcheck.net/Intel-empire-strikes-back-with-21-hrs-of-battery-life-Lenovo-ThinkPad-T14s-Gen-6-laptop-review.1008078.0.html
|
||||
output eDP-1 color_profile icc ~/.config/sway/B140UAN02_7.icm
|
||||
{{- end }}
|
||||
|
||||
### Idle configuration
|
||||
#
|
||||
@@ -256,14 +261,14 @@ bindsym $mod+r mode "resize"
|
||||
#
|
||||
# Utilities:
|
||||
#
|
||||
# Special keys to adjust volume via PulseAudio
|
||||
bindsym --locked XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $WOBSOCK ) || pamixer --get-volume > $WOBSOCK
|
||||
bindsym --locked XF86AudioLowerVolume exec pamixer -ud 5 && pamixer --get-volume > $WOBSOCK
|
||||
bindsym --locked XF86AudioRaiseVolume exec pamixer -ui 5 && pamixer --get-volume > $WOBSOCK
|
||||
bindsym --locked XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
# Special keys to adjust volume via WirePlumber
|
||||
bindsym --locked XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindsym --locked XF86AudioLowerVolume exec wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindsym --locked XF86AudioMicMute exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
# Special keys to adjust brightness via brightnessctl
|
||||
bindsym --locked XF86MonBrightnessUp exec light -S "$(light -G | awk '{ print int(($1 + .72) * 1.4) }')" && light -G | cut -d'.' -f1 > $WOBSOCK
|
||||
bindsym --locked XF86MonBrightnessDown exec light -S "$(light -G | awk '{ print int($1 / 1.4) }')" && light -G | cut -d'.' -f1 > $WOBSOCK
|
||||
bindsym --locked XF86MonBrightnessUp exec light -S "$(light -G | awk '{ print int(($1 + .72) * 1.4) }')"
|
||||
bindsym --locked XF86MonBrightnessDown exec light -S "$(light -G | awk '{ print int($1 / 1.4) }')"
|
||||
|
||||
|
||||
|
||||
BIN
dot_config/sway/dell-U3219Q.icm
Normal file
BIN
dot_config/sway/dell-U3219Q.icm
Normal file
Binary file not shown.
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=A lightweight overlay volume/backlight/progress/anything bar for Wayland
|
||||
Documentation=man:wob(1)
|
||||
BindsTo=sway-session.target
|
||||
ConditionEnvironment=WAYLAND_DISPLAY
|
||||
|
||||
[Service]
|
||||
StandardInput=socket
|
||||
ExecStart=/usr/bin/wob
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
||||
@@ -1,6 +0,0 @@
|
||||
[Socket]
|
||||
ListenFIFO=%t/wob.sock
|
||||
SocketMode=0600
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
@@ -5,7 +5,7 @@
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad"],
|
||||
"modules-center": ["sway/window"],
|
||||
"modules-right": ["idle_inhibitor", "wireplumber", "network", "sway/language", "battery", "clock", "tray"],
|
||||
"modules-right": ["idle_inhibitor", "backlight", "wireplumber", "network", "sway/language", "battery", "clock", "tray"],
|
||||
// Modules configuration
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
@@ -61,6 +61,10 @@
|
||||
"format-disconnected": "Disconnected ⚠",
|
||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||
},
|
||||
"backlight": {
|
||||
"format": "{percent}% {icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", ""],
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "{volume}% {icon}",
|
||||
"format-muted": "",
|
||||
|
||||
@@ -54,7 +54,7 @@ window#waybar.hidden {
|
||||
background-color: #f275be;
|
||||
}
|
||||
|
||||
#clock, #battery, #network, #wireplumber, #tray, #mode, #language, #idle_inhibitor, #window {
|
||||
#clock, #battery, #network, #backlight, #wireplumber, #tray, #mode, #language, #idle_inhibitor, #window {
|
||||
padding: 0 10px;
|
||||
margin: 0 2px;
|
||||
color: #adbcbc;
|
||||
@@ -106,6 +106,10 @@ label:focus {
|
||||
background-color: #103c48;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
background-color: #184956;
|
||||
}
|
||||
|
||||
#wireplumber {
|
||||
background-color: #184956;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user