From 9684e668b922d71e663a6fde11fdc5f9ffcbeb2d Mon Sep 17 00:00:00 2001 From: jabuxas Date: Tue, 21 Jan 2025 14:01:59 -0300 Subject: [PATCH] chore(work): nvm going back to sway --- work-laptop/configs/fish/.config/fish/config.fish | 4 ++++ work-laptop/configs/sway/.config/sway/settings/init | 2 +- work-laptop/configs/sway/.config/sway/settings/rules | 1 + work-laptop/configs/zed/.config/zed/settings.json | 3 +++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/work-laptop/configs/fish/.config/fish/config.fish b/work-laptop/configs/fish/.config/fish/config.fish index 006e97f..530c091 100644 --- a/work-laptop/configs/fish/.config/fish/config.fish +++ b/work-laptop/configs/fish/.config/fish/config.fish @@ -7,6 +7,10 @@ if status --is-login set -gx EDITOR "nvim" set -x FZF_DEFAULT_OPTS '--height 50% --layout=reverse --border --preview "bat --style=numbers --color=always {}"' fzf --fish | source + if test -z "$WAYLAND_DISPLAY" && test "$XDG_VTNR" -eq 1 + set -gx XDG_CURRENT_DESKTOP "sway" + sway + end end if status is-interactive alias cb="~/repos/cports/cbuild" diff --git a/work-laptop/configs/sway/.config/sway/settings/init b/work-laptop/configs/sway/.config/sway/settings/init index 9eb160d..8dd36fc 100644 --- a/work-laptop/configs/sway/.config/sway/settings/init +++ b/work-laptop/configs/sway/.config/sway/settings/init @@ -4,7 +4,7 @@ exec { gsettings set $gnome-schema icon-theme "Reversal-black-dark" gsettings set $gnome-schema cursor-theme 'Simp1e-Adw' gsettings set $gnome-schema font-name 'Cartograph CF 12' - waybar & + waybar -c ~/.config/waybar/config.jsonc & autotiling & dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway DISPLAY rm -rf ~/tmp/* diff --git a/work-laptop/configs/sway/.config/sway/settings/rules b/work-laptop/configs/sway/.config/sway/settings/rules index a10c23b..2a285d3 100644 --- a/work-laptop/configs/sway/.config/sway/settings/rules +++ b/work-laptop/configs/sway/.config/sway/settings/rules @@ -3,6 +3,7 @@ for_window [class="vrising.exe"] move to workspace 9 for_window [shell=".*"] inhibit_idle fullscreen for_window [app_id=".*office.*"] move to workspace 5 for_window [app_id="WebCord"] move to workspace 6 +for_window [app_id="discord"] move to workspace 6 for_window [class="WebCord"] move to workspace 6 for_window [class="Spotify"] move to workspace 4 for_window [class="Steam"] move to workspace 8 diff --git a/work-laptop/configs/zed/.config/zed/settings.json b/work-laptop/configs/zed/.config/zed/settings.json index 7c4b7a5..4c61ed7 100644 --- a/work-laptop/configs/zed/.config/zed/settings.json +++ b/work-laptop/configs/zed/.config/zed/settings.json @@ -53,6 +53,9 @@ "show_type_hints": true } }, + "HTML": { + "format_on_save": "off" + }, "Python": { "format_on_save": { "language_server": { "name": "ruff" } }, "formatter": { "language_server": { "name": "ruff" } },