mirror of
https://github.com/rywng/dotfiles.git
synced 2024-10-30 23:51:51 +08:00
Update wob
This commit is contained in:
parent
5b73214550
commit
bd030de9f1
@ -28,4 +28,4 @@ allow_remote_control yes
|
|||||||
|
|
||||||
map kitty_mod+n new_os_window_with_cwd
|
map kitty_mod+n new_os_window_with_cwd
|
||||||
|
|
||||||
include themes/light.conf
|
include themes/dark.conf
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# vim: filetype=i3config
|
# vim: filetype=i3config
|
||||||
|
|
||||||
# wallpaper
|
# wallpaper
|
||||||
output * bg $(find ~/Pictures/Wallpapers/light -type f | shuf -n1) fill
|
output * bg $(find ~/Pictures/Wallpapers/dark -type f | shuf -n1) fill
|
||||||
|
|
||||||
# laptop output mode
|
# laptop output mode
|
||||||
set $laptop eDP-1
|
set $laptop eDP-1
|
||||||
|
@ -24,7 +24,7 @@ bindsym $mod+Ctrl+t exec ~/.config/sway/scripts/themes.sh
|
|||||||
|
|
||||||
#bind fn keys
|
#bind fn keys
|
||||||
bindsym XF86AudioMicMute exec amixer set Capture toggle
|
bindsym XF86AudioMicMute exec amixer set Capture toggle
|
||||||
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob -p 1 -b 2 -a top -M 48 --border-color '#474f54F0' --background-color '#2a2f33F0' --bar-color '#bfddb2F0' --overflow-mode wrap --overflow-background-color '#2a2f33F0' --overflow-bar-color '#d76e6ef0' --overflow-border-color '#474f54F0'
|
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
||||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1| awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1| awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
||||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1 | awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1 | awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
||||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && ~/.config/sway/scripts/getmute.sh > $SWAYSOCK.wob
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && ~/.config/sway/scripts/getmute.sh > $SWAYSOCK.wob
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
# vim: filetype=i3config
|
# vim: filetype=i3config
|
||||||
|
|
||||||
include ~/.config/sway/config.d/themes/light
|
include ~/.config/sway/config.d/themes/dark
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* vim: ft=less
|
* vim: ft=less
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import "light.less";
|
@import "dark.less";
|
||||||
|
|
||||||
.notification-row {
|
.notification-row {
|
||||||
outline: none;
|
outline: none;
|
||||||
|
@ -41,9 +41,9 @@
|
|||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
"states": {
|
"states": {
|
||||||
"good": 80,
|
"good": 75,
|
||||||
"warning": 30,
|
"warning": 15,
|
||||||
"critical": 15
|
"critical": 5
|
||||||
},
|
},
|
||||||
"format": "{icon} {capacity}%",
|
"format": "{icon} {capacity}%",
|
||||||
"format-charging": " {capacity}%",
|
"format-charging": " {capacity}%",
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@import "light.less";
|
@import "dark.less";
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: @background;
|
background: @background;
|
||||||
|
11
.config/wob/wob.ini
Normal file
11
.config/wob/wob.ini
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
border_size = 2
|
||||||
|
anchor = top
|
||||||
|
margin = 48
|
||||||
|
border_color = 474f54f0
|
||||||
|
background_color = 2a2f33f0
|
||||||
|
bar_color = bfddb2F0
|
||||||
|
bar_padding = 2
|
||||||
|
overflow_mode = wrap
|
||||||
|
overflow_background_color = 2a2f33f0
|
||||||
|
overflow_bar_color = d76e6ef0
|
||||||
|
overflow_border_color = 474f54f0
|
@ -1,5 +1,5 @@
|
|||||||
# style
|
# style
|
||||||
style=/home/juan/.config/wofi/light.css
|
style=/home/juan/.config/wofi/dark.css
|
||||||
width=600
|
width=600
|
||||||
height=500
|
height=500
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user