From 404eab025fa25b773713fdbb22390cc88b64f2ed Mon Sep 17 00:00:00 2001 From: Seymur Bagirov Date: Wed, 14 Feb 2024 21:23:25 +0400 Subject: [PATCH] add stuff --- hypr/hyprland.conf | 2 +- hypr/wallpaper.conf | 4 ++-- nvim/lua/themystery/plugins/copilot.lua | 11 +++++++++++ 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 nvim/lua/themystery/plugins/copilot.lua diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index bac928f..65a06ef 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -201,7 +201,7 @@ bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, L, exec, gtklock -i bind = $mainMod, S, exec, grimblast --cursor --notify copy area -bind = $mainMod_SHIFT, S, exec, swappy -f $(grimblast --cursor --notify copysave area) +bind = $mainMod_SHIFT, S, exec, grim -g "$(slurp)" - | satty --filename - --copy-command wl-copy bind = $mainMod_SHIFT, E, exec, grimblast --cursor --notify edit area bind = $mainMod, F12, exec, grimblast --cursor --notify --freeze save screen bind = $mainMod_SHIFT, F12, exec, grimblast --cursor --notify --freeze save active diff --git a/hypr/wallpaper.conf b/hypr/wallpaper.conf index 600cc96..2b85322 100644 --- a/hypr/wallpaper.conf +++ b/hypr/wallpaper.conf @@ -5,8 +5,8 @@ # exec-once = mpvpaper -o "--loop" -f HDMI-A-2 ~/Videos/LiveWallpapers/mylivewallpapers.com-ADDED-Mercy-Overwatch.mp4 # exec-once = mpvpaper -o "--loop" -f HDMI-A-2 ~/Videos/LiveWallpapers/mylivewallpapers-com-Rainy-Train-Station-4K.mp4 # exec-once = mpvpaper -o "--loop" -f HDMI-A-2 ~/Videos/LiveWallpapers/mylivewallpapers-com-Night-Italian-Cafe-4K.mp4 -exec = mpvpaper -o "--loop" -f HDMI-A-2 ~/Videos/LiveWallpapers/makoto-yuki-in-the-train-persona-3-reload-moewalls-com.mp4 -# exec-once = swww init +exec = mpvpaper -o "--loop" -f HDMI-A-2 ~/Videos/LiveWallpapers/mylivewallpapers-com-Winter-City-4K.mp4 +#exec-once = swww init # exec-once=wallengine --screen-root HDMI-A-2 1383845959 diff --git a/nvim/lua/themystery/plugins/copilot.lua b/nvim/lua/themystery/plugins/copilot.lua new file mode 100644 index 0000000..d7ce77e --- /dev/null +++ b/nvim/lua/themystery/plugins/copilot.lua @@ -0,0 +1,11 @@ +return { + "github/copilot.vim", + config = function() + vim.g.copilot_no_tab_map = true + vim.api.nvim_set_keymap("i", "", 'copilot#Accept("")', { silent = true, expr = true }) + vim.g.copilot_filetypes = { + -- because i'm learning rust + rust = false + }; + end +}