wip
This commit is contained in:
1 parent
dc9437ef28
commit
6b6aac99cd
5 files changed
+24
-41
No files matched your search
@@ -1,17 +1,15 @@
|
|||||||
font-size = 10
|
theme = "everforest-dark"
|
||||||
# font-family = "Cascadia Code Semibold"
|
|
||||||
font-family = "Maple Mono Semibold"
|
font-size = 9
|
||||||
|
font-family = "Maple Mono SemiBold"
|
||||||
font-thicken = true
|
font-thicken = true
|
||||||
|
|
||||||
|
confirm-close-surface = false
|
||||||
window-padding-x = 6
|
window-padding-x = 6
|
||||||
window-padding-y = 6
|
window-padding-y = 6
|
||||||
confirm-close-surface = false
|
window-decoration = none
|
||||||
|
mouse-hide-while-typing = true
|
||||||
adjust-cell-height = 15%
|
adjust-cell-height = 15%
|
||||||
alpha-blending = linear-corrected
|
alpha-blending = linear-corrected
|
||||||
bold-is-bright = true
|
bold-is-bright = true
|
||||||
background-opacity = 1
|
background-opacity = 1
|
||||||
background-blur = true
|
|
||||||
mouse-hide-while-typing = true
|
|
||||||
window-decoration = none
|
|
||||||
|
|
||||||
theme = "everforest-dark"
|
|
||||||
@@ -15,7 +15,7 @@ require("lazy").setup({
|
|||||||
{ "echasnovski/mini.pairs", version = '*' },
|
{ "echasnovski/mini.pairs", version = '*' },
|
||||||
{ "ibhagwan/fzf-lua", dependencies = { "nvim-tree/nvim-web-devicons" } },
|
{ "ibhagwan/fzf-lua", dependencies = { "nvim-tree/nvim-web-devicons" } },
|
||||||
{ "saghen/blink.cmp", version = "v1.*", opts = {} },
|
{ "saghen/blink.cmp", version = "v1.*", opts = {} },
|
||||||
{ dir = "~/personal/Projects/Lua/Polydev/", dependencies = { "MunifTanjim/nui.nvim" }, opts = {} },
|
{ dir = "/home/andrew/personal/Projects/Lua/Polydev/", dependencies = { "MunifTanjim/nui.nvim" }, opts = {} },
|
||||||
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate",
|
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate",
|
||||||
config = function()
|
config = function()
|
||||||
require("nvim-treesitter.configs").setup({
|
require("nvim-treesitter.configs").setup({
|
||||||
@@ -42,11 +42,14 @@ vim.opt.completeopt = { "menuone", "noselect", "popup" }
|
|||||||
vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv")
|
vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv")
|
||||||
vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv")
|
vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv")
|
||||||
vim.keymap.set("n", "<leader>ff", "ggVG=")
|
vim.keymap.set("n", "<leader>ff", "ggVG=")
|
||||||
|
vim.keymap.set("n", "<C-u>", "<C-u>zz")
|
||||||
|
vim.keymap.set("n", "<C-d>", "<C-d>zz")
|
||||||
vim.keymap.set('n', '<leader><leader>', ":FzfLua files<CR>")
|
vim.keymap.set('n', '<leader><leader>', ":FzfLua files<CR>")
|
||||||
vim.keymap.set('n', '<leader>gh', ":FzfLua helptags<CR>")
|
vim.keymap.set('n', '<leader>gh', ":FzfLua helptags<CR>")
|
||||||
vim.keymap.set('n', '<leader>gg', ":FzfLua live_grep<CR>")
|
vim.keymap.set('n', '<leader>gg', ":FzfLua live_grep<CR>")
|
||||||
vim.keymap.set('n', '<leader>xx', ":FzfLua diagnostics_workspace<CR>")
|
vim.keymap.set('n', '<leader>xx', ":FzfLua diagnostics_workspace<CR>")
|
||||||
vim.keymap.set('n', '<leader>po', ":PolydevOpen<CR>")
|
vim.keymap.set('n', '<leader>po', ":PolydevOpen<CR>")
|
||||||
|
vim.keymap.set('n', '<leader>gd', vim.lsp.buf.definition)
|
||||||
vim.lsp.enable({ "lua_ls", "clangd" })
|
vim.lsp.enable({ "lua_ls", "clangd" })
|
||||||
|
|
||||||
require('mini.pairs').setup()
|
require('mini.pairs').setup()
|
||||||
|
|||||||
@@ -9,9 +9,6 @@ $cmd_duration\
|
|||||||
$line_break\
|
$line_break\
|
||||||
$character"""
|
$character"""
|
||||||
|
|
||||||
# add_newline = false
|
|
||||||
# palette = "everforest"
|
|
||||||
|
|
||||||
[directory]
|
[directory]
|
||||||
style = "blue"
|
style = "blue"
|
||||||
|
|
||||||
@@ -42,29 +39,3 @@ style = "bright-black"
|
|||||||
[cmd_duration]
|
[cmd_duration]
|
||||||
format = "[$duration]($style) "
|
format = "[$duration]($style) "
|
||||||
style = "yellow"
|
style = "yellow"
|
||||||
|
|
||||||
# [directory]
|
|
||||||
# style = "fg:orange"
|
|
||||||
# read_only_style = "fg:orange"
|
|
||||||
# truncation_length = 3
|
|
||||||
# truncation_symbol = "…/"
|
|
||||||
# format = "[ $path]($style)[$read_only]($read_only_style) "
|
|
||||||
#
|
|
||||||
# [git_branch]
|
|
||||||
# style = "fg:green"
|
|
||||||
# symbol = " "
|
|
||||||
# format = "[$symbol$branch(:$remote_branch)]($style) "
|
|
||||||
#
|
|
||||||
# [character]
|
|
||||||
# success_symbol = '[>](bold green)'
|
|
||||||
# error_symbol = '[?](bold red)'
|
|
||||||
#
|
|
||||||
# [palettes.everforest]
|
|
||||||
# fg = "#d3c6aa"
|
|
||||||
# red = "#e67e80"
|
|
||||||
# orange = "#e69875"
|
|
||||||
# yellow = "#dbbc7f"
|
|
||||||
# green = "#a7c080"
|
|
||||||
# aqua = "#83c092"
|
|
||||||
# blue = "#7fbbb3"
|
|
||||||
# purple = "#d699b6"
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 812 KiB |
+13
-2
@@ -1,6 +1,9 @@
|
|||||||
for_window [app_id="com.mitchellh.ghostty"] move container to workspace 1
|
for_window [app_id="com.mitchellh.ghostty"] move container to workspace 1
|
||||||
for_window [app_id="librewolf"] move container to workspace 2
|
for_window [app_id="librewolf"] move container to workspace 2
|
||||||
for_window [class="steam"] move container to workspace 3
|
for_window [class="steam"] move container to workspace 3
|
||||||
|
for_window [app_id="org.prismlauncher.PrismLauncher"] move container to workspace 3
|
||||||
|
for_window [class="Gimp"] move container to workspace 4
|
||||||
|
for_window [instance="SFML_game_engine"] floating enable
|
||||||
|
|
||||||
font pango: Maple Mono SemiBold 10
|
font pango: Maple Mono SemiBold 10
|
||||||
default_border pixel 0
|
default_border pixel 0
|
||||||
@@ -8,7 +11,7 @@ gaps inner 5
|
|||||||
gaps outer 2
|
gaps outer 2
|
||||||
|
|
||||||
exec_always gentoo-pipewire-launcher
|
exec_always gentoo-pipewire-launcher
|
||||||
exec_always sh -c 'if ! tmux has-session -t main 2>/dev/null; then tmux new-session -d -s main; fi'
|
exec_always sh -c 'if ! tmux has-session -t Home 2>/dev/null; then tmux new-session -d -s Home; fi'
|
||||||
exec_always sh -c 'pkill swaybg && img="$(find /home/andrew/.config/sway/bgs -type f | shuf -n1)" && swaybg -m fill -i "$img" &'
|
exec_always sh -c 'pkill swaybg && img="$(find /home/andrew/.config/sway/bgs -type f | shuf -n1)" && swaybg -m fill -i "$img" &'
|
||||||
|
|
||||||
output HDMI-A-1 resolution 1920x1080@144Hz position 0,0
|
output HDMI-A-1 resolution 1920x1080@144Hz position 0,0
|
||||||
@@ -20,18 +23,26 @@ input "1133:50504:Logitech_USB_Receiver_Mouse" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
set $mod Mod1
|
set $mod Mod1
|
||||||
|
floating_modifier $mod normal
|
||||||
bindsym $mod+Return exec ghostty -e tmux a
|
bindsym $mod+Return exec ghostty -e tmux a
|
||||||
bindsym $mod+Shift+s exec steam
|
bindsym $mod+Shift+s exec steam
|
||||||
bindsym $mod+f exec librewolf
|
bindsym $mod+f exec librewolf
|
||||||
|
bindsym $mod+g exec gimp
|
||||||
|
bindsym $mod+p exec prismlauncher
|
||||||
bindsym $mod+q kill
|
bindsym $mod+q kill
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
||||||
bindsym $mod+1 workspace number 1
|
bindsym $mod+1 workspace number 1
|
||||||
bindsym $mod+2 workspace number 2
|
bindsym $mod+2 workspace number 2
|
||||||
bindsym $mod+3 workspace number 3
|
bindsym $mod+3 workspace number 3
|
||||||
|
bindsym $mod+4 workspace number 4
|
||||||
|
bindsym $mod+Shift+1 move container to workspace number 1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace number 2
|
||||||
|
bindsym $mod+Shift+3 move container to workspace number 3
|
||||||
|
bindsym $mod+Shift+4 move container to workspace number 4
|
||||||
|
|
||||||
bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
|
bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
|
||||||
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
|
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
|
||||||
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
|
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
|
||||||
bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
Reference in new issue
Block a user