From 47acc735759f256d95168fef475964953ab661fd Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Fri, 1 Jul 2022 15:34:04 +0200 Subject: Sway changes and disable annoying neovim plugin Removed the keyboard layout from waybar as it was incorect on single layout keyboards And use slurp for screenshots for editting --- .config/nvim/init.lua | 1 + .config/sway/config | 7 +++++-- .config/waybar/config | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index cc2c80b..91f2d88 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -257,6 +257,7 @@ return require("packer").startup(function(use) use { "https://github.com/github/copilot.vim" } use { + disable = true, "https://github.com/ms-jpq/coq_nvim", requires = { "https://github.com/ms-jpq/coq.artifacts", diff --git a/.config/sway/config b/.config/sway/config index e0f1ac7..d9597d0 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -63,10 +63,13 @@ set $term $(which footclient || which alacritty) # on the original workspace that the command was run on. set $menu wofi --show drun -Iai -w 3 set $screenshot_fullscreen grim /dev/stdout | wl-copy +#set $screenshot slurp \ +# | grim -l 0 -g - /dev/stdout \ +# | wl-copy +#set $screenshot flameshot gui set $screenshot slurp \ | grim -l 0 -g - /dev/stdout \ - | wl-copy -#set $screenshot flameshot gui + | swappy -f - -o `date "+$HOME/screenshots/%Y-%m-%d_%R:%S.png"` set $toggle_layout input "type:keyboard" xkb_switch_layout next set $lock swaylock diff --git a/.config/waybar/config b/.config/waybar/config index 31ff2ae..63f64e2 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -15,8 +15,8 @@ ], "modules-right": [ //"mpd", - //"idle_inhibitor", - "sway/language", + "idle_inhibitor", + //"sway/language", "pulseaudio", "backlight", "battery", -- cgit v1.2.3