Feat: Update
This commit is contained in:
parent
a1ad7fffc0
commit
d1288eaa7d
@ -55,6 +55,8 @@
|
|||||||
|
|
||||||
(setq display-line-numbers-type 'relative)
|
(setq display-line-numbers-type 'relative)
|
||||||
|
|
||||||
|
(setq ispell-alternate-dictionary "/home/minhradz/.english.dict.txt")
|
||||||
|
|
||||||
(add-hook 'spell-fu-mode-hook
|
(add-hook 'spell-fu-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(spell-fu-dictionary-add (spell-fu-get-ispell-dictionary "en"))
|
(spell-fu-dictionary-add (spell-fu-get-ispell-dictionary "en"))
|
||||||
@ -175,12 +177,13 @@
|
|||||||
:desc "Search org-roam with consult-ripgrep"
|
:desc "Search org-roam with consult-ripgrep"
|
||||||
"n r F" #'org-roam-rg-search)
|
"n r F" #'org-roam-rg-search)
|
||||||
|
|
||||||
(setq org-roam-node-display-template
|
;; (setq org-roam-node-display-template
|
||||||
#("${doom-hierarchy:20} ${doom-type:12} ${doom-tags:42}" 20 35
|
;; #("${doom-hierarchy:20} ${doom-type:12} ${doom-tags:42}" 20 35
|
||||||
(face font-lock-keyword-face)
|
;; (face font-lock-keyword-face)
|
||||||
36 51
|
;; 36 51
|
||||||
(face org-tag))
|
;; (face org-tag))
|
||||||
)
|
;; )
|
||||||
|
(set-file-template! "/roam/.+\\.org$" 'org-mode :ignore t)
|
||||||
|
|
||||||
(setq avy-all-windows 't)
|
(setq avy-all-windows 't)
|
||||||
|
|
||||||
@ -274,6 +277,9 @@
|
|||||||
;; Clojure stuffs
|
;; Clojure stuffs
|
||||||
(setq clojure-indent-style :always-align)
|
(setq clojure-indent-style :always-align)
|
||||||
|
|
||||||
|
(eval-after-load 'cider
|
||||||
|
#'emidje-setup)
|
||||||
|
|
||||||
(defun delete-file-and-buffer ()
|
(defun delete-file-and-buffer ()
|
||||||
"Kill the current buffer and deletes the file it is visiting."
|
"Kill the current buffer and deletes the file it is visiting."
|
||||||
(interactive)
|
(interactive)
|
||||||
@ -286,19 +292,49 @@
|
|||||||
(kill-buffer)))
|
(kill-buffer)))
|
||||||
(message "Not a file visiting buffer!"))))
|
(message "Not a file visiting buffer!"))))
|
||||||
|
|
||||||
;; email stuffs
|
;; ;; email stuffs
|
||||||
;; Each path is relative to the path of the maildir you passed to mu
|
;; (add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu4e")
|
||||||
(set-email-account! "minhtrannhat.com"
|
|
||||||
'((mu4e-sent-folder . "/minhtrannhat@minhtrannhat.com/Sent")
|
|
||||||
(mu4e-drafts-folder . "/minhtrannhat@minhtrannhat.com/Drafts")
|
|
||||||
(mu4e-trash-folder . "/minhtrannhat@minhtrannhat.com/Trash")
|
|
||||||
(mu4e-refile-folder . "/minhtrannhat@minhtrannhat.com/All Mail")
|
|
||||||
(smtpmail-smtp-user . "minhtrannhat@minhtrannhat.com")
|
|
||||||
(mu4e-compose-signature . "Minh Tran"))
|
|
||||||
t)
|
|
||||||
|
|
||||||
(setq sendmail-program "/usr/bin/msmtp"
|
;; ;; Each path is relative to the path of the maildir you passed to mu
|
||||||
send-mail-function #'smtpmail-send-it
|
;; (set-email-account! "minhtrannhat.com"
|
||||||
message-sendmail-f-is-evil t
|
;; '((mu4e-sent-folder . "/minhtrannhat@minhtrannhat.com/Sent")
|
||||||
message-sendmail-extra-arguments '("--read-envelope-from")
|
;; (mu4e-drafts-folder . "/minhtrannhat@minhtrannhat.com/Drafts")
|
||||||
message-send-mail-function #'message-send-mail-with-sendmail)
|
;; (mu4e-trash-folder . "/minhtrannhat@minhtrannhat.com/Trash")
|
||||||
|
;; (mu4e-refile-folder . "/minhtrannhat@minhtrannhat.com/All Mail")
|
||||||
|
;; (smtpmail-smtp-user . "minhtrannhat@minhtrannhat.com")
|
||||||
|
;; (mu4e-compose-signature . "Minh Tran"))
|
||||||
|
;; t)
|
||||||
|
|
||||||
|
;; (setq sendmail-program "/usr/bin/msmtp"
|
||||||
|
;; send-mail-function #'smtpmail-send-it
|
||||||
|
;; message-sendmail-f-is-evil t
|
||||||
|
;; message-sendmail-extra-arguments '("--read-envelope-from")
|
||||||
|
;; message-send-mail-function #'message-send-mail-with-sendmail)
|
||||||
|
|
||||||
|
(use-package org-recur
|
||||||
|
:hook ((org-mode . org-recur-mode)
|
||||||
|
(org-agenda-mode . org-recur-agenda-mode))
|
||||||
|
:demand t
|
||||||
|
:config
|
||||||
|
(define-key org-recur-mode-map (kbd "C-c d") 'org-recur-finish)
|
||||||
|
|
||||||
|
;; Rebind the 'd' key in org-agenda (default: `org-agenda-day-view').
|
||||||
|
(define-key org-recur-agenda-mode-map (kbd "d") 'org-recur-finish)
|
||||||
|
(define-key org-recur-agenda-mode-map (kbd "C-c d") 'org-recur-finish)
|
||||||
|
|
||||||
|
(setq org-recur-finish-done t
|
||||||
|
org-recur-finish-archive t))
|
||||||
|
|
||||||
|
;; Refresh org-agenda after rescheduling a task.
|
||||||
|
(defun org-agenda-refresh ()
|
||||||
|
"Refresh all `org-agenda' buffers."
|
||||||
|
(dolist (buffer (buffer-list))
|
||||||
|
(with-current-buffer buffer
|
||||||
|
(when (derived-mode-p 'org-agenda-mode)
|
||||||
|
(org-agenda-maybe-redo)))))
|
||||||
|
|
||||||
|
(defadvice org-schedule (after refresh-agenda activate)
|
||||||
|
"Refresh org-agenda."
|
||||||
|
(org-agenda-refresh))
|
||||||
|
|
||||||
|
(setq org-read-date-prefer-future 'time)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
'(git-gutter:update-interval 0.02)
|
'(git-gutter:update-interval 0.02)
|
||||||
'(smtpmail-smtp-server "mail.minhtrannhat.com")
|
'(smtpmail-smtp-server "mail.minhtrannhat.com")
|
||||||
'(smtpmail-smtp-service 587)
|
'(smtpmail-smtp-service 587)
|
||||||
'(warning-suppress-types '((org-element-cache))))
|
'(warning-suppress-types '(((yasnippet zombie)) (defvaralias) (org-element-cache))))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
@ -10,6 +10,12 @@
|
|||||||
;;
|
;;
|
||||||
;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its
|
;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its
|
||||||
;; directory (for easy access to its source code).
|
;; directory (for easy access to its source code).
|
||||||
|
|
||||||
|
;; Doom no longer native compile ahead of time so we have to hack around this smh
|
||||||
|
(setq native-comp-deferred-compilation nil)
|
||||||
|
(after! (doom-packages straight)
|
||||||
|
(setq straight--native-comp-available t))
|
||||||
|
|
||||||
(doom! :input
|
(doom! :input
|
||||||
;;chinese
|
;;chinese
|
||||||
;;japanese
|
;;japanese
|
||||||
@ -126,7 +132,7 @@
|
|||||||
;;idris ; a language you can depend on
|
;;idris ; a language you can depend on
|
||||||
(json +lsp) ; At least it ain't XML
|
(json +lsp) ; At least it ain't XML
|
||||||
(java +lsp) ; the poster child for carpal tunnel syndrome
|
(java +lsp) ; the poster child for carpal tunnel syndrome
|
||||||
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
|
(javascript +lsp +tree-sitter) ; all(hope(abandon(ye(who(enter(here))))))
|
||||||
(julia +lsp) ; a better, faster MATLAB
|
(julia +lsp) ; a better, faster MATLAB
|
||||||
;;kotlin ; a better, slicker Java(Script)
|
;;kotlin ; a better, slicker Java(Script)
|
||||||
latex ; writing papers in Emacs has never been so fun
|
latex ; writing papers in Emacs has never been so fun
|
||||||
@ -151,7 +157,7 @@
|
|||||||
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||||
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||||
scala ; java, but good
|
scala ; java, but good
|
||||||
(scheme +guile +mit +racket) ; a fully conniving family of lisps
|
;;(scheme +guile +mit +racket) ; a fully conniving family of lisps
|
||||||
(sh +fish) ; she sells {ba,z,fi}sh shells on the C xor
|
(sh +fish) ; she sells {ba,z,fi}sh shells on the C xor
|
||||||
;;sml
|
;;sml
|
||||||
;;solidity ; do you need a blockchain? No.
|
;;solidity ; do you need a blockchain? No.
|
||||||
@ -161,7 +167,7 @@
|
|||||||
yaml ; JSON, but readable
|
yaml ; JSON, but readable
|
||||||
zig ; C, but simpler
|
zig ; C, but simpler
|
||||||
:email
|
:email
|
||||||
(mu4e)
|
;; (mu4e)
|
||||||
;;notmuch
|
;;notmuch
|
||||||
;;(wanderlust +gmail)
|
;;(wanderlust +gmail)
|
||||||
:app
|
:app
|
||||||
|
@ -55,4 +55,7 @@
|
|||||||
(package! magit-delta)
|
(package! magit-delta)
|
||||||
(package! blamer :recipe (:host github :repo "artawower/blamer.el"))
|
(package! blamer :recipe (:host github :repo "artawower/blamer.el"))
|
||||||
(package! org-fragtog)
|
(package! org-fragtog)
|
||||||
|
;(package! org-contacts :recipe (:host nil :type git :repo "https://repo.or.cz/org-contacts.git"))
|
||||||
|
(package! org-recur)
|
||||||
|
(package! emidje)
|
||||||
(unpin! rustic)
|
(unpin! rustic)
|
||||||
|
@ -82,6 +82,9 @@ complete -c bun \
|
|||||||
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'e' -l 'external' -r -d 'Exclude module from transpilation (can use * wildcards). ex: -e react'
|
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'e' -l 'external' -r -d 'Exclude module from transpilation (can use * wildcards). ex: -e react'
|
||||||
complete -c bun \
|
complete -c bun \
|
||||||
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -l 'use' -r -d 'Use a framework (ex: next)'
|
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -l 'use' -r -d 'Use a framework (ex: next)'
|
||||||
|
complete -c bun \
|
||||||
|
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -l 'hot' -r -d 'Enable hot reloading in Bun\'s JavaScript runtime'
|
||||||
|
|
||||||
complete -c bun \
|
complete -c bun \
|
||||||
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __fish_use_subcommand" -a 'dev' -d 'Start dev server'
|
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __fish_use_subcommand" -a 'dev' -d 'Start dev server'
|
||||||
complete -c bun \
|
complete -c bun \
|
||||||
|
24
fish/.config/fish/completions/tmuxinator.fish
Normal file
24
fish/.config/fish/completions/tmuxinator.fish
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
function __fish_tmuxinator_using_command
|
||||||
|
set cmd (commandline -opc)
|
||||||
|
if [ (count $cmd) -gt 1 ]
|
||||||
|
if [ $argv[1] = $cmd[2] ]
|
||||||
|
return 0
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return 1
|
||||||
|
end
|
||||||
|
|
||||||
|
set __fish_tmuxinator_program_cmd (commandline -o)[1]
|
||||||
|
|
||||||
|
function __fish_tmuxinator_program
|
||||||
|
eval "$__fish_tmuxinator_program_cmd $argv"
|
||||||
|
end
|
||||||
|
|
||||||
|
complete -f -c $__fish_tmuxinator_program_cmd -a '(__fish_tmuxinator_program completions start)'
|
||||||
|
complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_use_subcommand' -x -a "(__fish_tmuxinator_program commands)"
|
||||||
|
complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_tmuxinator_using_command start' -a "(__fish_tmuxinator_program completions start)"
|
||||||
|
complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_tmuxinator_using_command open' -a "(__fish_tmuxinator_program completions open)"
|
||||||
|
complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_tmuxinator_using_command copy' -a "(__fish_tmuxinator_program completions copy)"
|
||||||
|
complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_tmuxinator_using_command delete' -a "(__fish_tmuxinator_program completions delete)"
|
||||||
|
|
||||||
|
abbr --add mux "tmuxinator"
|
@ -27,6 +27,8 @@ set -gx QT_AUTO_SCREEN_SCALE_FACTOR 1
|
|||||||
set -Ux GTK_IM_MODULE ibus
|
set -Ux GTK_IM_MODULE ibus
|
||||||
set -Ux QT_IM_MODULE ibus
|
set -Ux QT_IM_MODULE ibus
|
||||||
set -Ux XMODIFIERS @im=ibus
|
set -Ux XMODIFIERS @im=ibus
|
||||||
|
set -Ux PYTHON_KEYRING_BACKEND keyring.backends.null.Keyring
|
||||||
|
set -Ux SYSTEMD_TIMEDATED_NTP_SERVICES chronyd.service:systemd-timesyncd.service
|
||||||
|
|
||||||
set -gx EDITOR lvim
|
set -gx EDITOR lvim
|
||||||
set -gx NVIM_LISTEN_ADDRESS /tmp/nvimsocket
|
set -gx NVIM_LISTEN_ADDRESS /tmp/nvimsocket
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
# This file contains fish universal variable definitions.
|
# This file contains fish universal variable definitions.
|
||||||
# VERSION: 3.0
|
# VERSION: 3.0
|
||||||
SETUVAR --export GTK_IM_MODULE:ibus
|
SETUVAR --export GTK_IM_MODULE:ibus
|
||||||
|
SETUVAR --export PYTHON_KEYRING_BACKEND:keyring\x2ebackends\x2enull\x2eKeyring
|
||||||
SETUVAR --export QT_IM_MODULE:ibus
|
SETUVAR --export QT_IM_MODULE:ibus
|
||||||
SETUVAR --export SSH_AGENT_PID:1161
|
SETUVAR --export SSH_AGENT_PID:1262
|
||||||
SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dXXXXXXC1g8rp/agent\x2e1160
|
SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dXXXXXX5aofTC/agent\x2e1261
|
||||||
|
SETUVAR --export SYSTEMD_TIMEDATED_NTP_SERVICES:chronyd\x2eservice\x3asystemd\x2dtimesyncd\x2eservice
|
||||||
SETUVAR --export XMODIFIERS:\x40im\x3dibus
|
SETUVAR --export XMODIFIERS:\x40im\x3dibus
|
||||||
SETUVAR __fish_initialized:3400
|
SETUVAR __fish_initialized:3400
|
||||||
|
SETUVAR _fish_abbr_mux:tmuxinator
|
||||||
SETUVAR fish_color_autosuggestion:4c566a
|
SETUVAR fish_color_autosuggestion:4c566a
|
||||||
SETUVAR fish_color_cancel:\x2d\x2dreverse
|
SETUVAR fish_color_cancel:\x2d\x2dreverse
|
||||||
SETUVAR fish_color_command:81a1c1
|
SETUVAR fish_color_command:81a1c1
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
[pull]
|
[pull]
|
||||||
rebase = false
|
rebase = true
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
email = minhtrannhat@minhtrannhat.com
|
email = minh@minhtrannhat.com
|
||||||
name = minhtrannhat
|
name = minhtrannhat
|
||||||
signingkey = 894C6A5801E01CA9
|
signingkey = E13CFA85C53F8062
|
||||||
|
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
|
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = master
|
defaultBranch = master
|
||||||
|
|
||||||
[gpg]
|
[gpg]
|
||||||
program = /usr/bin/gpg2
|
program = /usr/bin/gpg
|
||||||
|
|
||||||
[pager]
|
[pager]
|
||||||
diff = delta
|
diff = delta
|
||||||
blame = delta
|
blame = delta
|
||||||
|
@ -4,12 +4,12 @@ lvim.lint_on_save = true
|
|||||||
lvim.shell = "/bin/fish"
|
lvim.shell = "/bin/fish"
|
||||||
lvim.leader = "space"
|
lvim.leader = "space"
|
||||||
vim.opt.relativenumber = true
|
vim.opt.relativenumber = true
|
||||||
|
vim.opt.wrap = true
|
||||||
|
|
||||||
lvim.builtin.alpha.active = true
|
lvim.builtin.alpha.active = true
|
||||||
lvim.builtin.terminal.active = true
|
lvim.builtin.terminal.active = true
|
||||||
lvim.builtin.autopairs.active = true
|
lvim.builtin.autopairs.active = true
|
||||||
lvim.builtin.gitsigns.active = true
|
lvim.builtin.gitsigns.active = true
|
||||||
lvim.builtin.notify.active = false
|
|
||||||
lvim.builtin.dap.active = true
|
lvim.builtin.dap.active = true
|
||||||
lvim.builtin.treesitter.rainbow.enable = true
|
lvim.builtin.treesitter.rainbow.enable = true
|
||||||
|
|
||||||
@ -76,7 +76,6 @@ lvim.plugins = {
|
|||||||
require("spellsitter").setup()
|
require("spellsitter").setup()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{ "ggandor/lightspeed.nvim", requires = { "tpope/vim-repeat" }, event = "InsertEnter" },
|
|
||||||
{ "ellisonleao/glow.nvim" },
|
{ "ellisonleao/glow.nvim" },
|
||||||
{ "andweeb/presence.nvim" },
|
{ "andweeb/presence.nvim" },
|
||||||
{
|
{
|
||||||
@ -115,8 +114,34 @@ lvim.plugins = {
|
|||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
"haya14busa/is.vim",
|
||||||
|
{
|
||||||
|
"max397574/better-escape.nvim",
|
||||||
|
config = function()
|
||||||
|
require("better_escape").setup()
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"phaazon/hop.nvim",
|
||||||
|
branch = "v2", -- optional but strongly recommended
|
||||||
|
config = function()
|
||||||
|
-- you can configure Hop the way you like here; see :h hop-config
|
||||||
|
require("hop").setup(
|
||||||
|
{ keys = "etovxqpdygfblzhckisuran" },
|
||||||
|
vim.api.nvim_set_keymap("n", "t", ":HopChar2<cr>", { silent = true }),
|
||||||
|
vim.api.nvim_set_keymap("n", "T", ":HopPattern<cr>", { silent = true })
|
||||||
|
)
|
||||||
|
end,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require("better_escape").setup({
|
||||||
|
mapping = { "jk", "kj" }, -- a table with mappings to use
|
||||||
|
timeout = vim.o.timeoutlen, -- the time in which the keys must be hit in ms. Use option timeoutlen by default
|
||||||
|
clear_empty_lines = false, -- clear line after escaping if there is only whitespace
|
||||||
|
keys = "<Esc>", -- keys used for escaping, if it is a function will use the result everytime
|
||||||
|
})
|
||||||
|
|
||||||
-- The setup config table shows all available config options with their default values:
|
-- The setup config table shows all available config options with their default values:
|
||||||
require("presence"):setup({
|
require("presence"):setup({
|
||||||
-- General options
|
-- General options
|
||||||
@ -174,6 +199,3 @@ local opts = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
require("lvim.lsp.manager").setup("clangd", opts)
|
require("lvim.lsp.manager").setup("clangd", opts)
|
||||||
|
|
||||||
-- vim sandwhich with vim surround keybindings
|
|
||||||
vim.cmd("runtime macros/sandwich/keymap/surround.vim")
|
|
||||||
|
@ -79,9 +79,11 @@ for_window [title="Firefox — Sharing Indicator"] nofocus
|
|||||||
for_window [app_id="mpv"] inhibit_idle visible; border none; max_render_time off
|
for_window [app_id="mpv"] inhibit_idle visible; border none; max_render_time off
|
||||||
for_window [app_id="soffice.bin"] inhibit_idle visible; border none; max_render_time off
|
for_window [app_id="soffice.bin"] inhibit_idle visible; border none; max_render_time off
|
||||||
for_window [app_id="firefox"] inhibit_idle fullscreen; max_render_time off
|
for_window [app_id="firefox"] inhibit_idle fullscreen; max_render_time off
|
||||||
|
for_window [app_id="librewolf"] inhibit_idle fullscreen; max_render_time off
|
||||||
for_window [app_id="jellyfinmediaplayer"] inhibit_idle fullscreen; max_render_time off
|
for_window [app_id="jellyfinmediaplayer"] inhibit_idle fullscreen; max_render_time off
|
||||||
for_window [app_id="zathura"] inhibit_idle visible; max_render_time off
|
for_window [app_id="zathura"] inhibit_idle visible; max_render_time off
|
||||||
for_window [app_id="kitty"] inhibit_idle visible; max_render_time off
|
for_window [app_id="kitty"] inhibit_idle visible; max_render_time off
|
||||||
|
for_window [app_id="emacs"] inhibit_idle visible; max_render_time off
|
||||||
|
|
||||||
### Input configuration
|
### Input configuration
|
||||||
#
|
#
|
||||||
@ -121,7 +123,7 @@ for_window [app_id="kitty"] inhibit_idle visible; max_render_time off
|
|||||||
# clipboard manager
|
# clipboard manager
|
||||||
bindsym $mod+p exec clipman pick -t wofi
|
bindsym $mod+p exec clipman pick -t wofi
|
||||||
|
|
||||||
bindsym $mod+t exec firefox
|
bindsym $mod+t exec librewolf
|
||||||
#
|
#
|
||||||
# Moving around:
|
# Moving around:
|
||||||
#
|
#
|
||||||
|
@ -1,15 +1,24 @@
|
|||||||
// Gruvbox Material theme
|
// Nord theme
|
||||||
|
$nord0: #2e3440;
|
||||||
|
$nord1: #3b4252;
|
||||||
|
$nord2: #434c5e;
|
||||||
|
$nord3: #4c566a;
|
||||||
|
$nord4: #d8dee9;
|
||||||
|
$nord5: #e5e9f0;
|
||||||
|
$nord6: #eceff4;
|
||||||
|
$nord8: #88c0d0;
|
||||||
|
$nord9: #81a1c1;
|
||||||
|
|
||||||
$red: #ea6962;
|
$blue: #5e81ac;
|
||||||
$orange: #e78a4e;
|
$red: #bf616a;
|
||||||
$yellow: #d8a657;
|
$cyan: #8fbcbb;
|
||||||
$green: #a9b665;
|
$orange: #d08770;
|
||||||
$cyan: #89b482;
|
$yellow: #ebcb8b;
|
||||||
$blue: #7daea3;
|
$green: #a3be8c;
|
||||||
$magenta: #d3869b;
|
$magenta: #b48ead;
|
||||||
|
|
||||||
$bg: #464646;
|
$bg: $nord1;
|
||||||
$fg: $orange;
|
$fg: $magenta;
|
||||||
|
|
||||||
$fg-opposite: scale-color($fg, $lightness: -25%, $saturation: -15%);
|
$fg-opposite: scale-color($fg, $lightness: -25%, $saturation: -15%);
|
||||||
|
|
||||||
|
@ -50,7 +50,8 @@
|
|||||||
"states": {
|
"states": {
|
||||||
"warning": 70,
|
"warning": 70,
|
||||||
"critical": 90
|
"critical": 90
|
||||||
}
|
},
|
||||||
|
"on-click": ""
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
@ -59,6 +60,7 @@
|
|||||||
"warning": 70,
|
"warning": 70,
|
||||||
"critical": 90
|
"critical": 90
|
||||||
},
|
},
|
||||||
|
"on-click": ""
|
||||||
},
|
},
|
||||||
|
|
||||||
"battery": {
|
"battery": {
|
||||||
@ -74,7 +76,8 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
""
|
""
|
||||||
]
|
],
|
||||||
|
"on-click": ""
|
||||||
},
|
},
|
||||||
|
|
||||||
"tray": {
|
"tray": {
|
||||||
@ -85,11 +88,13 @@
|
|||||||
"clock": {
|
"clock": {
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"format": "{:%I:%M %p}",
|
"format": "{:%I:%M %p}",
|
||||||
|
"on-click": ""
|
||||||
},
|
},
|
||||||
|
|
||||||
"clock#date": {
|
"clock#date": {
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"format": "{:%B %d, %A}",
|
"format": "{:%B %d, %A}",
|
||||||
|
"on-click": ""
|
||||||
},
|
},
|
||||||
|
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
#pulseaudio, #clock, #tags, #language, #memory, #network, #sndio,
|
#pulseaudio, #clock, #tags, #language, #memory, #network, #sndio,
|
||||||
#mode, #window, #workspaces, #temperature, #taskbar, #workspaces,
|
#mode, #window, #workspaces, #temperature, #taskbar, #workspaces,
|
||||||
#custom-treefetch-downloads, #custom-update-count {
|
#custom-treefetch-downloads, #custom-update-count {
|
||||||
box-shadow: 4px 4px 0 #2e2e2e;
|
box-shadow: 4px 4px 0 #292c34;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
margin-right: 7px;
|
margin-right: 7px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
background: #464646;
|
background: #3b4252;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -18,7 +18,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
color: #b48ead;
|
color: #ebcb8b;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 1px 1px 0px 1px;
|
padding: 1px 1px 0px 1px;
|
||||||
}
|
}
|
||||||
@ -57,17 +57,17 @@ window#waybar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#mpd {
|
#mpd {
|
||||||
color: #464646;
|
color: #3b4252;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-mpd-song-scroll {
|
#custom-mpd-song-scroll {
|
||||||
color: #bf6429;
|
color: #8d6486;
|
||||||
margin-right: 50px;
|
margin-right: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tags button {
|
#tags button {
|
||||||
color: #787878;
|
color: #65718c;
|
||||||
font-family: "Source Han Sans JP Heavy";
|
font-family: "Source Han Sans JP Heavy";
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
padding: 0 3px;
|
padding: 0 3px;
|
||||||
@ -84,20 +84,20 @@ window#waybar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#tags button:hover {
|
#tags button:hover {
|
||||||
color: #464646;
|
color: #3b4252;
|
||||||
background: #787878;
|
background: #65718c;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
transition: 0;
|
transition: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tags button.focused {
|
#tags button.focused {
|
||||||
color: #464646;
|
color: #3b4252;
|
||||||
background: #e78a4e;
|
background: #b48ead;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tags button.urgent {
|
#tags button.urgent {
|
||||||
color: #ea6962;
|
color: #bf616a;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes fadein {
|
@keyframes fadein {
|
||||||
@ -109,7 +109,7 @@ window#waybar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
tooltip {
|
tooltip {
|
||||||
background: #464646;
|
background: #3b4252;
|
||||||
border-radius: 7px;
|
border-radius: 7px;
|
||||||
font-family: "JetBrains Mono Nerd Font", monospace;
|
font-family: "JetBrains Mono Nerd Font", monospace;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
@ -117,7 +117,7 @@ tooltip {
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
animation-name: fadein;
|
animation-name: fadein;
|
||||||
animation-duration: 0.2s;
|
animation-duration: 0.2s;
|
||||||
border: 2px solid #787878;
|
border: 2px solid #65718c;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
color: #b48ead;
|
color: #b48ead;
|
||||||
}
|
}
|
||||||
@ -127,8 +127,8 @@ tooltip label {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#tray menu {
|
#tray menu {
|
||||||
background: #464646;
|
background: #3b4252;
|
||||||
color: #b48ead;
|
color: #b48ead;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
border: 2px solid #787878;
|
border: 2px solid #65718c;
|
||||||
}
|
}
|
||||||
|
@ -5,8 +5,12 @@ margin: 0px 5px 0px 5px;
|
|||||||
}
|
}
|
||||||
|
|
||||||
@keyframes fadeIn {
|
@keyframes fadeIn {
|
||||||
from {opacity: 0;}
|
from {
|
||||||
to {opacity: 1;}
|
opacity: 0;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#entry:selected {
|
#entry:selected {
|
||||||
@ -45,8 +49,8 @@ padding-top: 5px;
|
|||||||
#outer-box {
|
#outer-box {
|
||||||
margin: 15px;
|
margin: 15px;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
background-color: rgba(53,59,73,1.0);
|
background-color: rgba(53, 59, 73, 1);
|
||||||
box-shadow: 0px 0px 5px 0 #0F0F0F;
|
box-shadow: 0px 0px 5px 0 #0f0f0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
#scroll {
|
#scroll {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user