This commit is contained in:
kuoi 2022-07-19 14:01:41 +01:00
parent 906236a3f5
commit 57dd7694ab
3 changed files with 35 additions and 25 deletions

View file

@ -1,16 +1,14 @@
font=sans 10 font=sans 10
background-color=#e6e6fadd background-color=#e6e6fadd
text-color=#333333ff text-color=#333333ff
border-color=#b3b3ffdd border-color=#268bd2AA
border-radius=4 border-radius=4
height=500 height=500
# avoid covering firefox's tabs and buttons
outer-margin=75,0,0,0
layer=overlay layer=overlay
[urgency=high] [urgency=high]
text-color=#ff5c57ff text-color=#333333ff
border-color=#ff5c57bb border-color=#f9f06bAA
[mode=locked] [mode=locked]
layer=top layer=top

View file

@ -74,7 +74,8 @@ plugins = \
wobbly \ wobbly \
wrot \ wrot \
zoom \ zoom \
spacing spacing \
wf-info
# Note: [blur] is not enabled by default, because it can be resource-intensive. # Note: [blur] is not enabled by default, because it can be resource-intensive.
# Feel free to add it to the list if you want it. # Feel free to add it to the list if you want it.
@ -89,7 +90,7 @@ vwidth = 3
vheight = 3 vheight = 3
# Prefer client-side decoration or server-side decoration # Prefer client-side decoration or server-side decoration
preferred_decoration_mode = server preferred_decoration_mode = client
# Mouse bindings ─────────────────────────────────────────────────────────────── # Mouse bindings ───────────────────────────────────────────────────────────────
@ -127,7 +128,7 @@ environment = dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPL
autostart_wf_shell = false autostart_wf_shell = false
# greetd # greetd
# gtkgreet = gtkgreet -l #dm = gtkgreet -l && wayland-logout
# chromium screenshare # chromium screenshare
0_0 = systemctl --user import-environment 0_0 = systemctl --user import-environment
@ -156,9 +157,12 @@ fcitx5 = fcitx
# KDEConnect # KDEConnect
kdeconnect = kdeconnect-indicator kdeconnect = kdeconnect-indicator
# Keyring
keyring = gnome-keyring
# Screen color temperature # Screen color temperature
# https://sr.ht/~kennylevinsen/wlsunset/ # https://sr.ht/~kennylevinsen/wlsunset/
gamma = wlsunset # gamma = wlsunset
# Idle configuration # Idle configuration
# https://github.com/swaywm/swayidle # https://github.com/swaywm/swayidle
@ -211,23 +215,25 @@ command_logout = nwgbar
# Screenshots # Screenshots
# https://wayland.emersion.fr/grim/ # https://wayland.emersion.fr/grim/
# https://wayland.emersion.fr/slurp/ # https://wayland.emersion.fr/slurp/
binding_screenshot = <shift> KEY_SYSRQ binding_screenshot = <super> <shift> KEY_SYSRQ
command_screenshot = grim ~/Pictures/$(date '+%F_%T').png command_screenshot = grim -g "$(wf-info | grep Geometry | awk '{print $2, $3}')" - - | wl-copy --type image/png
binding_screenshot_interactive = <super> <shift> KEY_SYSRQ binding_screenshot_interactive = <shift> KEY_SYSRQ
command_screenshot_interactive = slurp | grim -g - ~/Pictures/$(date '+%F_%T').png command_screenshot_interactive = slurp | grim -g - ~/Pictures/$(date '+%F_%T').png
binding_screenshot_clipboard = KEY_SYSRQ binding_screenshot_clipboard = KEY_SYSRQ
command_screenshot_clipboard = slurp -b ff00ff20 -B ff00ff20 -c ff00ff80 -o | grim -g - - | wl-copy --type image/png command_screenshot_clipboard = slurp -b ff00ff20 -B ff00ff20 -c ff00ff80 -o | grim -g - - | wl-copy --type image/png
# Screencast # Screencast
binding_screencast = <alt> KEY_SYSRQ #binding_screencast = <alt> KEY_SYSRQ
command_screencast = wf-recorder -f $HOME/Videos/$(date '+%F_%T').mp4 #command_screencast = wf-recorder -g "$(wf-info | grep Geometry | awk '{print $2, $3}')" -f $HOME/Videos/$(date '+%F_%T').mp4
binding_screencast_voice = <super> <alt> KEY_SYSRQ binding_screencast_novoice = <alt> KEY_SYSRQ
command_screencast_voice = wf-recorder -a -f $HOME/Videos/$(data '+%F_%T').mp4 command_screencast_novoice = wf-recorder -a -f $HOME/Videos/$(date '+%F_%T').mp4
#binding_screencast_voice = <super> <alt> <shift> KEY_SYSRQ
#command_screencast_voice = wf-recorder -a -f $HOME/Videos/$(data '+%F_%T').
binding_screencast_stop = <ctrl> <alt> KEY_SYSRQ binding_screencast_stop = <ctrl> <alt> KEY_SYSRQ
command_screencast_stop = killall -INT wf-recorder command_screencast_stop = killall -INT wf-recorder
binding_kooha = <super> KEY_R #binding_kooha = <super> KEY_R
command_kooha = kooha #command_kooha = kooha
# Volume controls alias-utils # Volume controls alias-utils
# https://alsa-project.org # https://alsa-project.org
@ -349,8 +355,8 @@ duration = 300
[decoration] [decoration]
title_height = 0 title_height = 0
#broder_size = 1 #broder_size = 1
active_color = \#f9f06bAA #active_color = \#f9f06bAA
inactive_color = \#268bd2AA #inactive_color = \#268bd2AA
# Rules ──────────────────────────────────────────────────────────────────────── # Rules ────────────────────────────────────────────────────────────────────────
# Example configuration: # Example configuration:

