dotfiles/config/.config/devilspie2/devilspie2.lua

49 lines
1.2 KiB
Lua
Raw Normal View History

2025-01-10 19:05:49 +01:00
--- Emacs: right half
if (get_application_name() == "Emacs-gtk+x11") then
os.execute("sleep 0.4")
set_window_position(1720, 0, 0)
set_window_size(1720, 1391)
end
--- calibre: left half
if (get_application_name() == "calibre") then
set_window_position(0, 0, 0)
set_window_size(1720, 1391)
end
--- Proton Mail Bridge: left half
if (get_application_name() == "Proton Mail Bridge") then
set_window_position(0, 0, 0)
set_window_size(1720, 1391)
end
--- VLC media player: left half
if (get_application_name() == "VLC media player") then
set_window_position(0, 0, 0)
set_window_size(1720, 1391)
end
--- Wireshark: left half
if (get_application_name() == "The Wireshark Network Analyzer") then
set_window_position(0, 0, 0)
set_window_size(1720, 1391)
end
--- Discord: left half
if (get_application_name() == "Discord") then
set_window_position(0, 0, 0)
set_window_size(1720, 1391)
end
--- Podman Desktop: right half
if (get_application_name() == "Podman Desktop") then
set_window_position(1720, 0, 0)
set_window_size(1720, 1391)
end
--- Lagrange: left half
if (get_application_name() == "Lagrange") then
set_window_position(0, 0, 0)
set_window_size(1720, 1391)
end