This commit is contained in:
coast 2025-10-05 03:57:37 +03:30
parent cbbfe5f1d7
commit f4e67dea9c
3 changed files with 18 additions and 15 deletions

View file

@ -1,4 +1,4 @@
font=JetBrains Mono NF:size=14 font=Ubuntu Mono:size=14
pad=8x8 pad=8x8
[colors] [colors]

View file

@ -16,24 +16,16 @@ keys = [
Key([mod], "k", lazy.layout.down(), desc="Move focus down"), Key([mod], "k", lazy.layout.down(), desc="Move focus down"),
Key([mod], "l", lazy.layout.up(), desc="Move focus up"), Key([mod], "l", lazy.layout.up(), desc="Move focus up"),
Key([mod], "space", lazy.layout.next(), desc="Move window focus to other window"), Key([mod], "space", lazy.layout.next(), desc="Move window focus to other window"),
Key([mod, "shift"], "h", lazy.layout.shuffle_left(), desc="Move window to the left"), Key([mod, "shift"], "h", lazy.layout.shuffle_left(), desc="Move window to the left"),
Key([mod, "shift"], "l", lazy.layout.shuffle_right(), desc="Move window to the right"), Key([mod, "shift"], "l", lazy.layout.shuffle_right(), desc="Move window to the right"),
Key([mod, "shift"], "j", lazy.layout.shuffle_down(), desc="Move window down"), Key([mod, "shift"], "j", lazy.layout.shuffle_down(), desc="Move window down"),
Key([mod, "shift"], "k", lazy.layout.shuffle_up(), desc="Move window up"), Key([mod, "shift"], "k", lazy.layout.shuffle_up(), desc="Move window up"),
Key([mod, "control"], "h", lazy.layout.grow_left(), desc="Grow window to the left"), Key([mod, "control"], "h", lazy.layout.grow_left(), desc="Grow window to the left"),
Key([mod, "control"], "l", lazy.layout.grow_right(), desc="Grow window to the right"), Key([mod, "control"], "l", lazy.layout.grow_right(), desc="Grow window to the right"),
Key([mod, "control"], "j", lazy.layout.grow_down(), desc="Grow window down"), Key([mod, "control"], "j", lazy.layout.grow_down(), desc="Grow window down"),
Key([mod, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"), Key([mod, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"),
Key([mod], "n", lazy.layout.normalize(), desc="Reset all window sizes"), Key([mod], "n", lazy.layout.normalize(), desc="Reset all window sizes"),
Key([mod, "shift"], "Return", lazy.layout.toggle_split(), desc="Toggle between split and unsplit sides of stack"),
Key(
[mod, "shift"],
"Return",
lazy.layout.toggle_split(),
desc="Toggle between split and unsplit sides of stack",
),
Key([mod], "Return", lazy.spawn(terminal), desc="Launch foot"), Key([mod], "Return", lazy.spawn(terminal), desc="Launch foot"),
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"), Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
Key([mod], "s", lazy.window.kill(), desc="Kill focused window"), Key([mod], "s", lazy.window.kill(), desc="Kill focused window"),
@ -41,8 +33,16 @@ keys = [
Key([mod], "space", lazy.window.toggle_floating(), desc="Toggle floating on the focused window"), Key([mod], "space", lazy.window.toggle_floating(), desc="Toggle floating on the focused window"),
Key([mod, "control"], "r", lazy.reload_config(), desc="Reload the config"), Key([mod, "control"], "r", lazy.reload_config(), desc="Reload the config"),
Key([mod, "shift"], "q", lazy.shutdown(), desc="Shutdown Qtile"), Key([mod, "shift"], "q", lazy.shutdown(), desc="Shutdown Qtile"),
Key([mod], "r", lazy.spawn("wmenu-run -f \"Ubuntu Mono 12\" -N #000000 -b"), desc="Spawn a command using wmenu"), Key([mod], "r", lazy.spawn("wmenu-run -f \"Ubuntu Mono 14\" -N #000000 "), desc="Spawn a command using wmenu"),
Key([mod], "Print", lazy.spawn("/home/coast/.local/src/local/bin/screenie-wlr")), Key([mod], "Print", lazy.spawn("/home/coast/.local/src/local/bin/screenie-wlr")),
Key([mod], "Left", lazy.window.move_floating(-20, 0)),
Key([mod], "Right", lazy.window.move_floating(20, 0)),
Key([mod], "Up", lazy.window.move_floating(0, -20)),
Key([mod], "Down", lazy.window.move_floating(0, 20)),
Key([mod, "shift"], "Left", lazy.window.resize_floating(-20, 0)),
Key([mod, "shift"], "Right", lazy.window.resize_floating(20, 0)),
Key([mod, "shift"], "Up", lazy.window.resize_floating(0, -20)),
Key([mod, "shift"], "Down", lazy.window.resize_floating(0, 20)),
] ]
for vt in range(1, 8): for vt in range(1, 8):
@ -92,7 +92,7 @@ extension_defaults = widget_defaults.copy()
screens = [ screens = [
Screen( Screen(
bottom=bar.Bar( top=bar.Bar(
[ [
widget.GroupBox(font = "Ubuntu Mono", margin_y = 5, fontsize = 14, margin_x = 5, padding_y = 0, padding_x = 2, borderwidth = 3, rounded = False, highlight_method = "line", inactive = ["#ffffff"], ), widget.GroupBox(font = "Ubuntu Mono", margin_y = 5, fontsize = 14, margin_x = 5, padding_y = 0, padding_x = 2, borderwidth = 3, rounded = False, highlight_method = "line", inactive = ["#ffffff"], ),
widget.TextBox(text = '|', font = "Ubuntu Mono", padding = 2,), widget.TextBox(text = '|', font = "Ubuntu Mono", padding = 2,),
@ -128,6 +128,9 @@ bring_front_click = False
floats_kept_above = True floats_kept_above = True
cursor_warp = False cursor_warp = False
floating_layout = layout.Floating( floating_layout = layout.Floating(
border_focus="#454545",
border_normal="#1c1c1c",
border_width=4,
float_rules=[ float_rules=[
*layout.Floating.default_float_rules, *layout.Floating.default_float_rules,
Match(wm_class="confirmreset"), Match(wm_class="confirmreset"),

6
etc/nixos/flake.lock generated
View file

@ -23,11 +23,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1759281824, "lastModified": 1759439645,
"narHash": "sha256-FIBE1qXv9TKvSNwst6FumyHwCRH3BlWDpfsnqRDCll0=", "narHash": "sha256-oiAyQaRilPk525Z5aTtTNWNzSrcdJ7IXM0/PL3CGlbI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5b5be50345d4113d04ba58c444348849f5585b4a", "rev": "879bd460b3d3e8571354ce172128fbcbac1ed633",
"type": "github" "type": "github"
}, },
"original": { "original": {