nvim clipboard and relative number options, removed swayfx - disabled swayfx specific options in config, moved swaylock config to config file

This commit is contained in:
Mike G 2025-06-12 20:08:50 -04:00
parent 074b7c05ff
commit d06b17333d
4 changed files with 38 additions and 24 deletions

View file

@ -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

View file

@ -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

View file

@ -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 %%

12
.config/swaylock/config Normal file
View file

@ -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