From f4e67dea9cbee57702fad2363dac5341cf8012cf Mon Sep 17 00:00:00 2001 From: coast Date: Sun, 5 Oct 2025 03:57:37 +0330 Subject: [PATCH] updates --- config/foot/foot.ini | 2 +- config/qtile/config.py | 25 ++++++++++++++----------- etc/nixos/flake.lock | 6 +++--- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/config/foot/foot.ini b/config/foot/foot.ini index 0642eb4..1b90a0e 100644 --- a/config/foot/foot.ini +++ b/config/foot/foot.ini @@ -1,4 +1,4 @@ -font=JetBrains Mono NF:size=14 +font=Ubuntu Mono:size=14 pad=8x8 [colors] diff --git a/config/qtile/config.py b/config/qtile/config.py index 7f0d391..ccb3519 100644 --- a/config/qtile/config.py +++ b/config/qtile/config.py @@ -16,24 +16,16 @@ keys = [ Key([mod], "k", lazy.layout.down(), desc="Move focus down"), 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, "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"], "j", lazy.layout.shuffle_down(), desc="Move window down"), 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"], "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"], "k", lazy.layout.grow_up(), desc="Grow window up"), 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], "Tab", lazy.next_layout(), desc="Toggle between layouts"), 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, "control"], "r", lazy.reload_config(), desc="Reload the config"), 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], "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): @@ -92,7 +92,7 @@ extension_defaults = widget_defaults.copy() screens = [ 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.TextBox(text = '|', font = "Ubuntu Mono", padding = 2,), @@ -128,6 +128,9 @@ bring_front_click = False floats_kept_above = True cursor_warp = False floating_layout = layout.Floating( + border_focus="#454545", + border_normal="#1c1c1c", + border_width=4, float_rules=[ *layout.Floating.default_float_rules, Match(wm_class="confirmreset"), diff --git a/etc/nixos/flake.lock b/etc/nixos/flake.lock index 1eee6c2..22613ed 100644 --- a/etc/nixos/flake.lock +++ b/etc/nixos/flake.lock @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1759281824, - "narHash": "sha256-FIBE1qXv9TKvSNwst6FumyHwCRH3BlWDpfsnqRDCll0=", + "lastModified": 1759439645, + "narHash": "sha256-oiAyQaRilPk525Z5aTtTNWNzSrcdJ7IXM0/PL3CGlbI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5b5be50345d4113d04ba58c444348849f5585b4a", + "rev": "879bd460b3d3e8571354ce172128fbcbac1ed633", "type": "github" }, "original": {