From a2acab1fed01ee0f04f78450472f38508085a00f Mon Sep 17 00:00:00 2001 From: jay Date: Tue, 4 Jul 2023 02:24:34 +0800 Subject: [PATCH] update --- home/dot_config/nvim/init.vim.tmpl | 9 +++++++-- home/dot_config/sway/config | 8 ++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/home/dot_config/nvim/init.vim.tmpl b/home/dot_config/nvim/init.vim.tmpl index a964935..6de7d7e 100644 --- a/home/dot_config/nvim/init.vim.tmpl +++ b/home/dot_config/nvim/init.vim.tmpl @@ -72,6 +72,7 @@ Plug 'akinsho/bufferline.nvim', { 'tag': 'v3.*' } Plug 'lukas-reineke/indent-blankline.nvim' Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} +Plug 'bluz71/vim-nightfly-colors', { 'as': 'nightfly' } Plug 'folke/tokyonight.nvim', { 'branch': 'main' } Plug 'norcalli/nvim-colorizer.lua' @@ -304,6 +305,7 @@ let g:fzf_history_dir = '~/.local/share/fzf-history' lua << EOF +--[[ require("tokyonight").setup({ -- your configuration comes here -- or leave it empty to use the default settings @@ -347,7 +349,10 @@ require("tokyonight").setup({ } end, }) -vim.cmd[[colorscheme tokyonight]] +]] +-- vim.cmd[[colorscheme tokyonight]] +vim.g.nightflyTransparent = true +vim.cmd[[colorscheme nightfly]] require('lualine').setup { options = { @@ -615,7 +620,7 @@ require('aerial').setup({ "Field", "Constant", }, - manage_folds = false, + manage_folds = true, link_tree_to_folds = false, -- Show box drawing characters for the tree hierarchy show_guides = true, diff --git a/home/dot_config/sway/config b/home/dot_config/sway/config index 5dca332..9c84c5c 100644 --- a/home/dot_config/sway/config +++ b/home/dot_config/sway/config @@ -36,10 +36,10 @@ output * bg /home/jay/.config/sway/bg.png fill # # You can get the names of your outputs by running: swaymsg -t get_outputs +exec --no-startup-id dbus-update-activation-environment --all # exec_always xdg-desktop-portal -r -# exec_always xdg-desktop-portal-wlr +exec_always /usr/libexec/xdg-desktop-portal-wlr # exec env XDG_CONFIG_HOME=/home/jay/.config gentoo-pipewire-launcher restart & -# exec --no-startup-id dbus-update-activation-environment --all exec_always kanshi exec dex -a -e sway exec mako @@ -113,8 +113,8 @@ input type:touchpad { bindsym $mod+Shift+p exec ~/.config/wofi/wofi-power.sh - bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +10%; pkill -RTMIN+8 waybar" - bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -10%; pkill -RTMIN+8 waybar" + bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%; pkill -RTMIN+8 waybar" + bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%; pkill -RTMIN+8 waybar" bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle; pkill -RTMIN+8 waybar" bindsym XF86AudioPlay exec playerctl play-pause