Compare commits

..

No commits in common. "a4d60021aa79d52cad1fea8e1895f0248b486118" and "9ae99be50ec12f8782e4d705d4c3903aad282a60" have entirely different histories.

10 changed files with 50 additions and 58 deletions

View file

@ -1,6 +1,6 @@
(defvar rofi-bin "~/.config/rofi/bin") (defvar rofi-bin "~/.config/rofi/bin")
(deflisten workspaces "hyprman watch") (deflisten workspaces "hyprman eww watch")
(defpoll clocktext :interval "10s" "date '+%d %b %I:%M %p'") (defpoll clocktext :interval "10s" "date '+%d %b %I:%M %p'")
(defpoll bluetooth-icon :interval "5s" "bin/bluetooth.sh") (defpoll bluetooth-icon :interval "5s" "bin/bluetooth.sh")

View file

@ -14,10 +14,8 @@
(bar :screen 0 :minimal false) (bar :screen 0 :minimal false)
) )
; todo: ADD HOME MONITOR
(defwindow bar1 (defwindow bar1
:monitor '["ASUS MX239", "Acer H236HL"]' :monitor 1
:windowtype "dock" :windowtype "dock"
:exclusive true :exclusive true
:geometry (geometry :x "0%" :geometry (geometry :x "0%"
@ -29,15 +27,15 @@
(bar :screen 1 :minimal false) (bar :screen 1 :minimal false)
) )
(defwindow bar2
:monitor '["VN279"]' ;(defwindow bar2
:windowtype "dock" ; :monitor 2
:exclusive true ; :windowtype "dock"
:geometry (geometry :x "0%" ; :geometry (geometry :x "0%"
:y "0%" ; :y "0%"
:width "100%" ; :width "100%"
:height "40px" ; :height "40px"
:anchor "top center") ; :anchor "top center")
;:reserve (struts :side "top" :distance "43px") ; :reserve (struts :side "top" :distance "43px")
(bar :screen 2 :minimal true) ; (bar :screen 2 :minimal true)
) ;)

View file

@ -1,13 +1,14 @@
# exec-once = flameshot &
# exec-once = dunst -conf ~/.config/hypr/dunstrc
exec-once = hyprctl setcursor catppuccin-mocha-dark-cursors 24 exec-once = hyprctl setcursor catppuccin-mocha-dark-cursors 24
exec-once = swww-daemon exec-once = swww-daemon
exec-once = mako exec-once = mako
exec-once = udiskie exec-once = udiskie
exec-once = xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2 exec-once = xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2
# moved to systemd units in oizys
exec = hypridle exec = hypridle
exec = kanshi exec = kanshi
exec = pkill eww & hyprman start exec = pkill eww & hyprman eww start
exec = hyprman swww

View file

@ -1,4 +1,3 @@
wallpapers: ~/stuff/wallpapers/mountain-temple
default-icon: default-icon:
no-client: "-" no-client: "-"
classes: classes:
@ -16,5 +15,3 @@ classes:
"- Wezterm": "- Wezterm":
"org.wezfurlong.wezterm": "org.wezfurlong.wezterm":
"MultiViewer for F1": "MultiViewer for F1":

View file

@ -1,23 +1,22 @@
# othalan alias not working?
# output "InfoVision Optoelectronics (Kunshan) Co.Ltd China 0x8C44" alias $othalan
output "Ancor Communications Inc VN279 M4LMQS079020" alias $work-tall
output "Ancor Communications Inc ASUS MX239 H4LMTJ010711" alias $work-middle
output "Acer Technologies Acer H236HL LX1AA0044210" alias $home-monitor
profile default { profile default {
output eDP-1 mode 1920x1200 position 0,0 output eDP-1 mode 1920x1200 position 0,0
} }
profile home {
output eDP-1 mode 1920x1200 position 1920,0
output $home-monitor mode 1920x1080 position 0,0
}
# three monitors :)
profile work { profile work {
output eDP-1 mode 1920x1200 position 3000,960 output eDP-1 mode 1920x1200 position 1920,0
output $work-middle mode 1920x1080 position 1080,960 output DP-3 mode 1920x1080 position 0,0
output $work-tall mode 1920x1080 position 0,0 transform 90 exec swww img -o eDP-1 ~/.config/hypr/wallpapers/current/00005-4229950720.png & swww img -o DP-3 ~/.config/hypr/wallpapers/current/00007-2215131892.png
}
profile {
output eDP-1 mode 1920x1200 position 1920,0
output DP-5 mode 1920x1080 position 0,0
exec swww img -o eDP-1 ~/.config/hypr/wallpapers/current/00005-4229950720.png & swww img -o DP-5 ~/.config/hypr/wallpapers/current/00007-2215131892.png
}
profile {
output eDP-1 mode 1920x1200 position 1920,0
output DP-6 mode 1920x1080 position 0,0
exec swww img -o eDP-1 ~/.config/hypr/wallpapers/current/00005-4229950720.png & swww img -o DP-6 ~/.config/hypr/wallpapers/current/00007-2215131892.png
} }

View file

@ -1,7 +1,4 @@
# import system/nimscript import std/[os, strutils, strformat]
import std/[
os, strutils, strformat
]
switch("hint","[Conf]:off") switch("hint","[Conf]:off")
@ -29,9 +26,14 @@ proc getGitRootMaybe(): string =
else: else:
result = projectDir() result = projectDir()
const let
root = getGitRootMaybe()
(_, pkgName) = root.splitPath()
srcFile = root / "src" / (pkgName & ".nim")
# formatter = "nimpretty"
formatter = "nph" formatter = "nph"
proc formatNimCode(pattern = r"^[src|tests].*\.nim(s)?$") = proc formatNimCode(pattern = r"^[src|tests].*\.nim(s)?$") =
let srcFiles = gorgeExCd(fmt"nimgrep --filenames -r '{pattern}' --noColor").output.split("\n")[0..^2] let srcFiles = gorgeExCd(fmt"nimgrep --filenames -r '{pattern}' --noColor").output.split("\n")[0..^2]
for file in srcFiles: for file in srcFiles:
@ -56,7 +58,7 @@ task i, "install package":
setCommand("nop") setCommand("nop")
task lexidInc, "bump lexicographic id": task lexidInc, "bump lexigraphic id":
let (vsn, code) = gorgeExCd("git describe --tags --always --dirty=-dev") let (vsn, code) = gorgeExCd("git describe --tags --always --dirty=-dev")
if code != 0: if code != 0:
echo "is this a git repo?" echo "is this a git repo?"
@ -88,6 +90,3 @@ task lexidInc, "bump lexicographic id":
task _,"_______________": task _,"_______________":
discard discard
task h, "":
exec "nim help"

View file

@ -26,9 +26,6 @@ require("lazy").setup({
{ import = "plugins" }, { import = "plugins" },
{ import = "plugins.language" }, { import = "plugins.language" },
}, },
rocks = {
enabled = false,
},
defaults = { defaults = {
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup. -- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
-- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default. -- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.

View file

@ -18,5 +18,3 @@ vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
-- https://github.com/ziglang/zig.vim/issues/51#issuecomment-1637180522 -- https://github.com/ziglang/zig.vim/issues/51#issuecomment-1637180522
vim.g.zig_fmt_autosave = 0 vim.g.zig_fmt_autosave = 0
vim.lsp.set_log_level("off")

View file

@ -3,21 +3,27 @@ local plugins = {}
local single_host_plugins = { local single_host_plugins = {
othalan = { othalan = {
{'ThePrimeagen/vim-be-good'}, -- for fun + learning
{ "aklt/plantuml-syntax" }, { "aklt/plantuml-syntax" },
{ "kaarmu/typst.vim" }, { "kaarmu/typst.vim" },
{ {
"mickael-menu/zk-nvim", "mickael-menu/zk-nvim",
config = function() config = function()
require("zk").setup({ require("zk").setup({
-- See Setup section below
}) })
end, end,
}, },
-- { "Fymyte/rasi.vim" }, { "Fymyte/rasi.vim" },
-- { dir = "~/dev/github/usu-dev/usu-vim/" }, -- { dir = "~/dev/github/usu-dev/usu-vim/" },
}, },
} }
local function add_single_host_plugins()
if vim.tbl_contains(vim.tbl_keys(single_host_plugins), hostname) then
vim.list_extend(plugins, single_host_plugins[hostname])
end
end
if vim.tbl_contains({ "othalan", "algiz" }, hostname) then if vim.tbl_contains({ "othalan", "algiz" }, hostname) then
vim.list_extend(plugins, { vim.list_extend(plugins, {
{ "lambdalisue/suda.vim" }, { "lambdalisue/suda.vim" },
@ -25,8 +31,6 @@ if vim.tbl_contains({ "othalan", "algiz" }, hostname) then
}) })
end end
if vim.tbl_contains(vim.tbl_keys(single_host_plugins), hostname) then add_single_host_plugins()
vim.list_extend(plugins, single_host_plugins[hostname])
end
return plugins return plugins

View file

@ -12,7 +12,6 @@ ohmyzsh/ohmyzsh path:plugins/fancy-ctrl-z
ohmyzsh/ohmyzsh path:plugins/colored-man-pages ohmyzsh/ohmyzsh path:plugins/colored-man-pages
# tools # tools
# 89luca89/distrobox kind:fpath path:completions/zsh
junegunn/fzf path:shell/completion.zsh junegunn/fzf path:shell/completion.zsh
junegunn/fzf path:shell/key-bindings.zsh junegunn/fzf path:shell/key-bindings.zsh
wfxr/forgit wfxr/forgit