Add dunst config

This commit is contained in:
Stephan Raabe
2023-04-08 16:26:43 +02:00
parent 7b90e7964a
commit e29f40fabc
5 changed files with 495 additions and 22 deletions

View File

@@ -13,7 +13,6 @@ import socket
import subprocess
import psutil
import json
from libqtile import hook
from libqtile import qtile
from typing import List
@@ -24,12 +23,17 @@ from libqtile.utils import guess_terminal
from libqtile.widget import Spacer, Backlight
from libqtile.widget.image import Image
from libqtile.dgroups import simple_key_binder
from pathlib import Path
# Get home path
home = str(Path.home())
# --------------------------------------------------------
# Define Bar
# --------------------------------------------------------
wm_bar = "polybar"
# wm_bar = "qtile"
# --------------------------------------------------------
# Check for VirtualBox
# --------------------------------------------------------
@@ -186,7 +190,12 @@ layouts = [
# layout.TreeTab(),
# layout.VerticalTile(),
# layout.Zoomy(),
# layout.Floating(**layout_theme)
layout.Floating(
border_width=3,
single_border_width=3,
border_focus=ColorC,
border_normal="#FFFFFF",
)
]
# --------------------------------------------------------
@@ -278,24 +287,21 @@ if (platform == 3):
# --------------------------------------------------------
# Screens
# --------------------------------------------------------
'''
screens = [
Screen(
top=bar.Bar(
widget_list,
24,
opacity=0.7,
border_width=[3, 0, 3, 0],
margin=[0,0,0,0]
),
),
]
'''
# --------------------------------------------------------
# Screens Gap for PolyBar
# --------------------------------------------------------
screens = [Screen(top=bar.Gap(size=28))]
if (wm_bar == "polybar"):
screens = [Screen(top=bar.Gap(size=28))]
else:
screens = [
Screen(
top=bar.Bar(
widget_list,
24,
opacity=0.7,
border_width=[3, 0, 3, 0],
margin=[0,0,0,0]
),
),
]
# --------------------------------------------------------
# Drag floating layouts.