You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is there some chance to generate custom notification via awful?
I am creating my own sh script for toggling keyboard layouts like this
#!/bin/bash
actual_layout=$(setxkbmap -query | grep layout)
if [[ $actual_layout == *"us"* ]]; then
setxkbmap -layout "cz(qwerty)"
else
setxkbmap -layout "us"
fi
xmodmap $HOME/.Xmodmap
and rebind the keys/global.lua shortcut mod+space, like this
awful.key(
{modkey},
'space',
function()
-- _G.screen.primary.left_panel:toggle(true)
awful.spawn('nextkblayout.sh')
-- HERE I WANT SHOW NOTIFICATION WITH CUSTOM MESSAGE
end,
{description = 'show main menu', group = 'awesome'}
),
is it possible?
The text was updated successfully, but these errors were encountered:
Hey,
is there some chance to generate custom notification via awful?
I am creating my own sh script for toggling keyboard layouts like this
and rebind the keys/global.lua shortcut mod+space, like this
is it possible?
The text was updated successfully, but these errors were encountered: