stuff
This commit is contained in:
parent
96f1792c09
commit
4fc1e20fdd
30 changed files with 1045 additions and 39 deletions
|
|
@ -14,6 +14,10 @@ if status is-interactive
|
|||
fish_clipboard_paste
|
||||
end
|
||||
|
||||
function open --wraps 'open'
|
||||
xdg-open $argv >/dev/null 2>/dev/null & disown
|
||||
end
|
||||
|
||||
function alacritty --description 'Create new Alacritty window'
|
||||
command alacritty msg create-window $argv
|
||||
end
|
||||
|
|
@ -27,44 +31,44 @@ if status is-interactive
|
|||
end
|
||||
|
||||
# Colorscheme
|
||||
set -U fish_color_normal normal
|
||||
set -U fish_color_command brgreen --bold
|
||||
set -U fish_color_keyword brred
|
||||
set -U fish_color_quote green --italics
|
||||
set -U fish_color_redirection yellow
|
||||
set -U fish_color_end cyan
|
||||
set -U fish_color_error red --underline=curly
|
||||
set -U fish_color_param normal
|
||||
set -U fish_color_comment brblack
|
||||
set -U fish_color_selection normal --bold --background brblack
|
||||
set -U fish_color_search_match
|
||||
set -U fish_color_history_current
|
||||
set -U fish_color_operator yellow
|
||||
set -U fish_color_escape white --bold
|
||||
set -U fish_color_cwd green
|
||||
set -U fish_color_cwd_root red
|
||||
set -U fish_color_option brblue
|
||||
set -U fish_color_valid_path --underline
|
||||
set -U fish_color_autosuggestion white
|
||||
set -U fish_color_user brgreen
|
||||
set -U fish_color_host normal
|
||||
set -U fish_color_host_remote yellow
|
||||
set -U fish_color_history_current --bold
|
||||
set -U fish_color_status red
|
||||
set -U fish_color_cancel white --bold
|
||||
set -U fish_pager_color_prefix normal --bold --underline
|
||||
set -U fish_pager_color_progress normal --reverse
|
||||
set -U fish_pager_color_completion normal
|
||||
set -U fish_pager_color_description yellow --italics
|
||||
set -U fish_pager_color_selected_background --background brblue
|
||||
set -U fish_pager_color_secondary_background
|
||||
set -U fish_pager_color_selected_completion black --bold
|
||||
set -U fish_pager_color_background
|
||||
set -U fish_pager_color_selected_description bryellow --bold --italics
|
||||
set -U fish_pager_color_secondary_prefix
|
||||
set -U fish_pager_color_secondary_description
|
||||
set -U fish_pager_color_selected_prefix black --bold --underline
|
||||
set -U fish_pager_color_secondary_completion
|
||||
set fish_color_normal normal
|
||||
set fish_color_command brgreen --bold
|
||||
set fish_color_keyword brred
|
||||
set fish_color_quote green --italics
|
||||
set fish_color_redirection yellow
|
||||
set fish_color_end cyan
|
||||
set fish_color_error red --underline=curly
|
||||
set fish_color_param normal
|
||||
set fish_color_comment brblack
|
||||
set fish_color_selection normal --bold --background brblack
|
||||
set fish_color_search_match
|
||||
set fish_color_history_current
|
||||
set fish_color_operator yellow
|
||||
set fish_color_escape white --bold
|
||||
set fish_color_cwd green
|
||||
set fish_color_cwd_root red
|
||||
set fish_color_option brblue
|
||||
set fish_color_valid_path --underline
|
||||
set fish_color_autosuggestion white
|
||||
set fish_color_user brgreen
|
||||
set fish_color_host normal
|
||||
set fish_color_host_remote yellow
|
||||
set fish_color_history_current --bold
|
||||
set fish_color_status red
|
||||
set fish_color_cancel white --bold
|
||||
set fish_pager_color_prefix normal --bold --underline
|
||||
set fish_pager_color_progress normal --reverse
|
||||
set fish_pager_color_completion normal
|
||||
set fish_pager_color_description yellow --italics
|
||||
set fish_pager_color_selected_background --background brblue
|
||||
set fish_pager_color_secondary_background
|
||||
set fish_pager_color_selected_completion black --bold
|
||||
set fish_pager_color_background
|
||||
set fish_pager_color_selected_description bryellow --bold --italics
|
||||
set fish_pager_color_secondary_prefix
|
||||
set fish_pager_color_secondary_description
|
||||
set fish_pager_color_selected_prefix black --bold --underline
|
||||
set fish_pager_color_secondary_completion
|
||||
end
|
||||
|
||||
if test $XDG_CURRENT_DESKTOP = niri
|
||||
|
|
|
|||
16
.config/nvim/ftplugin/tex.lua
Normal file
16
.config/nvim/ftplugin/tex.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
vim.treesitter.start()
|
||||
|
||||
vim.keymap.set('n', '<leader>tb', ':LspTexlabBuild<CR>',
|
||||
{ desc = 'Build using LuaLaTeX'})
|
||||
vim.keymap.set('n', '<leader>ts', ':LspTexlabForward<CR>',
|
||||
{ desc = 'Forward search'})
|
||||
vim.keymap.set('n', '<leader>tc', ':LspTexlabCancelBuild<CR>',
|
||||
{ desc = 'Cancel build'})
|
||||
vim.keymap.set('n', '<leader>tdr', ':LspTexlabCleanArtifacts<CR>',
|
||||
{ desc = 'Clean artifacts'})
|
||||
vim.keymap.set('n', '<leader>tdx', ':LspTexlabCleanAuxiliary<CR>',
|
||||
{ desc = 'Clean auxiliary'})
|
||||
vim.keymap.set('n', '<leader>tes', ':LspTexlabFindEnvironments<CR>',
|
||||
{ desc = 'Find environments'})
|
||||
vim.keymap.set('n', '<leader>tec', ':LspTexlabChangeEnvironment<CR>',
|
||||
{ desc = 'Change environment'})
|
||||
|
|
@ -4,5 +4,5 @@ After=graphical-session.target
|
|||
Requisite=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/swayidle -w timeout 601 'niri msg action power-off-monitors' timeout 600 'swaylock -f' before-sleep 'swaylock -f'
|
||||
ExecStart=/usr/bin/swayidle -w timeout 600 'niri msg action power-off-monitors' timeout 300 'swaylock -f' before-sleep 'swaylock -f'
|
||||
Restart=on-failure
|
||||
|
|
|
|||
|
|
@ -4,6 +4,17 @@
|
|||
"modules-center": ["niri/window"],
|
||||
"modules-right": ["bluetooth", "network", "wireplumber#source", "wireplumber#sink", "battery", "clock"],
|
||||
|
||||
|
||||
"inhibitor": {
|
||||
"what": "handle-lid-switch",
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"niri/window": {
|
||||
"max-length": 100
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue