Minor bugfix
This commit is contained in:
parent
663fbd1f8c
commit
e8dfae3013
|
@ -1,3 +1,4 @@
|
||||||
|
/desktop.conf
|
||||||
/wallpaper.txt
|
/wallpaper.txt
|
||||||
/links
|
/links
|
||||||
/libs/pam
|
/libs/pam
|
||||||
|
|
11
desktop.conf
11
desktop.conf
|
@ -1,10 +1,10 @@
|
||||||
# Global variables
|
# Global variables
|
||||||
[global]
|
[global]
|
||||||
terminal = "$HOME/.local/bin/st"
|
terminal = "$HOME/.local/bin/st"
|
||||||
browser = "prime-run librewolf"
|
browser = "prime-run librewolf"
|
||||||
modkey = "Mod4"
|
modkey = "Mod4"
|
||||||
theme = "reno98"
|
theme = "reno98"
|
||||||
shell = "zsh"
|
shell = "zsh"
|
||||||
|
|
||||||
# Keybindings
|
# Keybindings
|
||||||
# Format: <modifier>(+<modifier>+...)+<key> = "<command or :internal.function>"
|
# Format: <modifier>(+<modifier>+...)+<key> = "<command or :internal.function>"
|
||||||
|
@ -29,3 +29,4 @@ modkey+m = ":client.maximize"
|
||||||
|
|
||||||
# Custom keys
|
# Custom keys
|
||||||
Print = "flameshot gui"
|
Print = "flameshot gui"
|
||||||
|
Shift+Print = "flameshot launcher"
|
||||||
|
|
|
@ -19,7 +19,7 @@ local function position_popup(popup,widget,style)
|
||||||
-- Figure out the geometry of the base widget
|
-- Figure out the geometry of the base widget
|
||||||
local widget_geo
|
local widget_geo
|
||||||
for k,v in pairs(mouse.current_widgets or {}) do
|
for k,v in pairs(mouse.current_widgets or {}) do
|
||||||
if widget == v then
|
if (widget == v) and mouse.current_widget_geometries then
|
||||||
widget_geo = mouse.current_widget_geometries[k]
|
widget_geo = mouse.current_widget_geometries[k]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue