fix: format
This commit is contained in:
parent
9559c3471f
commit
a3abfa7629
|
@ -63,6 +63,7 @@ local function rounded_rect(radius)
|
|||
gears.shape.rounded_rect(cr, w, h, radius)
|
||||
end
|
||||
end
|
||||
|
||||
local rrect = rounded_rect(8)
|
||||
|
||||
-- {{{ Variable definitions
|
||||
|
@ -168,6 +169,7 @@ local function get_keyname(char)
|
|||
end
|
||||
return char
|
||||
end
|
||||
|
||||
mytextclock:connect_signal("button::press", function(_, _, _, button)
|
||||
if button == 1 then
|
||||
cw.toggle()
|
||||
|
@ -387,6 +389,7 @@ local function move_mouse_onto_focused_client(c)
|
|||
mouse.coords({ x = x, y = y }, true)
|
||||
end
|
||||
end
|
||||
|
||||
--client.connect_signal("focus", move_mouse_onto_focused_client)
|
||||
|
||||
|
||||
|
@ -551,9 +554,11 @@ globalkeys = gears.table.join(
|
|||
{ description = "bookmark", group = "launcher" }),
|
||||
|
||||
-- Dict.sh
|
||||
awful.key({ modkey }, "t", function() awful.spawn.with_shell('D_SELECTOR="rofi -dmenu -p dict.sh" d "$(xsel -o)"') end,
|
||||
awful.key({ modkey }, "t",
|
||||
function() awful.spawn.with_shell('D_SELECTOR="rofi -dmenu -p dict.sh" d "$(xsel -o)"') end,
|
||||
{ description = "dict.sh", group = "launcher" }),
|
||||
awful.key({ modkey }, "o", function() awful.spawn.with_shell('find ~/Nextcloud/notes/ | rofi -dmenu -title notes | xargs xdg-open') end,
|
||||
awful.key({ modkey }, "o",
|
||||
function() awful.spawn.with_shell('find ~/Nextcloud/notes/ | rofi -dmenu -title notes | xargs xdg-open') end,
|
||||
{ description = "open note", group = "launcher" })
|
||||
)
|
||||
|
||||
|
@ -757,6 +762,7 @@ awful.rules.rules = {
|
|||
"file-roller",
|
||||
},
|
||||
class = {
|
||||
"flameshot",
|
||||
"Thunar",
|
||||
"Arandr",
|
||||
"Blueman-manager",
|
||||
|
@ -876,4 +882,5 @@ awful.spawn.with_shell("bluetoothctl power on")
|
|||
-- store session variables for crontab
|
||||
awful.spawn.with_shell("echo DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS > ~/.cron.env")
|
||||
awful.spawn.with_shell("echo DISPLAY=$DISPLAY >> ~/.cron.env")
|
||||
awful.spawn.with_shell("grep -F 0 /sys/class/power_supply/ACAD/online && sudo light -S 30")
|
||||
-- }}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user