/
oglu
/
dotfiles_labwc
Обзор
Документация
Войти
/
oglu
/
dotfiles_labwc
Код
Запросы
0
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
labwc/rc.xml
115 строк
3 KB
oglu
fix: max volume control
10 ноя 2025, 21:39
10 ноя 2025, 21:39
6df3ab9
Код
Авторство
О чём код?
<?xml version="1.0"?> <labwc_config> <!-- Theme --> <theme> <name>Yosemite</name> <cornerRadius>6</cornerRadius> <font name="sans" size="10" /> <dropShadows>yes</dropShadows> </theme> <!-- Windows placement --> <placement> <policy>automatic</policy> </placement> <!-- Keyboard --> <keyboard> <default /> <keybind key="W-Return"> <action name="Execute" command="foot" /> </keybind> <keybind key="W-1"> <action name="Execute"> <command>bash -c 'fuzzel -a center -l 4'</command> </action> </keybind> <keybind key="C-A-v"> <action name="Execute"> <command>sh -c 'cliphist list | fuzzel --dmenu | cliphist decode | wl-copy'</command> </action> </keybind> <keybind key="W-2"> <action name="Execute" command="thunar" /> </keybind> <keybind key="W-3"> <action name="Execute" command="firefox" /> </keybind> <keybind key="C-Print"> <action name="Execute"> <command>sh -c 'grim -g "$(slurp)"'</command> </action> </keybind> <keybind key="Print"> <action name="Execute"> <command>sh -c "grim $HOME/Pictures/$(date +'%Y%m%d_%H%M%S.png')"</command> </action> </keybind> <!-- Workspace --> <keybind key="C-A-Right"> <action name="GoToDesktop" to="right" wrap="yes" /> </keybind> <keybind key="C-A-Left"> <action name="GoToDesktop" to="left" wrap="yes" /> </keybind> <!-- Media --> <keybind key="XF86_AudioLowerVolume"> <action name="Execute" command="wpctl set-volume @DEFAULT_SINK@ 5%-" /> </keybind> <keybind key="XF86_AudioRaiseVolume"> <action name="Execute" command="wpctl set-volume @DEFAULT_SINK@ 5%+ --limit 1" /> </keybind> <keybind key="XF86_AudioMute"> <action name="Execute" command="wpctl set-mute @DEFAULT_SINK@ toggle" /> </keybind> <keybind key="XF86AudioPlay"> <action name="Execute" command="playerctl play-pause" /> </keybind> <keybind key="XF86AudioNext"> <action name="Execute" command="playerctl next" /> </keybind> <keybind key="XF86AudioPrev"> <action name="Execute" command="playerctl previous" /> </keybind> </keyboard> <!-- Mouse --> <mouse> <default /> <!-- Show a custom menu on desktop right click --> <context name="Root"> <mousebind button="Right" action="Press"> <action name="ShowMenu" menu="some-custom-menu" /> </mousebind> </context> </mouse> <!-- Workspaces --> <desktops number="2"> <popupTime>0</popupTime> <names> <name>1</name> <name>2</name> </names> </desktops> </labwc_config>