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")
|
(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 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")
|
||||||
|
|
|
@ -14,8 +14,10 @@
|
||||||
(bar :screen 0 :minimal false)
|
(bar :screen 0 :minimal false)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
; todo: ADD HOME MONITOR
|
||||||
|
|
||||||
(defwindow bar1
|
(defwindow bar1
|
||||||
:monitor 1
|
:monitor '["ASUS MX239", "Acer H236HL"]'
|
||||||
:windowtype "dock"
|
:windowtype "dock"
|
||||||
:exclusive true
|
:exclusive true
|
||||||
:geometry (geometry :x "0%"
|
:geometry (geometry :x "0%"
|
||||||
|
@ -27,15 +29,15 @@
|
||||||
(bar :screen 1 :minimal false)
|
(bar :screen 1 :minimal false)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(defwindow bar2
|
||||||
;(defwindow bar2
|
:monitor '["VN279"]'
|
||||||
; :monitor 2
|
:windowtype "dock"
|
||||||
; :windowtype "dock"
|
:exclusive true
|
||||||
; :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)
|
||||||
;)
|
)
|
||||||
|
|
|
@ -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 = 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 eww start
|
exec = pkill eww & hyprman start
|
||||||
|
exec = hyprman swww
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
wallpapers: ~/stuff/wallpapers/mountain-temple
|
||||||
default-icon:
|
default-icon:
|
||||||
no-client: "-"
|
no-client: "-"
|
||||||
classes:
|
classes:
|
||||||
|
@ -15,3 +16,5 @@ classes:
|
||||||
"- Wezterm":
|
"- Wezterm":
|
||||||
"org.wezfurlong.wezterm":
|
"org.wezfurlong.wezterm":
|
||||||
"MultiViewer for F1":
|
"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 {
|
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 1920,0
|
output eDP-1 mode 1920x1200 position 3000,960
|
||||||
output DP-3 mode 1920x1080 position 0,0
|
output $work-middle mode 1920x1080 position 1080,960
|
||||||
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
|
output $work-tall mode 1920x1080 position 0,0 transform 90
|
||||||
}
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
import std/[os, strutils, strformat]
|
# import system/nimscript
|
||||||
|
import std/[
|
||||||
|
os, strutils, strformat
|
||||||
|
]
|
||||||
|
|
||||||
switch("hint","[Conf]:off")
|
switch("hint","[Conf]:off")
|
||||||
|
|
||||||
|
@ -26,14 +29,9 @@ proc getGitRootMaybe(): string =
|
||||||
else:
|
else:
|
||||||
result = projectDir()
|
result = projectDir()
|
||||||
|
|
||||||
let
|
const
|
||||||
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:
|
||||||
|
@ -58,7 +56,7 @@ task i, "install package":
|
||||||
setCommand("nop")
|
setCommand("nop")
|
||||||
|
|
||||||
|
|
||||||
task lexidInc, "bump lexigraphic id":
|
task lexidInc, "bump lexicographic 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?"
|
||||||
|
@ -90,3 +88,6 @@ task lexidInc, "bump lexigraphic id":
|
||||||
task _,"_______________":
|
task _,"_______________":
|
||||||
discard
|
discard
|
||||||
|
|
||||||
|
|
||||||
|
task h, "":
|
||||||
|
exec "nim help"
|
||||||
|
|
|
@ -26,6 +26,9 @@ 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.
|
||||||
|
|
|
@ -18,3 +18,5 @@ 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")
|
||||||
|
|
|
@ -3,27 +3,21 @@ 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" },
|
||||||
|
@ -31,6 +25,8 @@ if vim.tbl_contains({ "othalan", "algiz" }, hostname) then
|
||||||
})
|
})
|
||||||
end
|
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
|
return plugins
|
||||||
|
|
|
@ -12,6 +12,7 @@ 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
|
||||||
|
|
Loading…
Reference in a new issue