diff --git a/.config/foot/foot.ini b/.config/foot/foot.ini index 610d318..e1ef95d 100644 --- a/.config/foot/foot.ini +++ b/.config/foot/foot.ini @@ -80,7 +80,7 @@ color = 2e3440 d8dee9 # long-press-delay=400 [colors] -alpha=0.9 +alpha=0.95 # background=242424 # foreground=ffffff # flash=7f7f00 @@ -188,6 +188,25 @@ bright6 = 1c8ca8 regular7 = CCCCCA bright7 = CCCCCA +##### https://codeberg.org/dnkl/foot/src/branch/master/themes/monokai-pro +background=2D2A2E +foreground=FCFCFA +regular0=403E41 +regular1=FF6188 +regular2=A9DC76 +regular3=FFD866 +regular4=FC9867 +regular5=AB9DF2 +regular6=78DCE8 +regular7=FCFCFA +bright0=727072 +bright1=FF6188 +bright2=A9DC76 +bright3=FFD866 +bright4=FC9867 +bright5=AB9DF2 +bright6=78DCE8 +bright7=FCFCFA # mis-ordered monokai pro light #regular0 = 403E41 diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 9ccbb25..14f2900 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -25,6 +25,7 @@ Plug('neoclide/coc.nvim', {['branch'] = 'release'}) -- style Plug 'loctvl842/monokai-pro.nvim' +Plug 'eliseshaffer/darklight.nvim' vim.call('plug#end') @@ -73,8 +74,29 @@ vim.keymap.set('n', 'fb', fzflua.buffers, { desc = 'fzf-lua buffers' }) -- style vim.g.t_Co = 256 -vim.cmd.colorscheme('monokai-pro-light') +require("monokai-pro").setup({ + transparent_background = true, + filter = "pro" +}) +vim.cmd.colorscheme('monokai-pro') vim.g.lightline = { colorscheme = 'monokaipro', mode_map = { n = 'N', i = 'I', R = 'R', v = 'V', V = 'VL', c = 'C', s = 'S', S = 'SL', t = 'T' }, active = { left = { { 'mode', 'paste' }, { 'readonly', 'relativepath', 'modified' } } } } +require('darklight').setup({ + mode = 'custom', + light_mode_callback = function() + require("monokai-pro").setup({ + transparent_background = false, + filter = "light", -- classic | octagon | pro | machine | ristretto | spectrum + }) + end, + dark_mode_callback = function() + require("monokai-pro").setup({ + transparent_background = true, + filter = "pro", -- classic | octagon | pro | machine | ristretto | spectrum + }) + end +}) +vim.cmd([[nmap dl :DarkLightSwitch]]) + -- select last paste in visual mode vim.cmd([[nnoremap gb '`[' . strpart(getregtype(), 0, 1) . '`]']]) @@ -99,7 +121,5 @@ autocmd Filetype python setlocal ts=4 sts=4 sw=4 expandtab - - - - +-- TeX +vim.cmd([[nmap bb :!./build.sh]]) diff --git a/etc/portage/make.conf b/etc/portage/make.conf new file mode 100644 index 0000000..1054892 --- /dev/null +++ b/etc/portage/make.conf @@ -0,0 +1,42 @@ +# Please consult /usr/share/portage/config/make.conf.example for a more +# detailed example. + +# These warnings indicate likely runtime problems with LTO, so promote them +# to errors. If a package fails to build with these, LTO should not be used there. +WARNING_FLAGS="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" + +COMMON_FLAGS="-O3 -pipe -march=native -flto ${WARNING_FLAGS}" +CFLAGS="${COMMON_FLAGS}" +KCFLAGS="-march=native" +CXXFLAGS="${COMMON_FLAGS}" +FCFLAGS="${COMMON_FLAGS}" +FFLAGS="${COMMON_FLAGS}" +LDFLAGS="${LDFLAGS} ${WARNING_FLAGS}" + +RUSTFLAGS="${RUSTFLAGS} -C target-cpu=native" + +#FEATURES="getbinpkg binpkg-request-signature" +MAKEOPTS="-j16 -l16" +EMERGE_DEFAULT_OPTS="-j16 -l16" + +USE="lto avif btrfs bluetooth branding kde latex multilib wayland webp dist-kernel" + +ACCEPT_LICENSE="${ACCEPT_LICENSE} @FREE linux-fw-redistributable google-chrome" + +GRUB_PLATFORMS="efi-64" + +# NOTE: This stage was built with the bindist USE flag enabled + +# This sets the language of build output to English. +# Please keep this setting intact when reporting bugs. +LC_MESSAGES=C.utf8 + +GENTOO_MIRRORS="https://gentoo.mirrors.ovh.net/gentoo-distfiles/ \ + https://ftp.agdsn.de/gentoo \ + https://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ \ + https://ftp.uni-hannover.de/gentoo/ \ + https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ \ + https://ftp.halifax.rwth-aachen.de/gentoo/ \ + https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ \ + https://ftp.uni-stuttgart.de/gentoo-distfiles/ \ + https://ftp.lysator.liu.se/gentoo/"