Compare commits
No commits in common. "a4d60021aa79d52cad1fea8e1895f0248b486118" and "9ae99be50ec12f8782e4d705d4c3903aad282a60" have entirely different histories.
a4d60021aa
...
9ae99be50e
10 changed files with 50 additions and 58 deletions
|
@ -1,6 +1,6 @@
|
|||
(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 bluetooth-icon :interval "5s" "bin/bluetooth.sh")
|
||||
|
|
|
@ -14,10 +14,8 @@
|
|||
(bar :screen 0 :minimal false)
|
||||
)
|
||||
|
||||
; todo: ADD HOME MONITOR
|
||||
|
||||
(defwindow bar1
|
||||
:monitor '["ASUS MX239", "Acer H236HL"]'
|
||||
:monitor 1
|
||||
:windowtype "dock"
|
||||
:exclusive true
|
||||
:geometry (geometry :x "0%"
|
||||
|
@ -29,15 +27,15 @@
|
|||
(bar :screen 1 :minimal false)
|
||||
)
|
||||
|
||||
(defwindow bar2
|
||||
:monitor '["VN279"]'
|
||||
:windowtype "dock"
|
||||
:exclusive true
|
||||
:geometry (geometry :x "0%"
|
||||
:y "0%"
|
||||
:width "100%"
|
||||
:height "40px"
|
||||
:anchor "top center")
|
||||
|
||||
;(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)
|
||||
)
|
||||
; (bar :screen 2 :minimal true)
|
||||
;)
|
||||
|
|
|
@ -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 = 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 start
|
||||
exec = hyprman swww
|
||||
exec = pkill eww & hyprman eww start
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
wallpapers: ~/stuff/wallpapers/mountain-temple
|
||||
default-icon:
|
||||
no-client: "-"
|
||||
classes:
|
||||
|
@ -16,5 +15,3 @@ classes:
|
|||
"- Wezterm":
|
||||
"org.wezfurlong.wezterm":
|
||||
"MultiViewer for F1":
|
||||
|
||||
|
||||
|
|
|
@ -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 {
|
||||
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 3000,960
|
||||
output $work-middle mode 1920x1080 position 1080,960
|
||||
output $work-tall mode 1920x1080 position 0,0 transform 90
|
||||
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
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
# import system/nimscript
|
||||
import std/[
|
||||
os, strutils, strformat
|
||||
]
|
||||
import std/[os, strutils, strformat]
|
||||
|
||||
switch("hint","[Conf]:off")
|
||||
|
||||
|
@ -29,9 +26,14 @@ proc getGitRootMaybe(): string =
|
|||
else:
|
||||
result = projectDir()
|
||||
|
||||
const
|
||||
let
|
||||
root = getGitRootMaybe()
|
||||
(_, pkgName) = root.splitPath()
|
||||
srcFile = root / "src" / (pkgName & ".nim")
|
||||
# formatter = "nimpretty"
|
||||
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:
|
||||
|
@ -56,7 +58,7 @@ task i, "install package":
|
|||
setCommand("nop")
|
||||
|
||||
|
||||
task lexidInc, "bump lexicographic id":
|
||||
task lexidInc, "bump lexigraphic id":
|
||||
let (vsn, code) = gorgeExCd("git describe --tags --always --dirty=-dev")
|
||||
if code != 0:
|
||||
echo "is this a git repo?"
|
||||
|
@ -88,6 +90,3 @@ task lexidInc, "bump lexicographic id":
|
|||
task _,"_______________":
|
||||
discard
|
||||
|
||||
|
||||
task h, "":
|
||||
exec "nim help"
|
||||
|
|
|
@ -26,9 +26,6 @@ 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,5 +18,3 @@ 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,21 +3,27 @@ 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" },
|
||||
|
@ -25,8 +31,6 @@ if vim.tbl_contains({ "othalan", "algiz" }, hostname) then
|
|||
})
|
||||
end
|
||||
|
||||
if vim.tbl_contains(vim.tbl_keys(single_host_plugins), hostname) then
|
||||
vim.list_extend(plugins, single_host_plugins[hostname])
|
||||
end
|
||||
add_single_host_plugins()
|
||||
|
||||
return plugins
|
||||
|
|
|
@ -12,7 +12,6 @@ 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