annotate bing4desktop/desktop.py @ 25:4797b096efab

bing4desktop-0.240208-0.1
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 11:43:26 +0100
parents ed9556d0c5d7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
1 #!/usr/bin/env python3
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
2 import os
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
3
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
4 desktop_env = os.environ.get('DESKTOP_SESSION')
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
5
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
6 print ("Moj desktop to: ", desktop_env)
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
7