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:
parent
074b7c05ff
commit
d06b17333d
4 changed files with 38 additions and 24 deletions
|
@ -1,6 +1,8 @@
|
||||||
vim.g.loaded_netrw = 1 -- disable netrw for nvim-tree
|
vim.g.loaded_netrw = 1 -- disable netrw for nvim-tree
|
||||||
vim.g.loaded_netrwPlugin = 1 -- recommended 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.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.ignorecase = true -- ignore case when searching
|
||||||
vim.opt.hlsearch = true -- highlight search results
|
vim.opt.hlsearch = true -- highlight search results
|
||||||
vim.opt.tabstop = 2 -- set number of spaces for a tab
|
vim.opt.tabstop = 2 -- set number of spaces for a tab
|
||||||
|
|
|
@ -43,7 +43,7 @@ bindsym $mod+Shift+m exec dunstctl close-all
|
||||||
# output * bg ~/Wallpapers/orangeMountains.png fill
|
# output * bg ~/Wallpapers/orangeMountains.png fill
|
||||||
# output * bg #c0caf5 solid_color
|
# output * bg #c0caf5 solid_color
|
||||||
# output * bg ~/Wallpapers/wp9285156.jpg fill
|
# 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:
|
# 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
|
# 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.
|
# 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 \
|
exec swayidle -w \
|
||||||
timeout 300 $lock \
|
timeout 300 $lock \
|
||||||
timeout 310 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
timeout 310 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
before-sleep $lock
|
before-sleep $lock
|
||||||
|
|
||||||
# set $lockman 'exec bash ~/.config/sway/lockman.sh'
|
set $lockman 'exec bash ~/.config/sway/lockman.sh'
|
||||||
# bindsym $mod+l exec $lockman
|
bindsym $mod+x exec $lockman
|
||||||
|
|
||||||
### Input configuration
|
### Input configuration
|
||||||
#
|
#
|
||||||
|
@ -290,22 +290,22 @@ client.unfocused "#2d3f76" "#2d3f76" "#ff757f"
|
||||||
client.focused_inactive "#2d3f76" "#2d3f76" "#ff757f"
|
client.focused_inactive "#2d3f76" "#2d3f76" "#ff757f"
|
||||||
|
|
||||||
### Swayfx options
|
### Swayfx options
|
||||||
corner_radius 15
|
# corner_radius 5
|
||||||
|
#
|
||||||
blur on
|
# blur on
|
||||||
blur_xray off
|
# blur_xray off
|
||||||
blur_passes 2
|
# blur_passes 2
|
||||||
blur_radius 5
|
# blur_radius 5
|
||||||
|
#
|
||||||
shadows off
|
# shadows off
|
||||||
shadows_on_csd off
|
# shadows_on_csd off
|
||||||
shadow_blur_radius 20
|
# shadow_blur_radius 20
|
||||||
shadow_color #0000007F
|
# shadow_color #0000007F
|
||||||
|
#
|
||||||
# inactive window fade amount 0.0 = no dimming, 1.0 = fully dimmed
|
# # inactive window fade amount 0.0 = no dimming, 1.0 = fully dimmed
|
||||||
default_dim_inactive 0.0
|
# default_dim_inactive 0.0
|
||||||
dim_inactive_colors.unfocused #000000FF
|
# dim_inactive_colors.unfocused #000000FF
|
||||||
dim_inactive_colors.urgent #900000FF
|
# dim_inactive_colors.urgent #900000FF
|
||||||
|
#
|
||||||
# move minimized windows to scratchpad
|
# # move minimized windows to scratchpad
|
||||||
scratchpad_minimize disable
|
# scratchpad_minimize disable
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
swayidle \
|
swayidle \
|
||||||
timeout 10 'swaymsg "output * power off"' \
|
timeout 10 'swaymsg "output * power off"' \
|
||||||
resume 'swaymsg "output * power on"' &
|
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 %%
|
kill %%
|
||||||
|
|
12
.config/swaylock/config
Normal file
12
.config/swaylock/config
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue