From 553530387aaf6a442a33eba3f7b43b8911fc4bb8 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 7 Mar 2021 22:40:28 +0100 Subject: Add new arch configs, messed up color theme --- .config/alacritty/alacritty.yml | 72 +++-- .config/leftwm/config.toml | 212 ++++++++++++++ .../leftwm/themes/basic_lemonbar/background.jpg | Bin 0 -> 294696 bytes .config/leftwm/themes/basic_lemonbar/change_to_tag | 2 + .config/leftwm/themes/basic_lemonbar/down | 16 ++ .config/leftwm/themes/basic_lemonbar/down.jpg | Bin 0 -> 539 bytes .config/leftwm/themes/basic_lemonbar/sizes.liquid | 3 + .../leftwm/themes/basic_lemonbar/template.liquid | 18 ++ .config/leftwm/themes/basic_lemonbar/theme.toml | 5 + .config/leftwm/themes/basic_lemonbar/up | 39 +++ .config/nvim/general/settings.vim | 9 + .config/nvim/init.vim | 4 +- .config/nvim/lua/statusline.lua | 7 +- .config/nvim/vim-plug/plugins.vim | 7 +- .config/rofi/config.rasi | 314 +++++++++++++++++++++ .config/tmux/.tmux.conf | 4 +- .config/zsh/exports.zsh | 4 + .config/zsh/programs.zsh | 4 +- .zshrc | 3 + README.md | 3 +- 20 files changed, 687 insertions(+), 39 deletions(-) create mode 100644 .config/leftwm/config.toml create mode 100644 .config/leftwm/themes/basic_lemonbar/background.jpg create mode 100755 .config/leftwm/themes/basic_lemonbar/change_to_tag create mode 100755 .config/leftwm/themes/basic_lemonbar/down create mode 100644 .config/leftwm/themes/basic_lemonbar/down.jpg create mode 100644 .config/leftwm/themes/basic_lemonbar/sizes.liquid create mode 100644 .config/leftwm/themes/basic_lemonbar/template.liquid create mode 100644 .config/leftwm/themes/basic_lemonbar/theme.toml create mode 100755 .config/leftwm/themes/basic_lemonbar/up create mode 100644 .config/rofi/config.rasi diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index a106a7e..b1400ea 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -1,35 +1,55 @@ # draw_bold_text_with_bright_colors: true # Set this if using macOS -alt_send_esc: false +# alt_send_esc: false -# Colors (Base16 Default Dark) colors: - # Default colors primary: - background: '0x03050c' - foreground: '0xc5c8c6' - - # Normal colors + background: '#07090b' + foreground: '#d8dee9' + dim_foreground: '#a5abb6' + cursor: + text: '#2e3440' + cursor: '#d8dee9' + vi_mode_cursor: + text: '#2e3440' + cursor: '#d8dee9' + selection: + text: CellForeground + background: '#4c566a' + search: + matches: + foreground: CellBackground + background: '#88c0d0' + bar: + background: '#434c5e' + foreground: '#d8dee9' normal: - black: '0x282a2e' - red: '0xa54242' - green: '0x8c9440' - yellow: '0xe69862' - blue: '0x5f819d' - magenta: '0x85678f' - cyan: '0x5e8d87' - white: '0x707880' - - # Bright colors + black: '#3b4252' + red: '#bf616a' + green: '#a3be8c' + yellow: '#ebcb8b' + blue: '#81a1c1' + magenta: '#b48ead' + cyan: '#88c0d0' + white: '#e5e9f0' bright: - black: '0x373b41' - red: '0xcc6666' - green: '0x68a2bd' - yellow: '0xf0c674' - blue: '0x81a2be' - magenta: '0xb294bb' - cyan: '0x8abeb7' - white: '0xc5c8c6' + black: '#4c566a' + red: '#bf616a' + green: '#a3be8c' + yellow: '#ebcb8b' + blue: '#81a1c1' + magenta: '#b48ead' + cyan: '#8fbcbb' + white: '#eceff4' + dim: + black: '#373e4d' + red: '#94545d' + green: '#809575' + yellow: '#b29e75' + blue: '#68809a' + magenta: '#8c738c' + cyan: '#6d96a5' + white: '#aeb3bb' background_opacity: 1.0 @@ -51,7 +71,7 @@ font: family: SpaceMono Nerd Font # Style can be specified to pick a specific face. # style: Italic - size: 12.0 + size: 10.0 offset: x: 0 diff --git a/.config/leftwm/config.toml b/.config/leftwm/config.toml new file mode 100644 index 0000000..89511f9 --- /dev/null +++ b/.config/leftwm/config.toml @@ -0,0 +1,212 @@ +modkey = "Mod4" +workspaces = [] +tags = ["1", "2", "3", "4", "5", "6", "7", "8", "9"] + +[[keybind]] +command = "Execute" +value = "dmenu_run" +modifier = ["modkey"] +key = "p" + +[[keybind]] +command = "Execute" +value = "alacritty" +modifier = ["modkey", "Shift"] +key = "Return" + +[[keybind]] +command = "Execute" +value = "rofi -modi drun -show drun -show-icons" +modifier = ["modkey"] +key = "space" + +[[keybind]] +command = "Execute" +value = "brave" +modifier = ["modkey", "Shift"] +key = "b" + +[[keybind]] +command = "CloseWindow" +modifier = ["modkey", "Shift"] +key = "q" + +[[keybind]] +command = "SoftReload" +modifier = ["modkey", "Shift"] +key = "r" + +[[keybind]] +command = "Execute" +value = "pkill leftwm" +modifier = ["modkey", "Shift"] +key = "x" + +[[keybind]] +command = "Execute" +value = "slock" +modifier = ["modkey", "Control"] +key = "l" + +[[keybind]] +command = "MoveToLastWorkspace" +modifier = ["modkey", "Shift"] +key = "w" + +[[keybind]] +command = "SwapTags" +modifier = ["modkey"] +key = "w" + +[[keybind]] +command = "MoveWindowUp" +modifier = ["modkey", "Shift"] +key = "k" + +[[keybind]] +command = "MoveWindowDown" +modifier = ["modkey", "Shift"] +key = "j" + +[[keybind]] +command = "MoveWindowTop" +modifier = ["modkey"] +key = "Return" + +[[keybind]] +command = "FocusWindowUp" +modifier = ["modkey"] +key = "k" + +[[keybind]] +command = "FocusWindowDown" +modifier = ["modkey"] +key = "j" + +[[keybind]] +command = "NextLayout" +modifier = ["modkey", "Control"] +key = "k" + +[[keybind]] +command = "PreviousLayout" +modifier = ["modkey", "Control"] +key = "j" + +[[keybind]] +command = "FocusWorkspaceNext" +modifier = ["modkey"] +key = "l" + +[[keybind]] +command = "FocusWorkspacePrevious" +modifier = ["modkey"] +key = "h" + +[[keybind]] +command = "GotoTag" +value = "1" +modifier = ["modkey"] +key = "1" + +[[keybind]] +command = "GotoTag" +value = "2" +modifier = ["modkey"] +key = "2" + +[[keybind]] +command = "GotoTag" +value = "3" +modifier = ["modkey"] +key = "3" + +[[keybind]] +command = "GotoTag" +value = "4" +modifier = ["modkey"] +key = "4" + +[[keybind]] +command = "GotoTag" +value = "5" +modifier = ["modkey"] +key = "5" + +[[keybind]] +command = "GotoTag" +value = "6" +modifier = ["modkey"] +key = "6" + +[[keybind]] +command = "GotoTag" +value = "7" +modifier = ["modkey"] +key = "7" + +[[keybind]] +command = "GotoTag" +value = "8" +modifier = ["modkey"] +key = "8" + +[[keybind]] +command = "GotoTag" +value = "9" +modifier = ["modkey"] +key = "9" + +[[keybind]] +command = "MoveToTag" +value = "1" +modifier = ["modkey", "Shift"] +key = "1" + +[[keybind]] +command = "MoveToTag" +value = "2" +modifier = ["modkey", "Shift"] +key = "2" + +[[keybind]] +command = "MoveToTag" +value = "3" +modifier = ["modkey", "Shift"] +key = "3" + +[[keybind]] +command = "MoveToTag" +value = "4" +modifier = ["modkey", "Shift"] +key = "4" + +[[keybind]] +command = "MoveToTag" +value = "5" +modifier = ["modkey", "Shift"] +key = "5" + +[[keybind]] +command = "MoveToTag" +value = "6" +modifier = ["modkey", "Shift"] +key = "6" + +[[keybind]] +command = "MoveToTag" +value = "7" +modifier = ["modkey", "Shift"] +key = "7" + +[[keybind]] +command = "MoveToTag" +value = "8" +modifier = ["modkey", "Shift"] +key = "8" + +[[keybind]] +command = "MoveToTag" +value = "9" +modifier = ["modkey", "Shift"] +key = "9" diff --git a/.config/leftwm/themes/basic_lemonbar/background.jpg b/.config/leftwm/themes/basic_lemonbar/background.jpg new file mode 100644 index 0000000..3b35885 Binary files /dev/null and b/.config/leftwm/themes/basic_lemonbar/background.jpg differ diff --git a/.config/leftwm/themes/basic_lemonbar/change_to_tag b/.config/leftwm/themes/basic_lemonbar/change_to_tag new file mode 100755 index 0000000..8b64075 --- /dev/null +++ b/.config/leftwm/themes/basic_lemonbar/change_to_tag @@ -0,0 +1,2 @@ +#!/bin/bash +echo "SendWorkspaceToTag $1 $2" > $XDG_RUNTIME_DIR/leftwm/commands.pipe diff --git a/.config/leftwm/themes/basic_lemonbar/down b/.config/leftwm/themes/basic_lemonbar/down new file mode 100755 index 0000000..c088a2b --- /dev/null +++ b/.config/leftwm/themes/basic_lemonbar/down @@ -0,0 +1,16 @@ +#!/bin/bash + +SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" + +#set background +if [ -x "$(command -v feh)" ]; then + feh --bg-scale $SCRIPTPATH/down.jpg +fi + +echo "UnloadTheme" > $XDG_RUNTIME_DIR/leftwm/commands.pipe + +pkill lemonbar +pkill compton +pkill picom +pkill lemonbar + diff --git a/.config/leftwm/themes/basic_lemonbar/down.jpg b/.config/leftwm/themes/basic_lemonbar/down.jpg new file mode 100644 index 0000000..da757f7 Binary files /dev/null and b/.config/leftwm/themes/basic_lemonbar/down.jpg differ diff --git a/.config/leftwm/themes/basic_lemonbar/sizes.liquid b/.config/leftwm/themes/basic_lemonbar/sizes.liquid new file mode 100644 index 0000000..1d731bd --- /dev/null +++ b/.config/leftwm/themes/basic_lemonbar/sizes.liquid @@ -0,0 +1,3 @@ +{% for workspace in workspaces %} +{{workspace.w}}x{{34}}+{{workspace.x}}+{{workspace.y}} +{% endfor %} diff --git a/.config/leftwm/themes/basic_lemonbar/template.liquid b/.config/leftwm/themes/basic_lemonbar/template.liquid new file mode 100644 index 0000000..eb547f3 --- /dev/null +++ b/.config/leftwm/themes/basic_lemonbar/template.liquid @@ -0,0 +1,18 @@ +{% assign mine_open = '%{F#000000}%{B#FFFFFF}' %} +{% assign mine_close = '%{B-}%{F-}' %} +{% assign visible_open = '%{F#000000}%{B#999999}' %} +{% assign visible_close = '%{B-}%{F-}' %} + +{% for tag in workspace.tags %} +{% if tag.mine %} +{{mine_open}} {{ tag.name }} {{mine_close}} +{% elsif tag.visible %} +{{visible_open}} {{ tag.name }} {{visible_close}} +{% else tag.visible %} + {{ tag.name }} +{% endif %} +{% endfor %} +%{c} +{{ window_title }} +%{r} +{{ localtime }} diff --git a/.config/leftwm/themes/basic_lemonbar/theme.toml b/.config/leftwm/themes/basic_lemonbar/theme.toml new file mode 100644 index 0000000..8d8df34 --- /dev/null +++ b/.config/leftwm/themes/basic_lemonbar/theme.toml @@ -0,0 +1,5 @@ +border_width = 1 +margin = 10 +default_border_color = "#222222" +floating_border_color = "#555555" +focused_border_color = "#AAAAAA" diff --git a/.config/leftwm/themes/basic_lemonbar/up b/.config/leftwm/themes/basic_lemonbar/up new file mode 100755 index 0000000..c8f49d1 --- /dev/null +++ b/.config/leftwm/themes/basic_lemonbar/up @@ -0,0 +1,39 @@ +#!/bin/bash +SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" + + +#down the last running theme +if [ -f "/tmp/leftwm-theme-down" ]; then + /tmp/leftwm-theme-down + rm /tmp/leftwm-theme-down +fi +ln -s $SCRIPTPATH/down /tmp/leftwm-theme-down + + +#boot compton or picom if it exists +if [ -x "$(command -v compton)" ]; then + compton &> /dev/null & +elif [ -x "$(command -v picom)" ]; then + picom &> /dev/null & +fi + +#set the theme.toml config +echo "LoadTheme $SCRIPTPATH/theme.toml" > $XDG_RUNTIME_DIR/leftwm/commands.pipe + + +#set background +if [ -x "$(command -v feh)" ]; then + feh --bg-scale $SCRIPTPATH/background.jpg +fi + + +#boot lemonbar and pipe the status of left into it +sizes=( $(leftwm-state -q -n -t $SCRIPTPATH/sizes.liquid | sed -r '/^\s*$/d') ) + +index=0 +for size in "${sizes[@]}" +do + leftwm-state -w $index -t $SCRIPTPATH/template.liquid | lemonbar -g $size -F#FFFFFFFF -B#AA222222& + let index=index+1 +done + diff --git a/.config/nvim/general/settings.vim b/.config/nvim/general/settings.vim index 47066ef..b348267 100644 --- a/.config/nvim/general/settings.vim +++ b/.config/nvim/general/settings.vim @@ -45,3 +45,12 @@ au CursorHold * checktime " You can't stop me cmap w!! w !sudo tee % + +" Relative line numbers +:set number relativenumber + +:augroup numbertoggle +: autocmd! +: autocmd BufEnter,FocusGained,InsertLeave * set relativenumber +: autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber +:augroup END diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index bd6f82e..ed7a0b6 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -33,9 +33,9 @@ source $HOME/.config/nvim/plug-config/telescope.vim luafile $HOME/.config/nvim/lua/statusline.lua source $HOME/.config/nvim/plug-config/vim-bbye.vim source $HOME/.config/nvim/plug-config/vim-commentary.vim +source $HOME/.config/nvim/plug-config/vim-pydocstring.vim source $HOME/.config/nvim/plug-config/vimwiki.vim " Theme source $HOME/.config/nvim/themes/githubsy.vim -" source $HOME/.config/nvim/themes/spaceway.vim - +" source $HOME/.config/nvim/themes/nord.vim diff --git a/.config/nvim/lua/statusline.lua b/.config/nvim/lua/statusline.lua index 99904d9..5e88ec0 100644 --- a/.config/nvim/lua/statusline.lua +++ b/.config/nvim/lua/statusline.lua @@ -22,9 +22,9 @@ local one_dark_colors = { } local nord_colors = { - bg = "0x03050c", # "#2E3440", + bg = "#2E3440", fg = "#81A1C1", - line_bg = "0x03050c", # "#2E3440", + line_bg = "#2E3440", fg_green = "#8FBCBB", yellow = "#EBCB8B", cyan = "#A3BE8C", @@ -247,6 +247,3 @@ section.short_line_right[1] = { highlight = {nord_colors.fg,nord_colors.bg} } } - - - diff --git a/.config/nvim/vim-plug/plugins.vim b/.config/nvim/vim-plug/plugins.vim index 5e306f9..6a05ad7 100644 --- a/.config/nvim/vim-plug/plugins.vim +++ b/.config/nvim/vim-plug/plugins.vim @@ -39,7 +39,10 @@ call plug#begin('~/.config/nvim/autoload/plugged') " FZF "Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } "Plug 'junegunn/fzf.vim' - + + " Skim fuzzy finder + Plug 'lotabout/skim', { 'dir': '~/.skim', 'do': './install' } + " Rooter changes the working directory to the project root when you open a file or directory. "Plug 'airblade/vim-rooter' @@ -103,6 +106,8 @@ call plug#begin('~/.config/nvim/autoload/plugged') " Intuitive buffer closing Plug 'moll/vim-bbye' + " Pydocstring + Plug 'heavenshell/vim-pydocstring', { 'do': 'make install' } " Vim wiki for notes Plug 'vimwiki/vimwiki' diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..be88f37 --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,314 @@ +configuration { + modi: "window,run,drun,ssh,combi,keys"; +/* width: 50;*/ +/* lines: 15;*/ +/* columns: 1;*/ + font: "SpaceMono Nerd Font 12"; +/* bw: 1;*/ +/* location: 0;*/ +/* padding: 5;*/ +/* yoffset: 0;*/ +/* xoffset: 0;*/ +/* fixed-num-lines: true;*/ +/* show-icons: false;*/ + terminal: "alacritty"; +/* ssh-client: "ssh";*/ +/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/ +/* run-command: "{cmd}";*/ +/* run-list-command: "";*/ +/* run-shell-command: "{terminal} -e {cmd}";*/ +/* window-command: "wmctrl -i -R {window}";*/ +/* window-match-fields: "all";*/ +/* icon-theme: ;*/ +/* drun-match-fields: "name,generic,exec,categories,keywords";*/ +/* drun-categories: ;*/ +/* drun-show-actions: false;*/ +/* drun-display-format: "{name} [({generic})]";*/ +/* drun-url-launcher: "xdg-open";*/ +/* disable-history: false;*/ +/* ignored-prefixes: "";*/ +/* sort: false;*/ +/* sorting-method: "normal";*/ +/* case-sensitive: false;*/ +/* cycle: true;*/ +/* sidebar-mode: false;*/ +/* eh: 1;*/ +/* auto-select: false;*/ +/* parse-hosts: false;*/ +/* parse-known-hosts: true;*/ +/* combi-modi: "window,run";*/ +/* matching: "normal";*/ +/* tokenize: true;*/ +/* m: "-5";*/ +/* line-margin: 2;*/ +/* line-padding: 1;*/ +/* filter: ;*/ +/* separator-style: "dash";*/ +/* hide-scrollbar: false;*/ +/* fullscreen: false;*/ +/* fake-transparency: false;*/ +/* dpi: -1;*/ +/* threads: 0;*/ +/* scrollbar-width: 8;*/ +/* scroll-method: 0;*/ +/* fake-background: "screenshot";*/ +/* window-format: "{w} {c} {t}";*/ +/* click-to-exit: true;*/ +/* show-match: true;*/ +/* theme: ;*/ +/* color-normal: ;*/ +/* color-urgent: ;*/ +/* color-active: ;*/ +/* color-window: ;*/ +/* max-history-size: 25;*/ +/* combi-hide-mode-prefix: false;*/ +/* matching-negate-char: '-' /* unsupported */;*/ +/* cache-dir: ;*/ +/* window-thumbnail: false;*/ +/* drun-use-desktop-cache: false;*/ +/* drun-reload-desktop-cache: false;*/ +/* normalize-match: false;*/ +/* pid: "/run/user/1000/rofi.pid";*/ +/* display-window: ;*/ +/* display-windowcd: ;*/ +/* display-run: ;*/ +/* display-ssh: ;*/ +/* display-drun: ;*/ +/* display-combi: ;*/ +/* display-keys: ;*/ +/* display-file-browser: ;*/ +/* kb-primary-paste: "Control+V,Shift+Insert";*/ +/* kb-secondary-paste: "Control+v,Insert";*/ +/* kb-clear-line: "Control+w";*/ +/* kb-move-front: "Control+a";*/ +/* kb-move-end: "Control+e";*/ +/* kb-move-word-back: "Alt+b,Control+Left";*/ +/* kb-move-word-forward: "Alt+f,Control+Right";*/ +/* kb-move-char-back: "Left,Control+b";*/ +/* kb-move-char-forward: "Right,Control+f";*/ +/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/ +/* kb-remove-word-forward: "Control+Alt+d";*/ +/* kb-remove-char-forward: "Delete,Control+d";*/ +/* kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";*/ +/* kb-remove-to-eol: "Control+k";*/ +/* kb-remove-to-sol: "Control+u";*/ +/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/ +/* kb-accept-custom: "Control+Return";*/ +/* kb-accept-alt: "Shift+Return";*/ +/* kb-delete-entry: "Shift+Delete";*/ +/* kb-mode-next: "Shift+Right,Control+Tab";*/ +/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/ +/* kb-row-left: "Control+Page_Up";*/ +/* kb-row-right: "Control+Page_Down";*/ +/* kb-row-up: "Up,Control+p,ISO_Left_Tab";*/ +/* kb-row-down: "Down,Control+n";*/ +/* kb-row-tab: "Tab";*/ +/* kb-page-prev: "Page_Up";*/ +/* kb-page-next: "Page_Down";*/ +/* kb-row-first: "Home,KP_Home";*/ +/* kb-row-last: "End,KP_End";*/ +/* kb-row-select: "Control+space";*/ +/* kb-screenshot: "Alt+S";*/ +/* kb-ellipsize: "Alt+period";*/ +/* kb-toggle-case-sensitivity: "grave,dead_grave";*/ +/* kb-toggle-sort: "Alt+grave";*/ +/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/ +/* kb-custom-1: "Alt+1";*/ +/* kb-custom-2: "Alt+2";*/ +/* kb-custom-3: "Alt+3";*/ +/* kb-custom-4: "Alt+4";*/ +/* kb-custom-5: "Alt+5";*/ +/* kb-custom-6: "Alt+6";*/ +/* kb-custom-7: "Alt+7";*/ +/* kb-custom-8: "Alt+8";*/ +/* kb-custom-9: "Alt+9";*/ +/* kb-custom-10: "Alt+0";*/ +/* kb-custom-11: "Alt+exclam";*/ +/* kb-custom-12: "Alt+at";*/ +/* kb-custom-13: "Alt+numbersign";*/ +/* kb-custom-14: "Alt+dollar";*/ +/* kb-custom-15: "Alt+percent";*/ +/* kb-custom-16: "Alt+dead_circumflex";*/ +/* kb-custom-17: "Alt+ampersand";*/ +/* kb-custom-18: "Alt+asterisk";*/ +/* kb-custom-19: "Alt+parenleft";*/ +/* kb-select-1: "Super+1";*/ +/* kb-select-2: "Super+2";*/ +/* kb-select-3: "Super+3";*/ +/* kb-select-4: "Super+4";*/ +/* kb-select-5: "Super+5";*/ +/* kb-select-6: "Super+6";*/ +/* kb-select-7: "Super+7";*/ +/* kb-select-8: "Super+8";*/ +/* kb-select-9: "Super+9";*/ +/* kb-select-10: "Super+0";*/ +/* ml-row-left: "ScrollLeft";*/ +/* ml-row-right: "ScrollRight";*/ +/* ml-row-up: "ScrollUp";*/ +/* ml-row-down: "ScrollDown";*/ +/* me-select-entry: "MousePrimary";*/ +/* me-accept-entry: "MouseDPrimary";*/ +/* me-accept-custom: "Control+MouseDPrimary";*/ +} + + +//---------------------- +// Theme Settings +//---------------------- + +//---------------------- +// Colors +//---------------------- + +* { + nord0: #2E3440; + nord1: #3B4252; + nord2: #434C5E; + nord3: #4C566A; + nord4: #D8DEE9; + nord5: #E5E9F0; + nord6: #ECEFF4; + nord7: #8FBCBB; + nord8: #88C0D0; + nord9: #81A1C1; + nord10: #5E81AC; + nord11: #BF616A; + nord12: #D08770; + nord13: #EBCB8B; + nord14: #A3BE8C; + nord15: #B48EAD; + background: @nord0; + foreground: @nord4; + selected-normal-foreground: @nord4; + normal-foreground: @foreground; + alternate-normal-background: @nord0; + selected-urgent-foreground: @nord4; + urgent-foreground: @foreground; + alternate-urgent-background: @nord0; + active-foreground: @foreground; + selected-active-foreground: @foreground; + alternate-active-background: @nord0; + bordercolor: @nord10; + alternate-normal-foreground: @foreground; + normal-background: @background; + selected-normal-background: @nord3; + border-color: @nord10; + spacing: 2; + separatorcolor: @blue; + urgent-background: @background; + selected-urgent-background: @nord3; + alternate-urgent-foreground: @urgent-foreground; + background-color: @background; + alternate-active-foreground: @active-foreground; + active-background: @background; + selected-active-background: @nord3; +} + + + +//---------------------- +// Style +//---------------------- + +#window { + background-color: @background; +} + +#mainbox { + border: 2; + padding: 10; +} + +#message { + border: 2px 2px 2px ; + border-color: @separatorcolor; + padding: 10 ; +} + +#textbox { + text-color: @foreground; +} + +#listview { + fixed-height: 0; + padding: 5 0 0; + spacing: 5px ; +} + +#element { + border: 0; + padding: 5px ; +} + +#element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} + +#element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +#element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} + +#element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} + +#element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} + +#element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} + +#element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} + +#element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} + +#element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} + +#button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} + +#inputbar { + spacing: 5; + text-color: @normal-foreground; + padding: 5px ; + border: 0 0 1; + border-color: @separatorcolor; +} + +#case-indicator { + spacing: 0; + text-color: @normal-foreground; +} + +#entry { + spacing: 0; + text-color: @normal-foreground; +} + +#prompt { + spacing: 0; + text-color: @normal-foreground; +} diff --git a/.config/tmux/.tmux.conf b/.config/tmux/.tmux.conf index 79010f3..b9ee7b5 100644 --- a/.config/tmux/.tmux.conf +++ b/.config/tmux/.tmux.conf @@ -89,8 +89,8 @@ setw -g mouse on #setw -g alternate-screen on # split panes using | and - -bind | split-window -h -bind - split-window -v +bind v split-window -h +bind h split-window -v unbind '"' unbind % diff --git a/.config/zsh/exports.zsh b/.config/zsh/exports.zsh index 243db8b..228cb84 100644 --- a/.config/zsh/exports.zsh +++ b/.config/zsh/exports.zsh @@ -28,5 +28,9 @@ export CLICOLOR=1 export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" PATH=$(pyenv root)/shims:$PATH +eval "$(pyenv init -)" + +# Rust +export PATH="$HOME/.cargo/bin:$PATH" export GEM_HOME="$HOME/.gem" diff --git a/.config/zsh/programs.zsh b/.config/zsh/programs.zsh index ba79461..d8e827e 100644 --- a/.config/zsh/programs.zsh +++ b/.config/zsh/programs.zsh @@ -36,7 +36,7 @@ else echo "install procs" fi -if ! command -v ytop > /dev/null; then - echo "install ytop" +if ! command -v btm > /dev/null; then + echo "install bottom" fi diff --git a/.zshrc b/.zshrc index 36086e1..fd86808 100644 --- a/.zshrc +++ b/.zshrc @@ -9,3 +9,6 @@ [ -f $HOME/.config/zsh/keybindings.zsh ] && source $HOME/.config/zsh/keybindings.zsh [ -f $HOME/.config/zsh/programs.zsh ] && source $HOME/.config/zsh/programs.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh + +# Created by `pipx` on 2021-03-01 21:32:03 +export PATH="$PATH:/home/aktersnurra/.local/bin" diff --git a/README.md b/README.md index 06ed88c..39711df 100644 --- a/README.md +++ b/README.md @@ -123,5 +123,6 @@ https://github.com/koekeishiya/yabai https://github.com/koekeishiya/skhd # TODO - +* Write install man page +* Setup dotfiles man like https://www.atlassian.com/git/tutorials/dotfiles * auto install missing packages. -- cgit v1.2.3-70-g09d2