Compare commits
4 commits
9ae99be50e
...
a4d60021aa
Author | SHA1 | Date | |
---|---|---|---|
a4d60021aa | |||
703f1270f8 | |||
557e81fdaa | |||
7287995da7 |
10 changed files with 58 additions and 50 deletions
|
@ -1,6 +1,6 @@
|
|||
(defvar rofi-bin "~/.config/rofi/bin")
|
||||
|
||||
(deflisten workspaces "hyprman eww watch")
|
||||
(deflisten workspaces "hyprman watch")
|
||||
|
||||
(defpoll clocktext :interval "10s" "date '+%d %b %I:%M %p'")
|
||||
(defpoll bluetooth-icon :interval "5s" "bin/bluetooth.sh")
|
||||
|
|
|
@ -14,8 +14,10 @@
|
|||
(bar :screen 0 :minimal false)
|
||||
)
|
||||
|
||||
; todo: ADD HOME MONITOR
|
||||
|
||||
(defwindow bar1
|
||||
:monitor 1
|
||||
:monitor '["ASUS MX239", "Acer H236HL"]'
|
||||
:windowtype "dock"
|
||||
:exclusive true
|
||||
:geometry (geometry :x "0%"
|
||||
|
@ -27,15 +29,15 @@
|
|||
(bar :screen 1 :minimal false)
|
||||
)
|
||||
|
||||
|
||||
;(defwindow bar2
|
||||
; :monitor 2
|
||||
; :windowtype "dock"
|
||||
; :geometry (geometry :x "0%"
|
||||
; :y "0%"
|
||||
; :width "100%"
|
||||
; :height "40px"
|
||||
; :anchor "top center")
|
||||
; :reserve (struts :side "top" :distance "43px")
|
||||
; (bar :screen 2 :minimal true)
|
||||
;)
|
||||
(defwindow bar2
|
||||
:monitor '["VN279"]'
|
||||
:windowtype "dock"
|
||||
:exclusive true
|
||||
:geometry (geometry :x "0%"
|
||||
:y "0%"
|
||||
:width "100%"
|
||||
:height "40px"
|
||||
:anchor "top center")
|
||||
;:reserve (struts :side "top" :distance "43px")
|
||||
(bar :screen 2 :minimal true)
|
||||
)
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
# exec-once = flameshot &
|
||||
|
||||
# exec-once = dunst -conf ~/.config/hypr/dunstrc
|
||||
exec-once = hyprctl setcursor catppuccin-mocha-dark-cursors 24
|
||||
exec-once = swww-daemon
|
||||
exec-once = mako
|
||||
exec-once = udiskie
|
||||
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 = kanshi
|
||||
|
||||
exec = pkill eww & hyprman eww start
|
||||
exec = pkill eww & hyprman start
|
||||
exec = hyprman swww
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
wallpapers: ~/stuff/wallpapers/mountain-temple
|
||||
default-icon:
|
||||
no-client: "-"
|
||||
classes:
|
||||
|
@ -15,3 +16,5 @@ classes:
|
|||
"- Wezterm":
|
||||
"org.wezfurlong.wezterm":
|
||||
"MultiViewer for F1":
|
||||
|
||||
|
||||
|
|
|
@ -1,22 +1,23 @@
|
|||
# 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 {
|
||||
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 {
|
||||
output eDP-1 mode 1920x1200 position 1920,0
|
||||
output DP-3 mode 1920x1080 position 0,0
|
||||
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
|
||||
output eDP-1 mode 1920x1200 position 3000,960
|
||||
output $work-middle mode 1920x1080 position 1080,960
|
||||
output $work-tall mode 1920x1080 position 0,0 transform 90
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
import std/[os, strutils, strformat]
|
||||
# import system/nimscript
|
||||
import std/[
|
||||
os, strutils, strformat
|
||||
]
|
||||
|
||||
switch("hint","[Conf]:off")
|
||||
|
||||
|
@ -26,14 +29,9 @@ proc getGitRootMaybe(): string =
|
|||
else:
|
||||
result = projectDir()
|
||||
|
||||
let
|
||||
root = getGitRootMaybe()
|
||||
(_, pkgName) = root.splitPath()
|
||||
srcFile = root / "src" / (pkgName & ".nim")
|
||||
# formatter = "nimpretty"
|
||||
const
|
||||
formatter = "nph"
|
||||
|
||||
|
||||
proc formatNimCode(pattern = r"^[src|tests].*\.nim(s)?$") =
|
||||
let srcFiles = gorgeExCd(fmt"nimgrep --filenames -r '{pattern}' --noColor").output.split("\n")[0..^2]
|
||||
for file in srcFiles:
|
||||
|
@ -58,7 +56,7 @@ task i, "install package":
|
|||
setCommand("nop")
|
||||
|
||||
|
||||
task lexidInc, "bump lexigraphic id":
|
||||
task lexidInc, "bump lexicographic id":
|
||||
let (vsn, code) = gorgeExCd("git describe --tags --always --dirty=-dev")
|
||||
if code != 0:
|
||||
echo "is this a git repo?"
|
||||
|
@ -90,3 +88,6 @@ task lexidInc, "bump lexigraphic id":
|
|||
task _,"_______________":
|
||||
discard
|
||||
|
||||
|
||||
task h, "":
|
||||
exec "nim help"
|
||||
|
|
|
@ -26,6 +26,9 @@ require("lazy").setup({
|
|||
{ import = "plugins" },
|
||||
{ import = "plugins.language" },
|
||||
},
|
||||
rocks = {
|
||||
enabled = false,
|
||||
},
|
||||
defaults = {
|
||||
-- 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.
|
||||
|
|
|
@ -18,3 +18,5 @@ vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
|
|||
|
||||
-- https://github.com/ziglang/zig.vim/issues/51#issuecomment-1637180522
|
||||
vim.g.zig_fmt_autosave = 0
|
||||
|
||||
vim.lsp.set_log_level("off")
|
||||
|
|
|
@ -3,27 +3,21 @@ local plugins = {}
|
|||
|
||||
local single_host_plugins = {
|
||||
othalan = {
|
||||
{'ThePrimeagen/vim-be-good'}, -- for fun + learning
|
||||
{ "aklt/plantuml-syntax" },
|
||||
{ "kaarmu/typst.vim" },
|
||||
{
|
||||
"mickael-menu/zk-nvim",
|
||||
config = function()
|
||||
require("zk").setup({
|
||||
-- See Setup section below
|
||||
})
|
||||
end,
|
||||
},
|
||||
{ "Fymyte/rasi.vim" },
|
||||
-- { "Fymyte/rasi.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
|
||||
vim.list_extend(plugins, {
|
||||
{ "lambdalisue/suda.vim" },
|
||||
|
@ -31,6 +25,8 @@ if vim.tbl_contains({ "othalan", "algiz" }, hostname) then
|
|||
})
|
||||
end
|
||||
|
||||
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
|
||||
|
||||
return plugins
|
||||
|
|
|
@ -12,6 +12,7 @@ ohmyzsh/ohmyzsh path:plugins/fancy-ctrl-z
|
|||
ohmyzsh/ohmyzsh path:plugins/colored-man-pages
|
||||
|
||||
# tools
|
||||
# 89luca89/distrobox kind:fpath path:completions/zsh
|
||||
junegunn/fzf path:shell/completion.zsh
|
||||
junegunn/fzf path:shell/key-bindings.zsh
|
||||
wfxr/forgit
|
||||
|
|
Loading…
Reference in a new issue