diff --git a/.gitignore b/.gitignore index fbac185..8438084 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ config/qtile/__pycache__ etc/nixos/hardware-configuration.nix nixos/hardware-configuration.nix config/nvim/nvim +config/nvim/undo diff --git a/.wezterm.lua b/.wezterm.lua index 946ca0c..bdf0257 100644 --- a/.wezterm.lua +++ b/.wezterm.lua @@ -12,4 +12,5 @@ config.enable_tab_bar = false config.font = wezterm.font("JetBrainsMono Nerd Font") config.window_close_confirmation = "NeverPrompt" config.window_background_opacity = 0.90 +config.default_cursor_style = "SteadyUnderline" return config diff --git a/config/nvim/lua/config.lua b/config/nvim/lua/config.lua index 2abef13..da11ac3 100644 --- a/config/nvim/lua/config.lua +++ b/config/nvim/lua/config.lua @@ -10,6 +10,9 @@ cfg.softtabstop = 4 cfg.smarttab = true cfg.smartindent = true +cfg.undofile = true +cfg.undodir = vim.fn.stdpath("config") .. "/undo" + cfg.number = true cfg.relativenumber = true diff --git a/config/nvim/undo/%home%coast%.local%src%config%nvim%lua%config.lua b/config/nvim/undo/%home%coast%.local%src%config%nvim%lua%config.lua new file mode 100644 index 0000000..fbdaff7 Binary files /dev/null and b/config/nvim/undo/%home%coast%.local%src%config%nvim%lua%config.lua differ diff --git a/config/nvim/undo/%home%coast%.local%src%config%waybar%config.jsonc b/config/nvim/undo/%home%coast%.local%src%config%waybar%config.jsonc new file mode 100644 index 0000000..c747b5b Binary files /dev/null and b/config/nvim/undo/%home%coast%.local%src%config%waybar%config.jsonc differ diff --git a/config/nvim/undo/%home%coast%.local%src%config%waybar%style.css b/config/nvim/undo/%home%coast%.local%src%config%waybar%style.css new file mode 100644 index 0000000..0dfcbbd Binary files /dev/null and b/config/nvim/undo/%home%coast%.local%src%config%waybar%style.css differ diff --git a/config/nvim/undo/%home%coast%.local%src%local%bin%uwuify.awk b/config/nvim/undo/%home%coast%.local%src%local%bin%uwuify.awk new file mode 100644 index 0000000..8fa3bac Binary files /dev/null and b/config/nvim/undo/%home%coast%.local%src%local%bin%uwuify.awk differ diff --git a/config/nvim/undo/%home%coast%.wezterm.lua b/config/nvim/undo/%home%coast%.wezterm.lua new file mode 100644 index 0000000..46887ff Binary files /dev/null and b/config/nvim/undo/%home%coast%.wezterm.lua differ diff --git a/config/nvim/undo/%home%coast%Projects%rs%guessing_game%.gitignore b/config/nvim/undo/%home%coast%Projects%rs%guessing_game%.gitignore new file mode 100644 index 0000000..6470d6c Binary files /dev/null and b/config/nvim/undo/%home%coast%Projects%rs%guessing_game%.gitignore differ diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc index bad82e6..9868558 100644 --- a/config/waybar/config.jsonc +++ b/config/waybar/config.jsonc @@ -3,16 +3,17 @@ "output": "HDMI-A-1", "layer": "top", "modules-left": [ + "custom/distro", "niri/workspaces", - "niri/mode", + "niri/window" ], "modules-center": [ ], "modules-right": [ + "network", "clock", // "battery", - "pulseaudio", - "network" + "pulseaudio" ], "pulseaudio": { "tooltip": false, @@ -50,6 +51,10 @@ } ] }, + "custom/distro": { + "format": "󱄅", + "tooltip": false + }, "bluetooth": { "format": " {status}", "format-connected": " CONN", diff --git a/config/waybar/style.css b/config/waybar/style.css index f8eff7c..e01f3e8 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -6,7 +6,7 @@ @define-color text_dim #8c8a75; @define-color blue #7fbbb3; -@define-color green #55393D; /* changed */ +@define-color green #55393D; @define-color yellow #f9e2af; @define-color peach #e69875; @define-color maroon #c05a3b; @@ -23,8 +23,14 @@ } window#waybar { - background: @background; - border-bottom: 2px solid @surface0; + background: linear-gradient( + to bottom, + rgba(30, 30, 30, 1) 0%, + rgba(28, 28, 28, 0.95) 68%, + rgba(25, 25, 25, 0.75) 82%, + rgba(20, 20, 20, 0.30) 94%, + rgba(20, 20, 20, 0.00) 100% + ); } #disk, @@ -41,7 +47,7 @@ window#waybar { #bluetooth, #tray menu { padding: 5px 10px; - margin: 8px 0 8px 10px; + margin: 3px 0 13px 10px; background: @surface0; color: @text; transition: 0.3s; @@ -57,8 +63,9 @@ window#waybar.empty #window { border: none; } -#network { margin: 8px 12px; color: @text; } -#pulseaudio, #clock { color: @text; } +#network { color: @text; } +#pulseaudio { margin-right: 12px; color: @text; } +#clock { color: @text; } #workspaces { margin-left: 12px; @@ -73,7 +80,7 @@ window#waybar.empty #window { } #workspaces button.empty { color: @text_dim; } -#workspaces button.active { color: @green; } /* now #55393D */ +#workspaces button.active { color: @green; } #workspaces button.urgent { color: @maroon; } #workspaces button:hover { @@ -81,3 +88,11 @@ window#waybar.empty #window { color: @text; } +#custom-distro { + background-color: @accent; + color: @text; + font-size: 30; + margin-bottom: 8px; + padding-left: 12px; + padding-right: 12px; +} diff --git a/local/bin/uwuify.awk b/local/bin/uwuify.awk index f161648..7b42027 100755 --- a/local/bin/uwuify.awk +++ b/local/bin/uwuify.awk @@ -1,4 +1,4 @@ -#!/run/current-system/sw/bin/awk -f +#!awk -f function uwuify(s, o) { o = s