View file

@ -9,6 +9,9 @@ autohide_duration = 300
css_path = css_path =
position = bottom position = bottom
icon_mapping_notekit = /usr/share/icons/hicolor/128x128/apps/com.github.blackhole89.notekit.png
icon_mapping_NewsFlashGTK = /usr/share/icons/hicolor/symbolic/apps/com.gitlab.newsflash-symbolic.svg
[panel] [panel]
autohide = false autohide = false
autohide_duration = 300 autohide_duration = 300
@ -33,7 +36,7 @@ launcher_06email = org.gnome.Geary.desktop
launcher_07pdf = org.gnome.Evince.desktop launcher_07pdf = org.gnome.Evince.desktop
launcher_08office = wps-office-wps.desktop launcher_08office = wps-office-wps.desktop
launcher_09jabref = jabref.desktop launcher_09jabref = jabref.desktop
launcher_10box = org.gnome.Boxes.desktop #launcher_10box = org.gnome.Boxes.desktop
launcher_11blueberry = blueberry.desktop launcher_11blueberry = blueberry.desktop
launcher_12pavucontrol = pavucontrol.desktop launcher_12pavucontrol = pavucontrol.desktop
launcher_99power = malacopower.desktop launcher_99power = malacopower.desktop
@ -50,11 +53,14 @@ network_icon_size = 24
network_status = 1 network_status = 1
network_status_font = default network_status_font = default
network_status_use_color = false network_status_use_color = false
network_onclick_command = nmtui network_onclick_command = tilix -e 'nmtui'
position = top position = top
volume_display_timeout = 2.500000 volume_display_timeout = 2.500000
widgets_left = window-list widgets_left = window-list
widgets_center = launchers widgets_center = clock
widgets_right = battery network volume clock widgets_right = launchers
# battery network volume
icon_mapping_wps-office2019-wpsmain = /usr/share/icons/hicolor/64x64/mimetypes/wps-office-wps.png
icon_mapping_com.github.blackhole89.notekit = /usr/share/icons/hicolor/128x128/apps/com.github.blackhole89.notekit.png
icon_mapping_NewsFlashGTK = /usr/share/icons/hicolor/symbolic/apps/com.gitlab.newsflash-symbolic.svg