finalise wallpaper

This commit is contained in:
atagen 2023-09-29 00:37:32 +10:00
parent ef0c9157f4
commit eabb1371eb
12 changed files with 217 additions and 25 deletions

View file

@ -1 +0,0 @@
/nix/store/xdms5kxx5gzkjfsfkaz3akvh0y8vqx1r-source

View file

@ -135,8 +135,8 @@ keys.extend([
layout_theme = dict(
margin=#GAPS,
border_width=#BORDERWIDTH,
border_focus="#BORDERFOCUS",
border_normal="#BORDERCOL",
border_focus=[ "#BORDERCOL", "#BORDERFOCUS", "#BORDERCOL", ],
border_normal=["#BORDERCOL", "#BORDERCOL", "#BORDERCOL", ],
)
layouts = [
@ -162,11 +162,11 @@ screens = [
[
widget.GroupBox(**widget_defaults),
widget.WindowTabs(**widget_defaults),
widget.Spacer(),
widget.CurrentLayout(**widget_defaults),
widget.Volume(**widget_defaults),
widget.Systray(**widget_defaults),
widget.Clock(**widget_defaults)
# widget.Clock('%B %d %a %I:%M %p'),
widget.Clock(**widget_defaults),
],
16,
)
@ -179,8 +179,25 @@ follow_mouse_focus = True
bring_front_click = False
cursor_warp = True
focus_on_window_activation = "smart"
auto_fullscreen = True
floating_layout = layout.Floating(float_rules=[
*layout.Floating.default_float_rules,
], **layout_theme)
@hook.subscribe.startup
def autostart():
home = os.path.expanduser("~/.config/qtile/autostart.sh")
subprocess.Popen([home])
@hook.subscribe.client_new
def float_firefox(client):
if "firefox" in client.get_wm_class() and client.name == "Library":
client.enable_floating()
@hook.subscribe.client_new
def fullscreen_wlogout(client):
if client.name == "wlogout":
client.enable_fullscreen()

View file

@ -14,7 +14,7 @@ in {
config.xdg.configFile."qtile/config.py" = {
enable = true;
executable = true;
onChange = "pkill -SIGUSR1 qtile";
onChange = "${lib.getExe' pkgs.procps "pkill"} -SIGUSR1 qtile";
text = with palette-shex;
with pkgs.rice; (builtins.replaceStrings
[
@ -31,7 +31,7 @@ in {
(builtins.toString borders.gaps_in)
(builtins.toString borders.thickness)
bright.yellow
util.bg
normal.black
fonts.sans.name
(builtins.toString fonts.sans.size)
util.bg