From 1400946864496504bf0f03e57354b895577856f4 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Wed, 3 Apr 2024 14:33:32 +0530 Subject: [PATCH] update this ig hahaha --- .bashrc | 3 +++ .winitrc | 6 +++++- alacritty/alacritty.toml | 26 ++++++++++++++++++++++++++ hypr/hyprland.conf | 6 ++++++ link.sh | 1 + nvim/lua/user/lsp/mason.lua | 1 + sway/config | 5 ++--- 7 files changed, 44 insertions(+), 4 deletions(-) create mode 100644 alacritty/alacritty.toml create mode 100644 hypr/hyprland.conf diff --git a/.bashrc b/.bashrc index f07fc9b..a6be451 100644 --- a/.bashrc +++ b/.bashrc @@ -73,6 +73,9 @@ export EDITOR=nvim # export pip path export PATH=$PATH:~/.local/bin +# export composer path +export PATH=$PATH:~/.config/composer/vendor/bin + # android studio stuff export ANDROID_HOME=$HOME/Android/Sdk export PATH=$PATH:$ANDROID_HOME/emulator diff --git a/.winitrc b/.winitrc index 316e1d7..754d517 100755 --- a/.winitrc +++ b/.winitrc @@ -42,7 +42,11 @@ export SSH_AUTH_SOCK #status=$(sudo cat /sys/class/drm/card1-HDMI-A-2/status) #if [ "$status" = "connected" ]; then # export WLR_RENDERER=vulkan -#export WLR_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1 +# export WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0 +# export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json:/usr/share/glvnd/egl_vendor.d/50_mesa.json #fi +#export WLR_RENDERER=gles2 +#export WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0 +#export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json:/usr/share/glvnd/egl_vendor.d/50_mesa.json sway --unsupported-gpu diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml new file mode 100644 index 0000000..42e4442 --- /dev/null +++ b/alacritty/alacritty.toml @@ -0,0 +1,26 @@ +import = ["/home/ayush/.config/alacritty/catppuccin/catppuccin-macchiato.toml"] + +[colors] +draw_bold_text_with_bright_colors = false + +[cursor.style] +blinking = "on" +shape = "beam" + +[font] +size = 14 + +[font.normal] +family = "Roboto Mono for Powerline" +style = "Regular" + +[font.offset] +x = 0 +y = 3 + +[window] +opacity = 1 + +[window.padding] +x = 10 +y = 4 diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf new file mode 100644 index 0000000..bdedd51 --- /dev/null +++ b/hypr/hyprland.conf @@ -0,0 +1,6 @@ +#monitor=eDP-1,1920x1080@144,auto,1.15 +exec-once = + +$terminal = alacritty +$fileManager = io.elementary.files +$menu = bemenu-run diff --git a/link.sh b/link.sh index d45485d..5621e3c 100755 --- a/link.sh +++ b/link.sh @@ -19,3 +19,4 @@ ln -s $(pwd)/.Xresources ~/.Xresources ln -s $(pwd)/gtklock ~/.config ln -s $(pwd)/electron-flags.conf ~/.config ln -s $(pwd)/foot ~/.config +ln -s $(pwd)/hypr ~/.config diff --git a/nvim/lua/user/lsp/mason.lua b/nvim/lua/user/lsp/mason.lua index e660506..b4cd298 100644 --- a/nvim/lua/user/lsp/mason.lua +++ b/nvim/lua/user/lsp/mason.lua @@ -4,6 +4,7 @@ local servers = { "tsserver", "terraformls", "phpactor", + --"intelephense", "emmet_language_server", } diff --git a/sway/config b/sway/config index 4762ec8..835c43e 100644 --- a/sway/config +++ b/sway/config @@ -18,7 +18,6 @@ output HDMI-A-2 { adaptive_sync off } - # set mouse input type:pointer { accel_profile flat @@ -283,8 +282,8 @@ bindsym $mod+n exec firefox #bindsym $mod+b exec "min --use-gl=desktop --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,CanvasOopRasterization --ozone-platform-hint=auto --ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --disable-features=UseSkiaRenderer,UseChromeOSDirectVideoDecoder --canvas-oop-rasterization" bindsym $mod+b exec "notesnook --ozone-platform-hint=x11" -# Mod + Shift + b mercury -bindsym $mod+Shift+b exec "mercury-browser" +# Mod + Shift + b firefox-dev +bindsym $mod+Shift+b exec "firefox-developer-edition" # Mod + m pantheon files bindsym $mod+m exec io.elementary.files