update sway config
This commit is contained in:
parent
cba0896a55
commit
ec0dcb1ef5
4 changed files with 16 additions and 10 deletions
|
@ -15,6 +15,12 @@ on_click = "foot mbsync -a"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "net"
|
block = "net"
|
||||||
|
device = "wlan0"
|
||||||
|
format = "{ssid} {signal_strength}"
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "net"
|
||||||
|
device = "james"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "memory"
|
block = "memory"
|
||||||
|
@ -24,17 +30,16 @@ format_swap = "{swap_used_percents}"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "cpu"
|
block = "cpu"
|
||||||
format = "{barchart} {utilization}"
|
format = "{frequency} {barchart} {utilization}"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "load"
|
block = "load"
|
||||||
interval = 1
|
|
||||||
format = "{1m} {5m} {15m}"
|
format = "{1m} {5m} {15m}"
|
||||||
icons_format = " "
|
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "sound"
|
block = "sound"
|
||||||
on_click = "foot -e pulsemixer"
|
on_click = "foot -e pulsemixer"
|
||||||
|
headphones_indicator = true
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "keyboard_layout"
|
block = "keyboard_layout"
|
||||||
|
|
|
@ -4,7 +4,7 @@ idle_fg = "#dcdccc"
|
||||||
good_bg = "#7f9f7f"
|
good_bg = "#7f9f7f"
|
||||||
good_fg = "#111111"
|
good_fg = "#111111"
|
||||||
|
|
||||||
info_bg = "#cc9393"
|
info_bg = "#6ca0a3"
|
||||||
info_fg = "#111111"
|
info_fg = "#111111"
|
||||||
|
|
||||||
warning_bg = "#f0dfaf"
|
warning_bg = "#f0dfaf"
|
||||||
|
|
|
@ -24,7 +24,7 @@ set $menu wofi --show drun -i | xargs swaymsg exec --
|
||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/)
|
# Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/)
|
||||||
# output * bg /run/current-system/sw/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
# output * bg /run/current-system/sw/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
output * bg ~/.wall.png fill
|
output * bg ./wall.jpg fill
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
|
@ -37,9 +37,9 @@ output * bg ~/.wall.png fill
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 300 'swaylock-fancy --show-failed-attempts --daemonize -p -t "MICROWAVE ON HIGH FOR FIVE MINUTES"' \
|
timeout 300 'swaylock -eFfk -i ~/.config/sway/wall.jpg -s fill' \
|
||||||
timeout 303 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
timeout 303 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||||
before-sleep 'swaylock-fancy --show-failed-attempts --daemonize -p -t "MICROWAVE ON HIGH FOR FIVE MINUTES"'
|
before-sleep 'swaylock -eFfk -i ~/.config/sway/wall.jpg -s fill'
|
||||||
#
|
#
|
||||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||||
# your displays after another 300 seconds, and turn your screens back on when
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
|
@ -100,7 +100,7 @@ focus_follows_mouse no
|
||||||
bindsym --to-code XF86AudioRaiseVolume exec 'pamixer -i 1'
|
bindsym --to-code XF86AudioRaiseVolume exec 'pamixer -i 1'
|
||||||
bindsym --to-code XF86AudioLowerVolume exec 'pamixer -d 1'
|
bindsym --to-code XF86AudioLowerVolume exec 'pamixer -d 1'
|
||||||
bindsym --to-code XF86AudioMute exec 'pamixer -t'
|
bindsym --to-code XF86AudioMute exec 'pamixer -t'
|
||||||
bindsym --to-code $mod+Delete exec 'swaylock-fancy --show-failed-attempts --daemonize -p -t "MICROWAVE ON HIGH FOR FIVE MINUTES"'
|
bindsym --to-code $mod+Delete exec 'swaylock -eFfk -i ~/.config/sway/wall.jpg -s fill'
|
||||||
#bindsym --to-code $mod+Mod1+p exec 'flameshot gui'
|
#bindsym --to-code $mod+Mod1+p exec 'flameshot gui'
|
||||||
bindsym --to-code $mod+p exec 'grim -g "$(slurp)" - | wl-copy'
|
bindsym --to-code $mod+p exec 'grim -g "$(slurp)" - | wl-copy'
|
||||||
bindsym --to-code $mod+Mod1+p exec 'grim -g "$(slurp)" ~/Pictures/$(date +"%Y-%m-%d-%H-%M-%S").png'
|
bindsym --to-code $mod+Mod1+p exec 'grim -g "$(slurp)" ~/Pictures/$(date +"%Y-%m-%d-%H-%M-%S").png'
|
||||||
|
@ -250,7 +250,8 @@ bar {
|
||||||
default_border pixel 2
|
default_border pixel 2
|
||||||
# Set font
|
# Set font
|
||||||
font pango:Hack, Font Awesome 6 Free 9
|
font pango:Hack, Font Awesome 6 Free 9
|
||||||
# font pango:ttyp0 10
|
|
||||||
#font pango:JuliaMono 9
|
exec nextcloud --background
|
||||||
|
exec iwgtk -i
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
BIN
sway/.config/sway/wall.jpg
Normal file
BIN
sway/.config/sway/wall.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 527 KiB |
Loading…
Add table
Reference in a new issue