diff --git a/eww-bar/.config/eww-bar/eww.yuck b/eww-bar/.config/eww-bar/eww.yuck index 4539799..6dde446 100644 --- a/eww-bar/.config/eww-bar/eww.yuck +++ b/eww-bar/.config/eww-bar/eww.yuck @@ -113,8 +113,7 @@ (defwindow bar_1 - :monitor 0 - ;:monitor [0 "DisplayPort-0" "PHL 345B1C"] + :monitor '["", "DisplayPort-0", "PHL 345B1C"]' ; :monitor "DisplayPort-0" :stacking "fg" :geometry (geometry :x 0 :y 0 :width "40px" :height "100%" :anchor "center left") @@ -123,7 +122,7 @@ (bar :screen 1)) (defwindow bar_2 - :monitor "HDMI-A-1" + ;:monitor [1 "HDMI-A-1"] :geometry (geometry :x 0 :y 0 :width "40px" :height "100%" :anchor "top left") :reserve (struts :distance "40px" :side "left") (bar :screen 2)) diff --git a/eww-laptop/.config/eww/eww.scss b/eww-laptop/.config/eww/eww.scss index 90c765f..24ead9d 100644 --- a/eww-laptop/.config/eww/eww.scss +++ b/eww-laptop/.config/eww/eww.scss @@ -1,4 +1,4 @@ -* { +.bar * { all: unset; } @@ -16,3 +16,7 @@ } +menuitem window { + background: #282828; + margin: 10px; +} diff --git a/eww-laptop/.config/eww/eww.yuck b/eww-laptop/.config/eww/eww.yuck index 0d0978b..2a5ffcd 100644 --- a/eww-laptop/.config/eww/eww.yuck +++ b/eww-laptop/.config/eww/eww.yuck @@ -1,6 +1,6 @@ (deflisten workspaces :initial "[]" "bash ./scripts/get-workspaces") (deflisten current_workspace :initial "1" "bash ./scripts/get-active-workspace") -(defpoll time :interval "1s" "date '+%d.%m.%Y - %H:%M'") +(defpoll time :interval "1s" "date '+%d.%m.%Y - %H:%M:%S'") (defwidget workspaces [] (eventbox :halign "start" @@ -23,6 +23,7 @@ "󰍛 ${round(EWW_RAM.used_mem_perc, 0)}%" "󰻠 ${round(EWW_CPU.avg, 0)}%"))) + (defwindow bar :monitor 0 :geometry (geometry :x 0 :y 0 :width "100%" :height "30px" :anchor "top center") @@ -30,5 +31,13 @@ :exclusive true (bar)) -(defwindow test [a id] :monitor {a} :geometry (geometry :x 0 :y 0 :width "50px" :height "50px" :anchor "top center") - "${a} ${id}") + +(defwindow test + :monitor 0 + :exclusive true + :geometry (geometry :x 0 :y 0 :width "100%" :height "20px" :anchor "top center") + (box + "${EWW_NET["enp34s0"]}" + (tooltip + "${time}" + (button "test")))) diff --git a/nvim/.config/nvim/fnl/dots/plugins/treesitter.fnl b/nvim/.config/nvim/fnl/dots/plugins/treesitter.fnl index b6eab92..e023780 100644 --- a/nvim/.config/nvim/fnl/dots/plugins/treesitter.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins/treesitter.fnl @@ -1,8 +1,10 @@ (local utils (require :dots.utils)) +; require('ts_context_commentstring').setup {} and set vim.g.skip_ts_context_commentstring_module = true to speed up loading instead. (fn setup [] (local configs (require :nvim-treesitter.configs)) + (set vim.g.skip_ts_context_commentstring_module true) (configs.setup {:ensure_installed ["rust" "fennel" "commonlisp" "vim" "regex" "lua" "bash" "markdown" "markdown_inline"] ; :ensure_installed "maintained" diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 3076d1a..523abeb 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -142,8 +142,8 @@ input "type:keyboard" { # You can "split" the current object of your focus with # $mod+b or $mod+v, for horizontal and vertical splits # respectively. - bindsym $mod+b splith - bindsym $mod+v splitv + bindsym $mod+Shift+b splith + bindsym $mod+Shift+v splitv # Switch the current container between different layout styles bindsym $mod+s layout stacking @@ -206,4 +206,4 @@ exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK for_window [app_id="flameshot"] border pixel 0, floating enable, fullscreen disable, move absolute position 0 0 -exec eww -c ~/.config/eww-bar open bar_1 & +exec eww -c ~/.config/eww-bar open bar_1 --restart & diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index eed5b50..d8f562f 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -142,6 +142,7 @@ fi if command -v flutter >/dev/null; then export PATH="$HOME/.pub-cache/bin:$PATH" fi +[[ -d "$HOME/.deno/bin" ]] && export PATH="$HOME/.deno/bin:$PATH" #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!