Compare commits
9 Commits
d1067cbb00
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
94fcdb812c | ||
|
84f9bf297f | ||
|
fa7041ff8b | ||
|
f68b89be0f | ||
|
1c449f436a | ||
|
b0933f7e42 | ||
|
bc1b20a0aa | ||
|
7ec07febf3 | ||
|
f395ed8f03 |
@@ -25,8 +25,8 @@ if [ -f $HOME/.Xmodmap ]; then
|
|||||||
/usr/bin/xmodmap $HOME/.Xmodmap 2>/dev/null &
|
/usr/bin/xmodmap $HOME/.Xmodmap 2>/dev/null &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
|
||||||
|
|
||||||
#https://superuser.com/questions/114895/improve-man-page-search/114903#114903
|
#https://superuser.com/questions/114895/improve-man-page-search/114903#114903
|
||||||
# saner defaults for LESS (and bat)
|
# saner defaults for LESS (and bat)
|
||||||
export LESS="-iMRj4a"
|
export LESS="-iMRj4a"
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
83
alacritty/.config/alacritty/alacritty.toml
Normal file
83
alacritty/.config/alacritty/alacritty.toml
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
[window]
|
||||||
|
[window.padding]
|
||||||
|
x = 15
|
||||||
|
y = 15
|
||||||
|
|
||||||
|
[font]
|
||||||
|
[font.normal]
|
||||||
|
family = "IosevkaTerm"
|
||||||
|
style = "Regular"
|
||||||
|
|
||||||
|
[shell]
|
||||||
|
program = "tmux"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Return"
|
||||||
|
mods = "Control|Shift"
|
||||||
|
action = "SpawnNewInstance"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "V"
|
||||||
|
mods = "Control|Shift"
|
||||||
|
action = "Paste"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "C"
|
||||||
|
mods = "Control|Shift"
|
||||||
|
action = "Copy"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Insert"
|
||||||
|
mods = "Shift"
|
||||||
|
action = "PasteSelection"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Key0"
|
||||||
|
mods = "Control"
|
||||||
|
action = "ResetFontSize"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Equals"
|
||||||
|
mods = "Control"
|
||||||
|
action = "IncreaseFontSize"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Plus"
|
||||||
|
mods = "Control"
|
||||||
|
action = "IncreaseFontSize"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Minus"
|
||||||
|
mods = "Control"
|
||||||
|
action = "DecreaseFontSize"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Minus"
|
||||||
|
mods = "Control"
|
||||||
|
action = "DecreaseFontSize"
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
[colors.primary]
|
||||||
|
background = "0x1d1f21"
|
||||||
|
foreground = "0xc5c8c6"
|
||||||
|
[colors.cursor]
|
||||||
|
text = "0x1d1f21"
|
||||||
|
cursor = "0xc5c8c6"
|
||||||
|
[colors.normal]
|
||||||
|
black = "0x1d1f21"
|
||||||
|
red = "0xcc6666"
|
||||||
|
green = "0xb5bd68"
|
||||||
|
yellow = "0xf0c674"
|
||||||
|
blue = "0x81a2be"
|
||||||
|
magenta = "0xb294bb"
|
||||||
|
cyan = "0x8abeb7"
|
||||||
|
white = "0xc5c8c6"
|
||||||
|
[colors.bright]
|
||||||
|
black = "0x969896"
|
||||||
|
red = "0xde935f"
|
||||||
|
green = "0x282a2e"
|
||||||
|
yellow = "0x373b41"
|
||||||
|
blue = "0xb4b7b4"
|
||||||
|
magenta = "0xe0e0e0"
|
||||||
|
cyan = "0xa3685a"
|
||||||
|
white = "0xffffff"
|
@@ -97,9 +97,11 @@ font:
|
|||||||
# - (macOS) Menlo
|
# - (macOS) Menlo
|
||||||
# - (Linux/BSD) monospace
|
# - (Linux/BSD) monospace
|
||||||
# - (Windows) Consolas
|
# - (Windows) Consolas
|
||||||
# family: MesloLGS NF
|
# family: Hack Nerd Font
|
||||||
# family: Hack
|
# family: DejaVuSansM Nerd Font
|
||||||
family: DejaVu Sans Mono
|
# family: FiraCode Nerd Font
|
||||||
|
# family: IosevkaTerm Nerd Font
|
||||||
|
family: CaskaydiaCove NFM
|
||||||
|
|
||||||
# The `style` can be specified to pick a specific face.
|
# The `style` can be specified to pick a specific face.
|
||||||
style: Regular
|
style: Regular
|
||||||
@@ -316,8 +318,8 @@ font:
|
|||||||
# - (macOS) /bin/bash --login
|
# - (macOS) /bin/bash --login
|
||||||
# - (Linux/BSD) user login shell
|
# - (Linux/BSD) user login shell
|
||||||
# - (Windows) powershell
|
# - (Windows) powershell
|
||||||
#shell:
|
shell:
|
||||||
# program: /bin/bash
|
program: tmux
|
||||||
# args:
|
# args:
|
||||||
# - --login
|
# - --login
|
||||||
|
|
||||||
@@ -597,7 +599,7 @@ colors:
|
|||||||
cyan: '0xa3685a'
|
cyan: '0xa3685a'
|
||||||
white: '0xffffff'
|
white: '0xffffff'
|
||||||
|
|
||||||
draw_bold_text_with_bright_colors: true
|
#draw_bold_text_with_bright_colors: true
|
||||||
|
|
||||||
|
|
||||||
## base16-Atelier-dune
|
## base16-Atelier-dune
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
[shortcuts]
|
[shortcuts]
|
||||||
close = ctrl+space
|
close = ctrl+space
|
||||||
close_all = ctrl+shift+space
|
close_all = ctrl+shift+space
|
||||||
history = ctrl+grave
|
#history = ctrl+grave
|
||||||
context = ctrl+shift+period
|
context = ctrl+shift+period
|
||||||
|
|
||||||
[urgency_low]
|
[urgency_low]
|
@@ -1,399 +0,0 @@
|
|||||||
;; -*- mode: emacs-lisp -*-
|
|
||||||
;; This file is loaded by Spacemacs at startup.
|
|
||||||
;; It must be stored in your home directory.
|
|
||||||
|
|
||||||
(defun dotspacemacs/layers ()
|
|
||||||
"Configuration Layers declaration.
|
|
||||||
You should not put any user code in this function besides modifying the variable
|
|
||||||
values."
|
|
||||||
(setq-default
|
|
||||||
;; Base distribution to use. This is a layer contained in the directory
|
|
||||||
;; `+distribution'. For now available distributions are `spacemacs-base'
|
|
||||||
;; or `spacemacs'. (default 'spacemacs)
|
|
||||||
dotspacemacs-distribution 'spacemacs
|
|
||||||
;; Lazy installation of layers (i.e. layers are installed only when a file
|
|
||||||
Podéis tomarOSddjk with a supported type is opened). Possible values are `all', `unused'
|
|
||||||
;; and `nil'. `unuemacs do not wrap linessed' will lazy install only unused layers (i.e. layers
|
|
||||||
;; not listed in variable `dotspacemacs-configuration-layers'), `all' will
|
|
||||||
;; lazy install any layer that support lazy installation even the layers
|
|
||||||
;; listed in `dotspacemacs-configuration-layers'. `nil' disable the lazy
|
|
||||||
;; installation feature and you have to explicitly list a layer in the
|
|
||||||
;; variable `dotspacemacs-configuration-layers' to install it.
|
|
||||||
;; (default 'unused)
|
|
||||||
dotspacemacs-enable-lazy-installation 'unused
|
|
||||||
;; If non-nil then Spacemacs will ask for confirmation before installing
|
|
||||||
;; a layer lazily. (default t)
|
|
||||||
dotspacemacs-ask-for-lazy-installation t
|
|
||||||
;; If non-nil layers with lazy install support are lazy installed.
|
|
||||||
;; List of additional paths where to look for configuration layers.
|
|
||||||
;; Paths must have a trailing slash (i.e. `~/.mycontribs/')
|
|
||||||
dotspacemacs-configuration-layer-path '()
|
|
||||||
;; List of configuration layers to load.
|
|
||||||
dotspacemacs-configuration-layers
|
|
||||||
'(
|
|
||||||
go
|
|
||||||
clojure
|
|
||||||
nginx
|
|
||||||
csv
|
|
||||||
javascript
|
|
||||||
yaml
|
|
||||||
html
|
|
||||||
python
|
|
||||||
(go :variables
|
|
||||||
gofmt-command "goimports"
|
|
||||||
)
|
|
||||||
;; ----------------------------------------------------------------
|
|
||||||
;; Example of useful layers you may want to use right away.
|
|
||||||
;; Uncomment some layer names and press <SPC f e R> (Vim style) or
|
|
||||||
;; <M-m f e R> (Emacs style) to install them.
|
|
||||||
;; ----------------------------------------------------------------
|
|
||||||
helm
|
|
||||||
(auto-completion :variables
|
|
||||||
auto-completion-return-key-behavior 'complete
|
|
||||||
auto-completion-tab-key-behavior 'cycle
|
|
||||||
auto-completion-complete-with-key-sequence nil
|
|
||||||
auto-completion-complete-with-key-sequence-delay 0.1
|
|
||||||
auto-completion-private-snippets-directory nil)
|
|
||||||
|
|
||||||
;; better-defaults
|
|
||||||
emacs-lisp
|
|
||||||
git
|
|
||||||
latex
|
|
||||||
markdown
|
|
||||||
org
|
|
||||||
themes-megapack
|
|
||||||
(shell :variables
|
|
||||||
shell-default-height 30
|
|
||||||
shell-default-position 'bottom)
|
|
||||||
spell-checking
|
|
||||||
syntax-checking
|
|
||||||
version-control
|
|
||||||
yaml
|
|
||||||
)
|
|
||||||
;; List of additional packages that will be installed without being
|
|
||||||
;; wrapped in a layer. If you need some configuration for these
|
|
||||||
;; packages, then consider creating a layer. You can also put the
|
|
||||||
;; configuration in `dotspacemacs/user-config'.
|
|
||||||
dotspacemacs-additional-packages '()
|
|
||||||
;; A list of packages that cannot be updated.
|
|
||||||
dotspacemacs-frozen-packages '()
|
|
||||||
;; A list of packages that will not be installed and loaded.
|
|
||||||
dotspacemacs-excluded-packages '()
|
|
||||||
;; Defines the behaviour of Spacemacs when installing packages.
|
|
||||||
;; Possible values are `used-only', `used-but-keep-unused' and `all'.
|
|
||||||
;; `used-only' installs only explicitly used packages and uninstall any
|
|
||||||
;; unused packages as well as their unused dependencies.
|
|
||||||
;; `used-but-keep-unused' installs only the used packages but won't uninstall
|
|
||||||
;; them if they become unused. `all' installs *all* packages supported by
|
|
||||||
;; Spacemacs and never uninstall them. (default is `used-only')
|
|
||||||
dotspacemacs-install-packages 'used-only))
|
|
||||||
|
|
||||||
(defun dotspacemacs/init ()
|
|
||||||
"Initialization function.
|
|
||||||
This function is called at the very startup of Spacemacs initialization
|
|
||||||
before layers configuration.
|
|
||||||
You should not put any user code in there besides modifying the variable
|
|
||||||
values."
|
|
||||||
;; This setq-default sexp is an exhaustive list of all the supported
|
|
||||||
;; spacemacs settings.
|
|
||||||
(setq-default
|
|
||||||
;; If non nil ELPA repositories are contacted via HTTPS whenever it's
|
|
||||||
;; possible. Set it to nil if you have no way to use HTTPS in your
|
|
||||||
;; environment, otherwise it is strongly recommended to let it set to t.
|
|
||||||
;; This variable has no effect if Emacs is launched with the parameter
|
|
||||||
;; `--insecure' which forces the value of this variable to nil.
|
|
||||||
;; (default t)
|
|
||||||
dotspacemacs-elpa-https t
|
|
||||||
;; Maximum allowed time in seconds to contact an ELPA repository.
|
|
||||||
dotspacemacs-elpa-timeout 5
|
|
||||||
;; If non nil then spacemacs will check for updates at startup
|
|
||||||
;; when the current branch is not `develop'. Note that checking for
|
|
||||||
;; new versions works via git commands, thus it calls GitHub services
|
|
||||||
;; whenever you start Emacs. (default nil)
|
|
||||||
dotspacemacs-check-for-update nil
|
|
||||||
;; If non-nil, a form that evaluates to a package directory. For example, to
|
|
||||||
;; use different package directories for different Emacs versions, set this
|
|
||||||
;; to `emacs-version'.
|
|
||||||
dotspacemacs-elpa-subdirectory nil
|
|
||||||
;; One of `vim', `emacs' or `hybrid'.
|
|
||||||
;; `hybrid' is like `vim' except that `insert state' is replaced by the
|
|
||||||
;; `hybrid state' with `emacs' key bindings. The value can also be a list
|
|
||||||
;; with `:variables' keyword (similar to layers). Check the editing styles
|
|
||||||
;; section of the documentation for details on available variables.
|
|
||||||
;; (default 'vim)
|
|
||||||
dotspacemacs-editing-style 'vim
|
|
||||||
;; If non nil output loading progress in `*Messages*' buffer. (default nil)
|
|
||||||
dotspacemacs-verbose-loading nil
|
|
||||||
;; Specify the startup banner. Default value is `official', it displays
|
|
||||||
;; the official spacemacs logo. An integer value is the index of text
|
|
||||||
;; banner, `random' chooses a random text banner in `core/banners'
|
|
||||||
;; directory. A string value must be a path to an image format supported
|
|
||||||
;; by your Emacs build.
|
|
||||||
;; If the value is nil then no banner is displayed. (default 'official)
|
|
||||||
dotspacemacs-startup-banner 'official
|
|
||||||
;; List of items to show in startup buffer or an association list of
|
|
||||||
;; the form `(list-type . list-size)`. If nil then it is disabled.
|
|
||||||
;; Possible values for list-type are:
|
|
||||||
;; `recents' `bookmarks' `projects' `agenda' `todos'."
|
|
||||||
;; List sizes may be nil, in which case
|
|
||||||
;; `spacemacs-buffer-startup-lists-length' takes effect.
|
|
||||||
dotspacemacs-startup-lists '((recents . 5)
|
|
||||||
(projects . 7))
|
|
||||||
;; True if the home buffer should respond to resize events.
|
|
||||||
dotspacemacs-startup-buffer-responsive t
|
|
||||||
;; Default major mode of the scratch buffer (default `text-mode')
|
|
||||||
dotspacemacs-scratch-mode 'text-mode
|
|
||||||
;; List of themes, the first of the list is loaded when spacemacs starts.
|
|
||||||
;; Press <SPC> T n to cycle to the next theme in the list (works great
|
|
||||||
;; with 2 themes variants, one dark and one light)
|
|
||||||
dotspacemacs-themes '(
|
|
||||||
leuven
|
|
||||||
spacemacs-dark
|
|
||||||
minimal-light
|
|
||||||
tango-plus
|
|
||||||
dichromacy
|
|
||||||
ample
|
|
||||||
sanityinc-tomorrow-night)
|
|
||||||
;; If non nil the cursor color matches the state color in GUI Emacs.
|
|
||||||
dotspacemacs-colorize-cursor-according-to-state t
|
|
||||||
;; Default font, or prioritized list of fonts. `powerline-scale' allows to
|
|
||||||
;; quickly tweak the mode-line size to make separators look not too crappy.
|
|
||||||
dotspacemacs-default-font '("DejaVu Sans Mono"
|
|
||||||
:size 14
|
|
||||||
:weight normal
|
|
||||||
:width normal
|
|
||||||
:powerline-scale 1.5)
|
|
||||||
;; The leader key
|
|
||||||
dotspacemacs-leader-key "SPC"
|
|
||||||
;; The key used for Emacs commands (M-x) (after pressing on the leader key).
|
|
||||||
;; (default "SPC")
|
|
||||||
dotspacemacs-emacs-command-key "SPC"
|
|
||||||
;; The key used for Vim Ex commands (default ":")
|
|
||||||
dotspacemacs-ex-command-key ":"
|
|
||||||
;; The leader key accessible in `emacs state' and `insert state'
|
|
||||||
;; (default "M-m")
|
|
||||||
dotspacemacs-emacs-leader-key "M-m"
|
|
||||||
;; Major mode leader key is a shortcut key which is the equivalent of
|
|
||||||
;; pressing `<leader> m`. Set it to `nil` to disable it. (default ",")
|
|
||||||
dotspacemacs-major-mode-leader-key ","
|
|
||||||
;; Major mode leader key accessible in `emacs state' and `insert state'.
|
|
||||||
;; (default "C-M-m")
|
|
||||||
dotspacemacs-major-mode-emacs-leader-key "C-M-m"
|
|
||||||
;; These variables control whether separate commands are bound in the GUI to
|
|
||||||
;; the key pairs C-i, TAB and C-m, RET.
|
|
||||||
;; Setting it to a non-nil value, allows for separate commands under <C-i>
|
|
||||||
;; and TAB or <C-m> and RET.
|
|
||||||
;; In the terminal, these pairs are generally indistinguishable, so this only
|
|
||||||
;; works in the GUI. (default nil)
|
|
||||||
dotspacemacs-distinguish-gui-tab nil
|
|
||||||
;; If non nil `Y' is remapped to `y$' in Evil states. (default nil)
|
|
||||||
dotspacemacs-remap-Y-to-y$ nil
|
|
||||||
;; If non-nil, the shift mappings `<' and `>' retain visual state if used
|
|
||||||
;; there. (default t)
|
|
||||||
dotspacemacs-retain-visual-state-on-shift t
|
|
||||||
;; If non-nil, J and K move lines up and down when in visual mode.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-visual-line-move-text nil
|
|
||||||
;; If non nil, inverse the meaning of `g' in `:substitute' Evil ex-command.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-ex-substitute-global nil
|
|
||||||
;; Name of the default layout (default "Default")
|
|
||||||
dotspacemacs-default-layout-name "Default"
|
|
||||||
;; If non nil the default layout name is displayed in the mode-line.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-display-default-layout nil
|
|
||||||
;; If non nil then the last auto saved layouts are resume automatically upon
|
|
||||||
;; start. (default nil)
|
|
||||||
dotspacemacs-auto-resume-layouts nil
|
|
||||||
;; Size (in MB) above which spacemacs will prompt to open the large file
|
|
||||||
;; literally to avoid performance issues. Opening a file literally means that
|
|
||||||
;; no major mode or minor modes are active. (default is 1)
|
|
||||||
dotspacemacs-large-file-size 1
|
|
||||||
;; Location where to auto-save files. Possible values are `original' to
|
|
||||||
;; auto-save the file in-place, `cache' to auto-save the file to another
|
|
||||||
;; file stored in the cache directory and `nil' to disable auto-saving.
|
|
||||||
;; (default 'cache)
|
|
||||||
dotspacemacs-auto-save-file-location 'cache
|
|
||||||
;; Maximum number of rollback slots to keep in the cache. (default 5)
|
|
||||||
dotspacemacs-max-rollback-slots 5
|
|
||||||
;; If non nil, `helm' will try to minimize the space it uses. (default nil)
|
|
||||||
dotspacemacs-helm-resize nil
|
|
||||||
;; if non nil, the helm header is hidden when there is only one source.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-helm-no-header nil
|
|
||||||
;; define the position to display `helm', options are `bottom', `top',
|
|
||||||
;; `left', or `right'. (default 'bottom)
|
|
||||||
dotspacemacs-helm-position 'bottom
|
|
||||||
;; Controls fuzzy matching in helm. If set to `always', force fuzzy matching
|
|
||||||
;; in all non-asynchronous sources. If set to `source', preserve individual
|
|
||||||
;; source settings. Else, disable fuzzy matching in all sources.
|
|
||||||
;; (default 'always)
|
|
||||||
dotspacemacs-helm-use-fuzzy 'always
|
|
||||||
;; If non nil the paste micro-state is enabled. When enabled pressing `p`
|
|
||||||
;; several times cycle between the kill ring content. (default nil)
|
|
||||||
dotspacemacs-enable-paste-transient-state nil
|
|
||||||
;; Which-key delay in seconds. The which-key buffer is the popup listing
|
|
||||||
;; the commands bound to the current keystroke sequence. (default 0.4)
|
|
||||||
dotspacemacs-which-key-delay 0.4
|
|
||||||
;; Which-key frame position. Possible values are `right', `bottom' and
|
|
||||||
;; `right-then-bottom'. right-then-bottom tries to display the frame to the
|
|
||||||
;; right; if there is insufficient space it displays it at the bottom.
|
|
||||||
;; (default 'bottom)
|
|
||||||
dotspacemacs-which-key-position 'bottom
|
|
||||||
;; If non nil a progress bar is displayed when spacemacs is loading. This
|
|
||||||
;; may increase the boot time on some systems and emacs builds, set it to
|
|
||||||
;; nil to boost the loading time. (default t)
|
|
||||||
dotspacemacs-loading-progress-bar t
|
|
||||||
;; If non nil the frame is fullscreen when Emacs starts up. (default nil)
|
|
||||||
;; (Emacs 24.4+ only)
|
|
||||||
dotspacemacs-fullscreen-at-startup nil
|
|
||||||
;; If non nil `spacemacs/toggle-fullscreen' will not use native fullscreen.
|
|
||||||
;; Use to disable fullscreen animations in OSX. (default nil)
|
|
||||||
dotspacemacs-fullscreen-use-non-native nil
|
|
||||||
;; If non nil the frame is maximized when Emacs starts up.
|
|
||||||
;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil.
|
|
||||||
;; (default nil) (Emacs 24.4+ only)
|
|
||||||
dotspacemacs-maximized-at-startup nil
|
|
||||||
;; A value from the range (0..100), in increasing opacity, which describes
|
|
||||||
;; the transparency level of a frame when it's active or selected.
|
|
||||||
;; Transparency can be toggled through `toggle-transparency'. (default 90)
|
|
||||||
dotspacemacs-active-transparency 90
|
|
||||||
;; A value from the range (0..100), in increasing opacity, which describes
|
|
||||||
;; the transparency level of a frame when it's inactive or deselected.
|
|
||||||
;; Transparency can be toggled through `toggle-transparency'. (default 90)
|
|
||||||
dotspacemacs-inactive-transparency 90
|
|
||||||
;; If non nil show the titles of transient states. (default t)
|
|
||||||
dotspacemacs-show-transient-state-title t
|
|
||||||
;; If non nil show the color guide hint for transient state keys. (default t)
|
|
||||||
dotspacemacs-show-transient-state-color-guide t
|
|
||||||
;; If non nil unicode symbols are displayed in the mode line. (default t)
|
|
||||||
dotspacemacs-mode-line-unicode-symbols t
|
|
||||||
;; If non nil smooth scrolling (native-scrolling) is enabled. Smooth
|
|
||||||
;; scrolling overrides the default behavior of Emacs which recenters point
|
|
||||||
;; when it reaches the top or bottom of the screen. (default t)
|
|
||||||
dotspacemacs-smooth-scrolling t
|
|
||||||
;; Control line numbers activation.
|
|
||||||
;; If set to `t' or `relative' line numbers are turned on in all `prog-mode' and
|
|
||||||
;; `text-mode' derivatives. If set to `relative', line numbers are relative.
|
|
||||||
;; This variable can also be set to a property list for finer control:
|
|
||||||
;; '(:relative nil
|
|
||||||
;; :disabled-for-modes dired-mode
|
|
||||||
;; doc-view-mode
|
|
||||||
;; markdown-mode
|
|
||||||
;; org-mode
|
|
||||||
;; pdf-view-mode
|
|
||||||
;; text-mode
|
|
||||||
;; :size-limit-kb 1000)
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-line-numbers t
|
|
||||||
;; Code folding method. Possible values are `evil' and `origami'.
|
|
||||||
;; (default 'evil)
|
|
||||||
dotspacemacs-folding-method 'evil
|
|
||||||
;; If non-nil smartparens-strict-mode will be enabled in programming modes.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-smartparens-strict-mode nil
|
|
||||||
;; If non-nil pressing the closing parenthesis `)' key in insert mode passes
|
|
||||||
;; over any automatically added closing parenthesis, bracket, quote, etc…
|
|
||||||
;; This can be temporary disabled by pressing `C-q' before `)'. (default nil)
|
|
||||||
dotspacemacs-smart-closing-parenthesis nil
|
|
||||||
;; Select a scope to highlight delimiters. Possible values are `any',
|
|
||||||
;; `current', `all' or `nil'. Default is `all' (highlight any scope and
|
|
||||||
;; emphasis the current one). (default 'all)
|
|
||||||
dotspacemacs-highlight-delimiters 'all
|
|
||||||
;; If non nil, advise quit functions to keep server open when quitting.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-persistent-server nil
|
|
||||||
;; List of search tool executable names. Spacemacs uses the first installed
|
|
||||||
;; tool of the list. Supported tools are `ag', `pt', `ack' and `grep'.
|
|
||||||
;; (default '("ag" "pt" "ack" "grep"))
|
|
||||||
dotspacemacs-search-tools '("ag" "pt" "ack" "grep")
|
|
||||||
;; The default package repository used if no explicit repository has been
|
|
||||||
;; specified with an installed package.
|
|
||||||
;; Not used for now. (default nil)
|
|
||||||
dotspacemacs-default-package-repository nil
|
|
||||||
;; Delete whitespace while saving buffer. Possible values are `all'
|
|
||||||
;; to aggressively delete empty line and long sequences of whitespace,
|
|
||||||
;; `trailing' to delete only the whitespace at end of lines, `changed'to
|
|
||||||
;; delete only whitespace for changed lines or `nil' to disable cleanup.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-whitespace-cleanup nil
|
|
||||||
))
|
|
||||||
|
|
||||||
(defun dotspacemacs/user-init ()
|
|
||||||
"Initialization function for user code.
|
|
||||||
It is called immediately after `dotspacemacs/init', before layer configuration
|
|
||||||
executes.
|
|
||||||
This function is mostly useful for variables that need to be set
|
|
||||||
before packages are loaded. If you are unsure, you should try in setting them in
|
|
||||||
`dotspacemacs/user-config' first."
|
|
||||||
)
|
|
||||||
|
|
||||||
(defun dotspacemacs/user-config ()
|
|
||||||
"Configuration function for user code.
|
|
||||||
This function is called at the very end of Spacemacs initialization after
|
|
||||||
layers configuration.
|
|
||||||
This is the place where most of your configurations should be done. Unless it is
|
|
||||||
explicitly specified that a variable should be set before a package is loaded,
|
|
||||||
you should place your code here."
|
|
||||||
(with-eval-after-load 'helm
|
|
||||||
(define-key helm-map (kbd "C-w") 'evil-delete-backward-word)
|
|
||||||
)
|
|
||||||
;; Launch terminal
|
|
||||||
|
|
||||||
(defun open-terminal ()
|
|
||||||
"Open a terminal in the current working directory."
|
|
||||||
(interactive)
|
|
||||||
(call-process (or (getenv "XTERMINAL") "xterm") nil 0 nil))
|
|
||||||
;; This does not work: (concat "echo -c 'cd " default-directory "'"))
|
|
||||||
|
|
||||||
(global-set-key (kbd "C-c t") 'open-terminal)
|
|
||||||
)
|
|
||||||
|
|
||||||
;; Do not write anything past this comment. This is where Emacs will
|
|
||||||
;; auto-generate custom variable definitions.
|
|
||||||
(custom-set-variables
|
|
||||||
;; custom-set-variables was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
'(ansi-color-faces-vector
|
|
||||||
[default bold shadow italic underline bold bold-italic bold])
|
|
||||||
'(beacon-color "#cc6666")
|
|
||||||
'(custom-safe-themes
|
|
||||||
(quote
|
|
||||||
("3e335d794ed3030fefd0dbd7ff2d3555e29481fe4bbb0106ea11c660d6001767" "cc0dbb53a10215b696d391a90de635ba1699072745bf653b53774706999208e3" "ed317c0a3387be628a48c4bbdb316b4fa645a414838149069210b66dd521733f" "938d8c186c4cb9ec4a8d8bc159285e0d0f07bad46edf20aa469a89d0d2a586ea" "fa2b58bb98b62c3b8cf3b6f02f058ef7827a8e497125de0254f56e373abee088" "bffa9739ce0752a37d9b1eee78fc00ba159748f50dc328af4be661484848e476" default)))
|
|
||||||
'(evil-want-Y-yank-to-eol nil)
|
|
||||||
'(fci-rule-color "#373b41" t)
|
|
||||||
'(flycheck-color-mode-line-face-to-color (quote mode-line-buffer-id))
|
|
||||||
'(frame-background-mode (quote dark))
|
|
||||||
'(package-selected-packages
|
|
||||||
(quote
|
|
||||||
(zenburn-theme zen-and-art-theme underwater-theme ujelly-theme twilight-theme twilight-bright-theme twilight-anti-bright-theme toxi-theme tao-theme tangotango-theme tango-plus-theme tango-2-theme sunny-day-theme sublime-themes subatomic256-theme subatomic-theme spacegray-theme soothe-theme solarized-theme soft-stone-theme soft-morning-theme soft-charcoal-theme smyx-theme seti-theme reverse-theme railscasts-theme purple-haze-theme professional-theme planet-theme phoenix-dark-pink-theme phoenix-dark-mono-theme organic-green-theme omtose-phellack-theme oldlace-theme occidental-theme obsidian-theme noctilux-theme naquadah-theme mustang-theme monokai-theme monochrome-theme molokai-theme moe-theme minimal-theme material-theme majapahit-theme madhat2r-theme lush-theme light-soap-theme jbeans-theme jazz-theme ir-black-theme clojure-snippets clj-refactor inflections edn paredit peg cider-eval-sexp-fu cider seq queue clojure-mode nginx-mode auctex-latexmk company-auctex auctex csv-mode web-beautify livid-mode skewer-mode simple-httpd json-mode json-snatcher json-reformat js2-refactor multiple-cursors js2-mode js-doc company-tern dash-functional tern coffee-mode yaml-mode helm-company helm-c-yasnippet fuzzy company-web web-completion-data company-statistics company-go company-anaconda company auto-yasnippet yasnippet ac-ispell auto-complete web-mode tagedit slim-mode scss-mode sass-mode pug-mode less-css-mode helm-css-scss haml-mode emmet-mode smeargle orgit magit-gitflow helm-gitignore gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit magit magit-popup xterm-color shell-pop org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-download multi-term mmm-mode markdown-toc markdown-mode htmlize gnuplot git-gutter-fringe+ git-gutter-fringe fringe-helper git-gutter+ git-commit with-editor git-gutter gh-md flyspell-correct-helm flyspell-correct flycheck-pos-tip pos-tip flycheck eshell-z eshell-prompt-extras esh-help diff-hl auto-dictionary yapfify pyvenv pytest pyenv-mode py-isort pip-requirements live-py-mode hy-mode helm-pydoc cython-mode anaconda-mode pythonic go-guru go-eldoc go-mode ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint info+ indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation hide-comnt help-fns+ helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed dash aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async)))
|
|
||||||
'(vc-annotate-background nil)
|
|
||||||
'(vc-annotate-color-map
|
|
||||||
(quote
|
|
||||||
((20 . "#cc6666")
|
|
||||||
(40 . "#de935f")
|
|
||||||
(60 . "#f0c674")
|
|
||||||
(80 . "#b5bd68")
|
|
||||||
(100 . "#8abeb7")
|
|
||||||
(120 . "#81a2be")
|
|
||||||
(140 . "#b294bb")
|
|
||||||
(160 . "#cc6666")
|
|
||||||
(180 . "#de935f")
|
|
||||||
(200 . "#f0c674")
|
|
||||||
(220 . "#b5bd68")
|
|
||||||
(240 . "#8abeb7")
|
|
||||||
(260 . "#81a2be")
|
|
||||||
(280 . "#b294bb")
|
|
||||||
(300 . "#cc6666")
|
|
||||||
(320 . "#de935f")
|
|
||||||
(340 . "#f0c674")
|
|
||||||
(360 . "#b5bd68"))))
|
|
||||||
'(vc-annotate-very-old-color nil))
|
|
||||||
(custom-set-faces
|
|
||||||
;; custom-set-faces was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
'(default ((t (:background nil)))))
|
|
144
firefox/.local/share/applications/firefox.desktop
Normal file
144
firefox/.local/share/applications/firefox.desktop
Normal file
@@ -0,0 +1,144 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
#NoDisplay=true
|
||||||
|
Name=Firefox Web Browser (nixGL)
|
||||||
|
GenericName=Web Browser
|
||||||
|
GenericName[ar]=متصفح ويب
|
||||||
|
GenericName[ast]=Restolador Web
|
||||||
|
GenericName[bn]=ওয়েব ব্রাউজার
|
||||||
|
GenericName[ca]=Navegador web
|
||||||
|
GenericName[cs]=Webový prohlížeč
|
||||||
|
GenericName[da]=Webbrowser
|
||||||
|
GenericName[el]=Περιηγητής διαδικτύου
|
||||||
|
GenericName[es]=Navegador web
|
||||||
|
GenericName[et]=Veebibrauser
|
||||||
|
GenericName[fa]=مرورگر اینترنتی
|
||||||
|
GenericName[fi]=WWW-selain
|
||||||
|
GenericName[fr]=Navigateur Web
|
||||||
|
GenericName[gl]=Navegador Web
|
||||||
|
GenericName[he]=דפדפן אינטרנט
|
||||||
|
GenericName[hr]=Web preglednik
|
||||||
|
GenericName[hu]=Webböngésző
|
||||||
|
GenericName[it]=Browser web
|
||||||
|
GenericName[ja]=ウェブ・ブラウザ
|
||||||
|
GenericName[ko]=웹 브라우저
|
||||||
|
GenericName[ku]=Geroka torê
|
||||||
|
GenericName[lt]=Interneto naršyklė
|
||||||
|
GenericName[nb]=Nettleser
|
||||||
|
GenericName[nl]=Webbrowser
|
||||||
|
GenericName[nn]=Nettlesar
|
||||||
|
GenericName[no]=Nettleser
|
||||||
|
GenericName[pl]=Przeglądarka WWW
|
||||||
|
GenericName[pt]=Navegador Web
|
||||||
|
GenericName[pt_BR]=Navegador Web
|
||||||
|
GenericName[ro]=Navigator Internet
|
||||||
|
GenericName[ru]=Веб-браузер
|
||||||
|
GenericName[sk]=Internetový prehliadač
|
||||||
|
GenericName[sl]=Spletni brskalnik
|
||||||
|
GenericName[sv]=Webbläsare
|
||||||
|
GenericName[tr]=Web Tarayıcı
|
||||||
|
GenericName[ug]=توركۆرگۈ
|
||||||
|
GenericName[uk]=Веб-браузер
|
||||||
|
GenericName[vi]=Trình duyệt Web
|
||||||
|
GenericName[zh_CN]=网络浏览器
|
||||||
|
GenericName[zh_TW]=網路瀏覽器
|
||||||
|
Keywords=Internet;WWW;Browser;Web;Explorer
|
||||||
|
Keywords[ar]=انترنت;إنترنت;متصفح;ويب;وب
|
||||||
|
Keywords[ast]=Internet;WWW;Restolador;Web;Esplorador
|
||||||
|
Keywords[ca]=Internet;WWW;Navegador;Web;Explorador;Explorer
|
||||||
|
Keywords[cs]=Internet;WWW;Prohlížeč;Web;Explorer
|
||||||
|
Keywords[da]=Internet;Internettet;WWW;Browser;Browse;Web;Surf;Nettet
|
||||||
|
Keywords[de]=Internet;WWW;Browser;Web;Explorer;Webseite;Site;surfen;online;browsen
|
||||||
|
Keywords[el]=Internet;WWW;Browser;Web;Explorer;Διαδίκτυο;Περιηγητής;Firefox;Φιρεφοχ;Ιντερνετ
|
||||||
|
Keywords[es]=Explorador;Internet;WWW
|
||||||
|
Keywords[fi]=Internet;WWW;Browser;Web;Explorer;selain;Internet-selain;internetselain;verkkoselain;netti;surffaa
|
||||||
|
Keywords[fr]=Internet;WWW;Browser;Web;Explorer;Fureteur;Surfer;Navigateur
|
||||||
|
Keywords[he]=דפדפן;אינטרנט;רשת;אתרים;אתר;פיירפוקס;מוזילה;
|
||||||
|
Keywords[hr]=Internet;WWW;preglednik;Web
|
||||||
|
Keywords[hu]=Internet;WWW;Böngésző;Web;Háló;Net;Explorer
|
||||||
|
Keywords[it]=Internet;WWW;Browser;Web;Navigatore
|
||||||
|
Keywords[is]=Internet;WWW;Vafri;Vefur;Netvafri;Flakk
|
||||||
|
Keywords[ja]=Internet;WWW;Web;インターネット;ブラウザ;ウェブ;エクスプローラ
|
||||||
|
Keywords[nb]=Internett;WWW;Nettleser;Explorer;Web;Browser;Nettside
|
||||||
|
Keywords[nl]=Internet;WWW;Browser;Web;Explorer;Verkenner;Website;Surfen;Online
|
||||||
|
Keywords[pt]=Internet;WWW;Browser;Web;Explorador;Navegador
|
||||||
|
Keywords[pt_BR]=Internet;WWW;Browser;Web;Explorador;Navegador
|
||||||
|
Keywords[ru]=Internet;WWW;Browser;Web;Explorer;интернет;браузер;веб;файрфокс;огнелис
|
||||||
|
Keywords[sk]=Internet;WWW;Prehliadač;Web;Explorer
|
||||||
|
Keywords[sl]=Internet;WWW;Browser;Web;Explorer;Brskalnik;Splet
|
||||||
|
Keywords[tr]=İnternet;WWW;Tarayıcı;Web;Gezgin;Web sitesi;Site;sörf;çevrimiçi;tara
|
||||||
|
Keywords[uk]=Internet;WWW;Browser;Web;Explorer;Інтернет;мережа;переглядач;оглядач;браузер;веб;файрфокс;вогнелис;перегляд
|
||||||
|
Keywords[vi]=Internet;WWW;Browser;Web;Explorer;Trình duyệt;Trang web
|
||||||
|
Keywords[zh_CN]=Internet;WWW;Browser;Web;Explorer;网页;浏览;上网;火狐;Firefox;ff;互联网;网站;
|
||||||
|
Keywords[zh_TW]=Internet;WWW;Browser;Web;Explorer;網際網路;網路;瀏覽器;上網;網頁;火狐
|
||||||
|
Exec=firefox %u
|
||||||
|
Terminal=false
|
||||||
|
X-MultipleArgs=false
|
||||||
|
Type=Application
|
||||||
|
Icon=firefox
|
||||||
|
Categories=GNOME;GTK;Network;WebBrowser;
|
||||||
|
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;video/webm;application/x-xpinstall;
|
||||||
|
StartupNotify=true
|
||||||
|
StartupWMClass=firefox
|
||||||
|
Actions=new-window;new-private-window;
|
||||||
|
|
||||||
|
[Desktop Action new-window]
|
||||||
|
Name=Open a New Window
|
||||||
|
Name[ar]=افتح نافذة جديدة
|
||||||
|
Name[ast]=Abrir una ventana nueva
|
||||||
|
Name[bn]=Abrir una ventana nueva
|
||||||
|
Name[ca]=Obre una finestra nova
|
||||||
|
Name[cs]=Otevřít nové okno
|
||||||
|
Name[da]=Åbn et nyt vindue
|
||||||
|
Name[de]=Ein neues Fenster öffnen
|
||||||
|
Name[el]=Νέο παράθυρο
|
||||||
|
Name[es]=Abrir una ventana nueva
|
||||||
|
Name[fi]=Avaa uusi ikkuna
|
||||||
|
Name[fr]=Ouvrir une nouvelle fenêtre
|
||||||
|
Name[gl]=Abrir unha nova xanela
|
||||||
|
Name[he]=פתיחת חלון חדש
|
||||||
|
Name[hr]=Otvori novi prozor
|
||||||
|
Name[hu]=Új ablak nyitása
|
||||||
|
Name[it]=Apri una nuova finestra
|
||||||
|
Name[ja]=新しいウィンドウを開く
|
||||||
|
Name[ko]=새 창 열기
|
||||||
|
Name[ku]=Paceyeke nû veke
|
||||||
|
Name[lt]=Atverti naują langą
|
||||||
|
Name[nb]=Åpne et nytt vindu
|
||||||
|
Name[nl]=Nieuw venster openen
|
||||||
|
Name[pt]=Abrir nova janela
|
||||||
|
Name[pt_BR]=Abrir nova janela
|
||||||
|
Name[ro]=Deschide o fereastră nouă
|
||||||
|
Name[ru]=Новое окно
|
||||||
|
Name[sk]=Otvoriť nové okno
|
||||||
|
Name[sl]=Odpri novo okno
|
||||||
|
Name[sv]=Öppna ett nytt fönster
|
||||||
|
Name[tr]=Yeni pencere aç
|
||||||
|
Name[ug]=يېڭى كۆزنەك ئېچىش
|
||||||
|
Name[uk]=Відкрити нове вікно
|
||||||
|
Name[vi]=Mở cửa sổ mới
|
||||||
|
Name[zh_CN]=新建窗口
|
||||||
|
Name[zh_TW]=開啟新視窗
|
||||||
|
Exec=firefox -new-window
|
||||||
|
|
||||||
|
[Desktop Action new-private-window]
|
||||||
|
Name=Open a New Private Window
|
||||||
|
Name[ar]=افتح نافذة جديدة للتصفح الخاص
|
||||||
|
Name[ca]=Obre una finestra nova en mode d'incògnit
|
||||||
|
Name[cs]=Otevřít nové anonymní okno
|
||||||
|
Name[de]=Ein neues privates Fenster öffnen
|
||||||
|
Name[el]=Νέο ιδιωτικό παράθυρο
|
||||||
|
Name[es]=Abrir una ventana privada nueva
|
||||||
|
Name[fi]=Avaa uusi yksityinen ikkuna
|
||||||
|
Name[fr]=Ouvrir une nouvelle fenêtre de navigation privée
|
||||||
|
Name[he]=פתיחת חלון גלישה פרטית חדש
|
||||||
|
Name[hu]=Új privát ablak nyitása
|
||||||
|
Name[it]=Apri una nuova finestra anonima
|
||||||
|
Name[nb]=Åpne et nytt privat vindu
|
||||||
|
Name[ru]=Новое приватное окно
|
||||||
|
Name[sl]=Odpri novo okno zasebnega brskanja
|
||||||
|
Name[sv]=Öppna ett nytt privat fönster
|
||||||
|
Name[tr]=Yeni gizli pencere aç
|
||||||
|
Name[uk]=Відкрити нове вікно у потайливому режимі
|
||||||
|
Name[zh_TW]=開啟新隱私瀏覽視窗
|
||||||
|
Exec=nixGL firefox -private-window
|
3
firefox/README.md
Normal file
3
firefox/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
toolkit.legacyUserProfileCustomizations.stylesheets to true
|
||||||
|
|
||||||
|
cp <profile>/chrome/userChrome.css
|
10
firefox/userChrome.css
Normal file
10
firefox/userChrome.css
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
/* hides the native tabs */
|
||||||
|
#TabsToolbar {
|
||||||
|
visibility: collapse;
|
||||||
|
}
|
||||||
|
#titlebar {
|
||||||
|
visibility: collapse;
|
||||||
|
}
|
||||||
|
#sidebar-header {
|
||||||
|
visibility: collapse !important;
|
||||||
|
}
|
3
fish/.config/fish/config.fish
Normal file
3
fish/.config/fish/config.fish
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
set -U fish_greeting
|
||||||
|
set -g -x NIX_PATH "/home/j/.nix-defexpr/channels/:/nix/var/nix/profiles/per-user/root/channels"
|
||||||
|
starship init fish | source
|
48
flake.lock
generated
Normal file
48
flake.lock
generated
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"home-manager": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1756579987,
|
||||||
|
"narHash": "sha256-duCce8zGsaMsrqqOmLOsuaV1PVIw/vXWnKuLKZClsGg=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "99a69bdf8a3c6bf038c4121e9c4b6e99706a187a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1756542300,
|
||||||
|
"narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "d7600c775f877cd87b4f5a831c28aa94137377aa",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"home-manager": "home-manager",
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
46
flake.nix
Normal file
46
flake.nix
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
{
|
||||||
|
description = "Home Manager configuration of j";
|
||||||
|
|
||||||
|
inputs = {
|
||||||
|
# Specify the source of Home Manager and Nixpkgs.
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
home-manager = {
|
||||||
|
url = "github:nix-community/home-manager";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs =
|
||||||
|
{ nixpkgs, home-manager, ... }:
|
||||||
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# TCS config
|
||||||
|
homeConfigurations."j@lenny" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
|
||||||
|
# Specify your home configuration modules here, for example,
|
||||||
|
# the path to your home.nix.
|
||||||
|
modules = [
|
||||||
|
./home-manager/common.nix
|
||||||
|
./home-manager/lenny.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
# Optionally use extraSpecialArgs
|
||||||
|
# to pass through arguments to home.nix
|
||||||
|
};
|
||||||
|
|
||||||
|
# Home
|
||||||
|
homeConfigurations."j" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
|
||||||
|
# Specify your home configuration modules here, for example,
|
||||||
|
# the path to your home.nix.
|
||||||
|
modules = [
|
||||||
|
./home-manager/common.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
162
home-manager/common.nix
Normal file
162
home-manager/common.nix
Normal file
@@ -0,0 +1,162 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
|
# manage.
|
||||||
|
home.username = "j";
|
||||||
|
home.homeDirectory = "/home/j";
|
||||||
|
|
||||||
|
# This value determines the Home Manager release that your configuration is
|
||||||
|
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||||
|
# introduces backwards incompatible changes.
|
||||||
|
#
|
||||||
|
# You should not change this value, even if you update Home Manager. If you do
|
||||||
|
# want to update the value, then make sure to first check the Home Manager
|
||||||
|
# release notes.
|
||||||
|
home.stateVersion = "25.05"; # Please read the comment before changing.
|
||||||
|
|
||||||
|
# The home.packages option allows you to install Nix packages into your
|
||||||
|
# environment.
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
# Desktop
|
||||||
|
pavucontrol
|
||||||
|
wofi
|
||||||
|
waybar
|
||||||
|
mako # Notification daemon
|
||||||
|
hyprlock # Lock
|
||||||
|
hypridle # Run lock on idle
|
||||||
|
|
||||||
|
pkgs.nerd-fonts.fira-code
|
||||||
|
pkgs.nerd-fonts.monoid
|
||||||
|
|
||||||
|
wezterm
|
||||||
|
|
||||||
|
# Editors
|
||||||
|
emacs
|
||||||
|
neovim
|
||||||
|
helix
|
||||||
|
|
||||||
|
# Utils
|
||||||
|
jq
|
||||||
|
bat # Replacement for less
|
||||||
|
eza # Better ld
|
||||||
|
zoxide # better cd
|
||||||
|
yazi # File manager
|
||||||
|
ripgrep # Better search
|
||||||
|
fzf # Fuzzy file finder
|
||||||
|
|
||||||
|
zenith # System monitor
|
||||||
|
|
||||||
|
# Shells
|
||||||
|
fish
|
||||||
|
grc # Colorizer
|
||||||
|
fishPlugins.grc
|
||||||
|
starship
|
||||||
|
|
||||||
|
# Dev tools
|
||||||
|
git
|
||||||
|
lazygit
|
||||||
|
|
||||||
|
# Python
|
||||||
|
uv
|
||||||
|
|
||||||
|
#uutils-coreutils
|
||||||
|
|
||||||
|
# # It is sometimes useful to fine-tune packages, for example, by applying
|
||||||
|
# # overrides. You can do that directly here, just don't forget the
|
||||||
|
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
|
||||||
|
# # fonts?
|
||||||
|
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
|
||||||
|
|
||||||
|
# # You can also create simple shell scripts directly inside your
|
||||||
|
# # configuration. For example, this adds a command 'my-hello' to your
|
||||||
|
# # environment:
|
||||||
|
# (pkgs.writeShellScriptBin "my-hello" ''
|
||||||
|
# echo "Hello, ${config.home.username}!"
|
||||||
|
# '')
|
||||||
|
];
|
||||||
|
|
||||||
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
|
# plain files is through 'home.file'.
|
||||||
|
home.file = {
|
||||||
|
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
||||||
|
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
||||||
|
# # symlink to the Nix store copy.
|
||||||
|
# ".screenrc".source = dotfiles/screenrc;
|
||||||
|
|
||||||
|
# # You can also set the file content immediately.
|
||||||
|
# ".gradle/gradle.properties".text = ''
|
||||||
|
# org.gradle.console=verbose
|
||||||
|
# org.gradle.daemon.idletimeout=3600000
|
||||||
|
# '';
|
||||||
|
};
|
||||||
|
|
||||||
|
# Home Manager can also manage your environment variables through
|
||||||
|
# 'home.sessionVariables'. These will be explicitly sourced when using a
|
||||||
|
# shell provided by Home Manager. If you don't want to manage your shell
|
||||||
|
# through Home Manager then you have to manually source 'hm-session-vars.sh'
|
||||||
|
# located at either
|
||||||
|
#
|
||||||
|
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
||||||
|
#
|
||||||
|
# or
|
||||||
|
#
|
||||||
|
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
|
||||||
|
#
|
||||||
|
# or
|
||||||
|
#
|
||||||
|
# /etc/profiles/per-user/j/etc/profile.d/hm-session-vars.sh
|
||||||
|
#
|
||||||
|
home.sessionVariables = {
|
||||||
|
# EDITOR = "emacs";
|
||||||
|
EDITOR = "nvim";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Let Home Manager install and manage itself.
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
programs.eza = {
|
||||||
|
enableFishIntegration = true;
|
||||||
|
icons = "auto";
|
||||||
|
git = true;
|
||||||
|
extraOptions = [
|
||||||
|
"--color=always"
|
||||||
|
"--tree"
|
||||||
|
"--level=1"
|
||||||
|
"--group-directories=first"
|
||||||
|
"--dereference"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.fish = {
|
||||||
|
enable = true;
|
||||||
|
interactiveShellInit = ''set fish_greeting '';
|
||||||
|
plugins = [
|
||||||
|
{ name = "grc"; src = pkgs.fishPlugins.grc.src; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.starship = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
add_newline = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.zoxide.enable = true;
|
||||||
|
programs.bash = {
|
||||||
|
enable = true;
|
||||||
|
initExtra = ''
|
||||||
|
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
|
||||||
|
then
|
||||||
|
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
|
||||||
|
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
|
||||||
|
fi
|
||||||
|
''; # Launch fish on startup
|
||||||
|
};
|
||||||
|
|
||||||
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
15
home-manager/lenny.nix
Normal file
15
home-manager/lenny.nix
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
jujutsu
|
||||||
|
];
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "Fernando Sánchez";
|
||||||
|
userEmail = "f.sanchez@thechannelstore.tv";
|
||||||
|
extraConfig = {
|
||||||
|
init.defaultBranch = "main";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
81
home-manager/old.nix
Normal file
81
home-manager/old.nix
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
{ config, pkgs, nixgl, ... }:
|
||||||
|
let nixgl = import <nixgl> {};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# Home Manager needs a bit of information about you and the
|
||||||
|
# paths it should manage.
|
||||||
|
home.username = "j";
|
||||||
|
home.homeDirectory = "/home/j";
|
||||||
|
|
||||||
|
nixpkgs = {
|
||||||
|
config = {
|
||||||
|
allowUnfree = true;
|
||||||
|
allowUnfreePredicate = (_: true);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# This value determines the Home Manager release that your
|
||||||
|
# configuration is compatible with. This helps avoid breakage
|
||||||
|
# when a new Home Manager release introduces backwards
|
||||||
|
# incompatible changes.
|
||||||
|
#
|
||||||
|
# You can update Home Manager without changing this value. See
|
||||||
|
# the Home Manager release notes for a list of state version
|
||||||
|
# changes in each release.
|
||||||
|
home.stateVersion = "23.05";
|
||||||
|
|
||||||
|
# Let Home Manager install and manage itself.
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
home.packages = [
|
||||||
|
pkgs.htop
|
||||||
|
pkgs.zoom-us
|
||||||
|
pkgs.fortune
|
||||||
|
pkgs.tmux
|
||||||
|
pkgs.git
|
||||||
|
pkgs.git-lfs
|
||||||
|
pkgs.hugo
|
||||||
|
pkgs.fish
|
||||||
|
pkgs.fd
|
||||||
|
pkgs.helix
|
||||||
|
pkgs.starship
|
||||||
|
pkgs.ripgrep
|
||||||
|
pkgs.eza
|
||||||
|
pkgs.ansible
|
||||||
|
pkgs.ranger
|
||||||
|
pkgs.sshpass
|
||||||
|
pkgs.jq
|
||||||
|
pkgs.bat
|
||||||
|
pkgs.davfs2
|
||||||
|
pkgs.pandoc
|
||||||
|
pkgs.rustup
|
||||||
|
#pkgs.texlive
|
||||||
|
# pkgs.texlive.combine {
|
||||||
|
# inherit (texlive) xcolor
|
||||||
|
# }
|
||||||
|
pkgs.wl-clipboard
|
||||||
|
nixgl.auto.nixGLDefault
|
||||||
|
#(pkgs.python311.withPackages (p: with p; [
|
||||||
|
#jupyterlab
|
||||||
|
#matplotlib
|
||||||
|
#pandas
|
||||||
|
#openpyxl
|
||||||
|
#]))
|
||||||
|
pkgs.alacritty
|
||||||
|
pkgs.wezterm
|
||||||
|
pkgs.kitty
|
||||||
|
pkgs.zellij
|
||||||
|
(pkgs.nerdfonts.override { fonts = [ "Iosevka" "IosevkaTerm" "Hack" "CascadiaCode" "FiraCode" "DejaVuSansMono" ]; })
|
||||||
|
];
|
||||||
|
|
||||||
|
fonts.fontconfig.enable = true;
|
||||||
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
|
vimAlias = true;
|
||||||
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
auto-pairs
|
||||||
|
fzf-vim
|
||||||
|
lightline-vim
|
||||||
|
];
|
||||||
|
};
|
||||||
|
services.owncloud-client.enable = true;
|
||||||
|
}
|
13
home-manager/personal.nix
Normal file
13
home-manager/personal.nix
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [ ];
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "J. Fernando Sánchez";
|
||||||
|
userEmail = "balkian@gmail.com";
|
||||||
|
extraConfig = {
|
||||||
|
init.defaultBranch = "main";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@@ -66,6 +66,7 @@ bindsym $mod+q kill
|
|||||||
#bindsym $mod+Space exec --no-startup-id dmenu_run
|
#bindsym $mod+Space exec --no-startup-id dmenu_run
|
||||||
bindsym $mod+space exec --no-startup-id runmenu
|
bindsym $mod+space exec --no-startup-id runmenu
|
||||||
bindsym $mod+o exec --no-startup-id filemenu $HOME
|
bindsym $mod+o exec --no-startup-id filemenu $HOME
|
||||||
|
bindsym $mod+b exec btmenu
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
||||||
|
8
kitty/.config/kitty/open-actions.conf
Normal file
8
kitty/.config/kitty/open-actions.conf
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
protocol file
|
||||||
|
mime image/*
|
||||||
|
action launch --type=overlay kitten icat --hold ${FILE_PATH}
|
||||||
|
|
||||||
|
protocol file
|
||||||
|
ext log
|
||||||
|
action launch --title ${FILE} --type=os-window tail -f ${FILE_PATH}
|
||||||
|
action change_font_size current -2
|
11
ranger/.config/ranger/bookmarks.new
Normal file
11
ranger/.config/ranger/bookmarks.new
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
F:/home/j
|
||||||
|
f:/home/j
|
||||||
|
m:/home/j/Downloads
|
||||||
|
p:/home/j/Doctorado/Papers
|
||||||
|
s:/home/j/Doctorado/Papers/SocialContext
|
||||||
|
d:/home/j/Downloads
|
||||||
|
D:/home/j/Doctorado
|
||||||
|
o:/home/j/Downloads
|
||||||
|
g:/home/j/git/balkian
|
||||||
|
G:/home/j/GSI
|
||||||
|
j:/home/j/Downloads
|
19
scripts/.bin/btmenu
Executable file
19
scripts/.bin/btmenu
Executable file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if command -v myrofi >/dev/null 2>&1;
|
||||||
|
then
|
||||||
|
program="myrofi -no-show-icons -dmenu"
|
||||||
|
else
|
||||||
|
program="dmenu"
|
||||||
|
fi
|
||||||
|
|
||||||
|
bluetoothctl power on
|
||||||
|
bluetoothctl agent on
|
||||||
|
bluetoothctl default-agent
|
||||||
|
# bluetoothctl scan on
|
||||||
|
list=$(bluetoothctl paired-devices);
|
||||||
|
device=$(echo -ne "$list" | cut -d' ' -f 3- | $program "$@" )
|
||||||
|
|
||||||
|
addr=$(echo "$list" | grep "$device" | cut -d' ' -f2)
|
||||||
|
|
||||||
|
bluetoothctl connect "$addr"
|
@@ -21,12 +21,11 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v rofi >/dev/null 2>&1;
|
if command -v myrofi >/dev/null 2>&1;
|
||||||
then
|
then
|
||||||
launcher="rofi -dmenu -i -mesg '""$input""'"
|
myrofi -show file-browser $input
|
||||||
else
|
else
|
||||||
launcher="dmenu -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191
|
launcher="dmenu -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191
|
||||||
fi
|
|
||||||
|
|
||||||
# find "$input" -maxdepth 1 ! -path "$input" -print | sh -c "$launcher" | xargs $0
|
# find "$input" -maxdepth 1 ! -path "$input" -print | sh -c "$launcher" | xargs $0
|
||||||
ls -t1 "$input" | sh -c "$launcher" | xargs -I '{}' $0 "$input/{}"
|
ls -t1 "$input" | sh -c "$launcher" | xargs -I '{}' $0 "$input/{}"
|
||||||
|
fi
|
||||||
|
2
scripts/.bin/myrofi
Executable file
2
scripts/.bin/myrofi
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#1/bin/sh
|
||||||
|
rofi -theme ~/.bin/rofi-slate-theme.rasi -i "$@"
|
@@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if command -v rofi >/dev/null 2>&1;
|
if command -v myrofi >/dev/null 2>&1;
|
||||||
then
|
then
|
||||||
launcher="rofi -dmenu -i -mesg '""$input""'"
|
launcher="myrofi -dmenu -no-show-icons -i -mesg '""$input""'"
|
||||||
else
|
else
|
||||||
launcher="dmenu -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191
|
launcher="dmenu -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191
|
||||||
fi
|
fi
|
||||||
|
@@ -3,9 +3,9 @@
|
|||||||
shopt -s nullglob globstar
|
shopt -s nullglob globstar
|
||||||
|
|
||||||
|
|
||||||
if command -v rofi >/dev/null 2>&1;
|
if command -v myrofi >/dev/null 2>&1;
|
||||||
then
|
then
|
||||||
program="rofi -dmenu"
|
program="myrofi -no-show-icons -dmenu"
|
||||||
else
|
else
|
||||||
program="dmenu"
|
program="dmenu"
|
||||||
fi
|
fi
|
||||||
|
9
scripts/.bin/remove-old-snaps.sh
Normal file
9
scripts/.bin/remove-old-snaps.sh
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Removes old revisions of snaps
|
||||||
|
# CLOSE ALL SNAPS BEFORE RUNNING THIS
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
LANG=C snap list --all | awk '/disabled/{print $1, $3}' |
|
||||||
|
while read snapname revision; do
|
||||||
|
snap remove "$snapname" --revision="$revision"
|
||||||
|
done
|
36
scripts/.bin/rofi-black-colors.rasi
Normal file
36
scripts/.bin/rofi-black-colors.rasi
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
/* -- Gray -- */
|
||||||
|
|
||||||
|
* {
|
||||||
|
shade1: #000000;
|
||||||
|
shade2: #050505;
|
||||||
|
shade3: #101010;
|
||||||
|
shade4: #151515;
|
||||||
|
shade5: #202020;
|
||||||
|
shade6: #252525;
|
||||||
|
shade7: #303030;
|
||||||
|
shade8: #353535;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**** Comment One First To Use Another ****/
|
||||||
|
|
||||||
|
/* -- Dark -- */
|
||||||
|
* {
|
||||||
|
border: @shade2;
|
||||||
|
border-alt: @shade3;
|
||||||
|
background: @shade4;
|
||||||
|
background-alt: @shade5;
|
||||||
|
selected: @shade5;
|
||||||
|
foreground: #ffffff;
|
||||||
|
urgent: #DA4453;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -- light -- */
|
||||||
|
* {
|
||||||
|
border: @shade8;
|
||||||
|
border-alt: @shade7;
|
||||||
|
background: @shade6;
|
||||||
|
background-alt: @shade6;
|
||||||
|
selected: @shade5;
|
||||||
|
foreground: #ffffff;
|
||||||
|
urgent: #DA4453;
|
||||||
|
}
|
139
scripts/.bin/rofi-slate-theme.rasi
Normal file
139
scripts/.bin/rofi-slate-theme.rasi
Normal file
@@ -0,0 +1,139 @@
|
|||||||
|
/*
|
||||||
|
* Based on a theme by:
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya
|
||||||
|
* Mail : adi1090x@gmail.com
|
||||||
|
* Github : @adi1090x
|
||||||
|
* Twitter : @adi1090x
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
configuration {
|
||||||
|
font: "FantasqueSansMono Nerd Font 10";
|
||||||
|
show-icons: true;
|
||||||
|
icon-theme: "Papirus";
|
||||||
|
display-drun: "";
|
||||||
|
drun-display-format: "{name}";
|
||||||
|
disable-history: false;
|
||||||
|
fullscreen: false;
|
||||||
|
hide-scrollbar: false;
|
||||||
|
sidebar-mode: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@import "rofi-black-colors.rasi"
|
||||||
|
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
background-color: @background;
|
||||||
|
text-color: @foreground;
|
||||||
|
border: 2% 1% 2% 1%;
|
||||||
|
border-color: @border;
|
||||||
|
border-radius: 0% 0% 0% 0%;
|
||||||
|
height: 70%;
|
||||||
|
width: 70%;
|
||||||
|
location: center;
|
||||||
|
x-offset: 0;
|
||||||
|
y-offset: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 0% 1% 0% 0%;
|
||||||
|
background-color: @background;
|
||||||
|
text-color: @foreground;
|
||||||
|
font: "FantasqueSansMono Nerd Font 12";
|
||||||
|
}
|
||||||
|
|
||||||
|
entry {
|
||||||
|
background-color: @background;
|
||||||
|
text-color: @foreground;
|
||||||
|
placeholder-color: @foreground;
|
||||||
|
expand: true;
|
||||||
|
horizontal-align: 0;
|
||||||
|
placeholder: "Search";
|
||||||
|
padding: 0.15% 0% 0% 0%;
|
||||||
|
blink: true;
|
||||||
|
}
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
children: [ prompt, entry ];
|
||||||
|
background-color: @background;
|
||||||
|
text-color: @foreground;
|
||||||
|
expand: false;
|
||||||
|
border: 0% 0% 0.3% 0%;
|
||||||
|
border-radius: 0% 0% 0% 0%;
|
||||||
|
border-color: @border-alt;
|
||||||
|
margin: 0% 38.25% 0% 0%;
|
||||||
|
padding: 1%;
|
||||||
|
position: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
listview {
|
||||||
|
background-color: @background;
|
||||||
|
columns: 8;
|
||||||
|
spacing: 1%;
|
||||||
|
cycle: false;
|
||||||
|
dynamic: true;
|
||||||
|
layout: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
background-color: @background;
|
||||||
|
border: 2% 1% 2% 1%;
|
||||||
|
border-radius: 0% 0% 0% 0%;
|
||||||
|
border-color: @border-alt;
|
||||||
|
children: [ inputbar, listview ];
|
||||||
|
spacing: 2%;
|
||||||
|
padding: 6% 3% 6% 3%;
|
||||||
|
}
|
||||||
|
|
||||||
|
element {
|
||||||
|
background-color: @background;
|
||||||
|
text-color: @foreground;
|
||||||
|
orientation: vertical;
|
||||||
|
border-radius: 0%;
|
||||||
|
padding: 1% 0% 1% 0%;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-icon {
|
||||||
|
size: 64px;
|
||||||
|
border: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-text {
|
||||||
|
expand: true;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
margin: 0.5% 1% 0% 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent {
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @foreground;
|
||||||
|
border-radius: 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active {
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected {
|
||||||
|
background-color: @selected;
|
||||||
|
text-color: @foreground;
|
||||||
|
border: 0% 0% 0.3% 0%;
|
||||||
|
border-radius: 0% 0% 0% 0%;
|
||||||
|
border-color: @border-alt;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.active {
|
||||||
|
background-color: @background-alt;
|
||||||
|
color: @foreground;
|
||||||
|
}
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
if command -v rofi >/dev/null 2>&1;
|
if command -v rofi >/dev/null 2>&1;
|
||||||
then
|
then
|
||||||
launcher="rofi -show combi -combi-hide-mode-prefix -combi-modi drun,run"
|
launcher="rofi -show combi -combi-hide-mode-prefix -combi-modi window,drun,run -theme .bin/rofi-slate-theme.rasi"
|
||||||
else
|
else
|
||||||
launcher="dmenu_run -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191919" -sf "#b72f62" -b"
|
launcher="dmenu_run -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191919" -sf "#b72f62" -b"
|
||||||
fi
|
fi
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
if command -v rofi >/dev/null 2>&1;
|
if command -v rofi >/dev/null 2>&1;
|
||||||
then
|
then
|
||||||
program="rofi -show window"
|
program="rofi -show window -combi-hide-mode-prefix -combi-modi drun,run -theme .bin/rofi-slate-theme.rasi"
|
||||||
else
|
else
|
||||||
program="i3-winmenu.py"
|
program="i3-winmenu.py"
|
||||||
fi
|
fi
|
||||||
|
5
starship/.config/starship.toml
Normal file
5
starship/.config/starship.toml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Get editor completions based on the config schema
|
||||||
|
"$schema" = 'https://starship.rs/config-schema.json'
|
||||||
|
|
||||||
|
# Inserts a blank line between shell prompts
|
||||||
|
add_newline = false
|
16
wezterm/.wezterm.lua
Normal file
16
wezterm/.wezterm.lua
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
local wezterm = require 'wezterm'
|
||||||
|
local config = {}
|
||||||
|
|
||||||
|
config.font = wezterm.font 'Iosevka Nerd Font'
|
||||||
|
config.show_tab_index_in_tab_bar = true
|
||||||
|
|
||||||
|
-- wezterm.on('update-right-status', function(window, pane)
|
||||||
|
-- window:set_left_status 'left'
|
||||||
|
-- window:set_right_status 'right'
|
||||||
|
-- end)
|
||||||
|
|
||||||
|
config.use_fancy_tab_bar = true
|
||||||
|
config.show_tabs_in_tab_bar = false
|
||||||
|
config.show_new_tab_button_in_tab_bar = false
|
||||||
|
|
||||||
|
return config
|
@@ -54,3 +54,4 @@ export PATH=$PATH:$GOPATH/bin/:$HOME/.npm/bin
|
|||||||
|
|
||||||
export WASMTIME_HOME="$HOME/.wasmtime"
|
export WASMTIME_HOME="$HOME/.wasmtime"
|
||||||
export PATH="$WASMTIME_HOME/bin:$PATH"
|
export PATH="$WASMTIME_HOME/bin:$PATH"
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
Reference in New Issue
Block a user