From d06b17333d5d5e3aa5199967b033e7b95fc7bae0 Mon Sep 17 00:00:00 2001 From: MikeG Date: Thu, 12 Jun 2025 20:08:50 -0400 Subject: [PATCH] nvim clipboard and relative number options, removed swayfx - disabled swayfx specific options in config, moved swaylock config to config file --- .config/nvim/lua/config/options.lua | 2 ++ .config/sway/config | 46 ++++++++++++++--------------- .config/sway/lockman.sh | 2 +- .config/swaylock/config | 12 ++++++++ 4 files changed, 38 insertions(+), 24 deletions(-) create mode 100644 .config/swaylock/config diff --git a/.config/nvim/lua/config/options.lua b/.config/nvim/lua/config/options.lua index 262e9cb..cacca34 100644 --- a/.config/nvim/lua/config/options.lua +++ b/.config/nvim/lua/config/options.lua @@ -1,6 +1,8 @@ vim.g.loaded_netrw = 1 -- disable netrw for nvim-tree vim.g.loaded_netrwPlugin = 1 -- recommended for nvim-tree +vim.opt.clipboard = "unnamedplus" -- set clipboard register vim.opt.number = true -- turn line numbers on +vim.opt.relativenumber = true -- turn relative line numbers on vim.opt.ignorecase = true -- ignore case when searching vim.opt.hlsearch = true -- highlight search results vim.opt.tabstop = 2 -- set number of spaces for a tab diff --git a/.config/sway/config b/.config/sway/config index ab7b4b0..e5461d8 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -43,7 +43,7 @@ bindsym $mod+Shift+m exec dunstctl close-all # output * bg ~/Wallpapers/orangeMountains.png fill # output * bg #c0caf5 solid_color # output * bg ~/Wallpapers/wp9285156.jpg fill -output * bg ~/Source/tokyonight-wallpapers/fly_original.png fill +output * bg ~/Source/tokyonight-wallpapers/void_upscayl_realesrgan-x4plus_x2.png fill # # Example configuration: # @@ -66,14 +66,14 @@ output eDP-1 resolution 1920x1080 position 0,0 # your displays after another 300 seconds, and turn your screens back on when # resumed. It will also lock your screen before your computer goes to sleep. -set $lock 'swaylock -e -F -i /home/emge/Source/tokyonight-wallpapers/fly_original.png' +set $lock 'swaylock -e -F -i /home/emge/Source/tokyonight-wallpapers/void_upscayl_realesrgan-x4plus_x2.png --indicator-radius 175 --indicator-y-position 525 --inside-color 000000AA' exec swayidle -w \ timeout 300 $lock \ timeout 310 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ before-sleep $lock -# set $lockman 'exec bash ~/.config/sway/lockman.sh' -# bindsym $mod+l exec $lockman +set $lockman 'exec bash ~/.config/sway/lockman.sh' +bindsym $mod+x exec $lockman ### Input configuration # @@ -290,22 +290,22 @@ client.unfocused "#2d3f76" "#2d3f76" "#ff757f" client.focused_inactive "#2d3f76" "#2d3f76" "#ff757f" ### Swayfx options -corner_radius 15 - -blur on -blur_xray off -blur_passes 2 -blur_radius 5 - -shadows off -shadows_on_csd off -shadow_blur_radius 20 -shadow_color #0000007F - -# inactive window fade amount 0.0 = no dimming, 1.0 = fully dimmed -default_dim_inactive 0.0 -dim_inactive_colors.unfocused #000000FF -dim_inactive_colors.urgent #900000FF - -# move minimized windows to scratchpad -scratchpad_minimize disable +# corner_radius 5 +# +# blur on +# blur_xray off +# blur_passes 2 +# blur_radius 5 +# +# shadows off +# shadows_on_csd off +# shadow_blur_radius 20 +# shadow_color #0000007F +# +# # inactive window fade amount 0.0 = no dimming, 1.0 = fully dimmed +# default_dim_inactive 0.0 +# dim_inactive_colors.unfocused #000000FF +# dim_inactive_colors.urgent #900000FF +# +# # move minimized windows to scratchpad +# scratchpad_minimize disable diff --git a/.config/sway/lockman.sh b/.config/sway/lockman.sh index bebfd2b..3bfe4da 100644 --- a/.config/sway/lockman.sh +++ b/.config/sway/lockman.sh @@ -2,5 +2,5 @@ swayidle \ timeout 10 'swaymsg "output * power off"' \ resume 'swaymsg "output * power on"' & -swaylock -e -F -i ~/Source/tokyonight-wallpapers/fly_original.png +swaylock -e -F -i /home/emge/Source/tokyonight-wallpapers/void_upscayl_realesrgan-x4plus_x2.png --indicator-radius 175 --indicator-y-position 525 --inside-color 000000AA kill %% diff --git a/.config/swaylock/config b/.config/swaylock/config new file mode 100644 index 0000000..cbff9c5 --- /dev/null +++ b/.config/swaylock/config @@ -0,0 +1,12 @@ +ignore-empty-password + +show-failed-attempts + +image=/home/emge/Source/tokyonight-wallpapers/void_upscayl_realesrgan-x4plus_x2.png + +indicator-radius=175 +indicator-y-position=525 +inside-color=1b1d2bAA +ring-color=2d3f76ff +key-hl-color=82aaffff +bs-hl-color=ff757fff