hooray wallpapers

This commit is contained in:
zoe 2022-09-01 10:47:15 +02:00
parent 3bc99df7f3
commit 4720f01bfe
3 changed files with 34 additions and 18 deletions

View File

@ -1,7 +1,11 @@
import subprocess
import os, signal
autostart = ["xfce4-power-manager", "nm-applet"]
autostart = [
"xfce4-power-manager",
"nm-applet",
["nitrogen", "--restore"],
]
def start_all():

View File

@ -1,11 +1,10 @@
from libqtile import bar, widget
from libqtile.config import Click, Drag, Group, Key, Match, Screen
from libqtile.layout.columns import Columns
from libqtile.layout.max import Max
from libqtile.layout.floating import Floating
from libqtile.lazy import lazy
import autostart
import my_layouts
mod = "mod4"
@ -97,21 +96,6 @@ for i in groups:
]
)
layouts = [
Columns(border_focus_stack=["#d75f5f", "#8f3d3d"], border_width=4),
Max(),
# Try more layouts by unleashing below layouts.
# layout.Stack(num_stacks=2),
# layout.Bsp(),
# layout.Matrix(),
# layout.MonadTall(),
# layout.MonadWide(),
# layout.RatioTile(),
# layout.Tile(),
# layout.TreeTab(),
# layout.VerticalTile(),
# layout.Zoomy(),
]
widget_defaults = dict(
font="sans",
@ -147,6 +131,8 @@ screens = [
),
]
layouts = my_layouts.get_layouts()
# Drag floating layouts.
mouse = [
Drag(

26
my_layouts.py Normal file
View File

@ -0,0 +1,26 @@
from libqtile.layout import columns, max, xmonad
default_layout_theme = {
"border_width": 2,
"margin": 4,
"border_color": "#bd93f9",
"border_focus": "#50fa7b",
}
def get_layouts():
return [
columns.Columns(**default_layout_theme),
max.Max(**default_layout_theme),
# Try more layouts by unleashing below layouts.
# layout.Stack(num_stacks=2),
# layout.Bsp(),
# matrix.Matrix(),
xmonad.MonadTall(**default_layout_theme),
# layout.MonadWide(),
# layout.RatioTile(),
# layout.Tile(),
# layout.TreeTab(),
# layout.VerticalTile(),
# Zoomy(),
]