From 40c6e1c4b08b921836e5d0e0d351c0bf74e1acc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?c=C4=83t=C4=83lin?= Date: Thu, 19 Jan 2023 16:51:58 +0100 Subject: [PATCH 01/78] wip: add dezzai dotfiles --- .dotter/global.toml | 3 +- bspwm/bspwmrc | 10 +- fish/conf.d/aliases.fish | 3 +- greenclip.toml | 12 ++ quickmarks | 13 -- qute => qutebrowser/config.py | 2 + qutebrowser/quickmarks | 5 + qutebrowser/qutewal.py | 350 ++++++++++++++++++++++++++++++++++ sxhkd/sxhkdrc | 12 +- utils/set-monitors.sh | 4 +- 10 files changed, 387 insertions(+), 27 deletions(-) create mode 100644 greenclip.toml delete mode 100644 quickmarks rename qute => qutebrowser/config.py (66%) create mode 100644 qutebrowser/quickmarks create mode 100644 qutebrowser/qutewal.py diff --git a/.dotter/global.toml b/.dotter/global.toml index 649f65c..22bf9d9 100644 --- a/.dotter/global.toml +++ b/.dotter/global.toml @@ -9,6 +9,5 @@ polybar = "~/.config/polybar" walls = "~/Pictures/walls" utils = "~/.local/bin/185504a9-utils/" ideavim = "~/.ideavimrc" -qute = "~/.config/qutebrowser/config.py" -quickmarks = "~/.config/qutebrowser/quickmarks" +qutebrowser = "~/.config/qutebrowser" chaakoo = "~/.config/chaakoo/" diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc index a6e42a0..9eab209 100755 --- a/bspwm/bspwmrc +++ b/bspwm/bspwmrc @@ -5,22 +5,24 @@ #### sxhkd & -wal -i ~/Pictures/walls/odin-dark.jpg -. "${HOME}/.cache/wal/colors.sh" +wal -i ~/Pictures/walls/vapor4.jpg & +feh --bg-fill ~/Pictures/walls/vapor4.jpg & +. "${HOME}/.cache/00-80s.jpg" & compton & ~/.config/polybar/launch.sh pidof dunst && killall dunst && dunst &-c ~/.config/dunst/dunstrc > /dev/null 2>&1 & xsetroot -cursor_name left_ptr & wmname LG3D & +greenclip daemon & bspc monitor -d eDP-1 1 2 3 4 -bspc monitor -d HDMI-1 5 6 7 8 9 +bspc monitor -d HDMI-2 5 6 7 8 9 #### #### bspwm #### -~/.builds/bin/set-monitors.sh +#~/.builds/bin/set-monitors.sh bspc config border_width 5 bspc config window_gap 8 diff --git a/fish/conf.d/aliases.fish b/fish/conf.d/aliases.fish index e1bbc80..5bacafa 100644 --- a/fish/conf.d/aliases.fish +++ b/fish/conf.d/aliases.fish @@ -1,3 +1,4 @@ alias ls 'exa -alh' alias cat 'batcat' -alias cva 'chaakoo -c $HOME/.config/chaakoo/sls_offline.yml 2> /dev/null ; tmux a -t sls-offline' +alias g 'git' +alias rm 'trash' diff --git a/greenclip.toml b/greenclip.toml new file mode 100644 index 0000000..72c220d --- /dev/null +++ b/greenclip.toml @@ -0,0 +1,12 @@ +[greenclip] + history_file = "/home/erebe/.cache/greenclip.history" + max_history_length = 50 + max_selection_size_bytes = 0 + trim_space_from_selection = true + use_primary_selection_as_input = false + blacklisted_applications = [] + enable_image_support = true + image_cache_directory = "/tmp/greenclip" + static_history = [ + '''¯\_(ツ)_/¯''', +] diff --git a/quickmarks b/quickmarks deleted file mode 100644 index 6077794..0000000 --- a/quickmarks +++ /dev/null @@ -1,13 +0,0 @@ -cecochat https://chat.cecotec.cloud/home -cecogoogle https://mail.google.com/mail/u/0/#inbox -cecobitrix https://cecotecinn.bitrix24.es/stream/ -cecofichaje https://ingress.cecotec.cloud/login -cecogitlab https://gitlab.com/dashboard/merge_requests?assignee_username=airimitoaie -consoleaws https://eu-west-1.console.aws.amazon.com/console/home?region=eu-west-1# -ask https://developer.amazon.com/alexa/console/ask -awsapps-api https://eu-west-1.console.aws.amazon.com/apigateway/main/apis?region=eu-west-1 -awsapps-watch https://eu-west-1.console.aws.amazon.com/cloudwatch/home?region=eu-west-1# -awsapps-lambda https://eu-west-1.console.aws.amazon.com/lambda/home?region=eu-west-1#/functions -valexa-pipelines https://gitlab.com/cecotec/producto/va/AlexaIntegration/-/pipelines -chalice makefile https://github.com/aws/chalice/blob/master/Makefile -smarthome https://gitlab.com/cecotec/producto/CecoSmartHome_Backend diff --git a/qute b/qutebrowser/config.py similarity index 66% rename from qute rename to qutebrowser/config.py index d88be87..6bca46c 100644 --- a/qute +++ b/qutebrowser/config.py @@ -1,2 +1,4 @@ config.load_autoconfig(True) config.source('qutewal.py') +c.auto_save.session = False + diff --git a/qutebrowser/quickmarks b/qutebrowser/quickmarks new file mode 100644 index 0000000..03b6d15 --- /dev/null +++ b/qutebrowser/quickmarks @@ -0,0 +1,5 @@ +dezzai/mail outlook.office.com +dezzai/teams teams.microsoft.com +dezzai/git/202 github.com/medlabmg/202-backend +dezzai/jira medlabmg.atlassian.net/jira/your-work +dezzai/zeplin app.zeplin.io/project/62aaee2dc5a0842ffc925a3a diff --git a/qutebrowser/qutewal.py b/qutebrowser/qutewal.py new file mode 100644 index 0000000..bb66ca1 --- /dev/null +++ b/qutebrowser/qutewal.py @@ -0,0 +1,350 @@ +import json +import os + +qutewal_dynamic_loading = False + +home = os.getenv('HOME') +colors_relative = '.cache/wal/colors.json' +daemon_relative = '.config/qutebrowser/qutewald.py' +colors_absolute = os.path.join(home, colors_relative) +daemon_absolute = os.path.join(home, daemon_relative) + +if os.path.isfile(colors_absolute): + with open(colors_absolute) as colorfile: + colors = json.load(colorfile) + cursor = colors['special']['cursor'] + background = colors['special']['background'] + foreground = colors['special']['foreground'] + black = colors['colors']['color0'] + white = colors['colors']['color7'] + gray = colors['colors']['color8'] + red = colors['colors']['color1'] + green = colors['colors']['color2'] + yellow = colors['colors']['color3'] + blue = colors['colors']['color4'] + magenta = colors['colors']['color5'] + cyan = colors['colors']['color6'] + + # Background color of the completion widget category headers. + # Type: QssColor + c.colors.completion.category.bg = background + + # Bottom border color of the completion widget category headers. + # Type: QssColor + c.colors.completion.category.border.bottom = background + + # Top border color of the completion widget category headers. + # Type: QssColor + c.colors.completion.category.border.top = background + + # Foreground color of completion widget category headers. + # Type: QtColor + c.colors.completion.category.fg = foreground + + # Background color of the completion widget for even rows. + # Type: QssColor + c.colors.completion.even.bg = background + + # Background color of the completion widget for odd rows. + # Type: QssColor + c.colors.completion.odd.bg = background + + # Text color of the completion widget. + # Type: QtColor + c.colors.completion.fg = foreground + + # Background color of the selected completion item. + # Type: QssColor + c.colors.completion.item.selected.bg = gray + + # Bottom border color of the selected completion item. + # Type: QssColor + c.colors.completion.item.selected.border.bottom = background + + # Top border color of the completion widget category headers. + # Type: QssColor + c.colors.completion.item.selected.border.top = background + + # Foreground color of the selected completion item. + # Type: QtColor + c.colors.completion.item.selected.fg = foreground + + # Foreground color of the matched text in the completion. + # Type: QssColor + c.colors.completion.match.fg = yellow + + # Color of the scrollbar in completion view + # Type: QssColor + c.colors.completion.scrollbar.bg = background + + # Color of the scrollbar handle in completion view. + # Type: QssColor + c.colors.completion.scrollbar.fg = gray + + # Background color for the download bar. + # Type: QssColor + c.colors.downloads.bar.bg = background + + # Background color for downloads with errors. + # Type: QtColor + c.colors.downloads.error.bg = red + + # Foreground color for downloads with errors. + # Type: QtColor + c.colors.downloads.error.fg = foreground + + # Color gradient stop for download backgrounds. + # Type: QtColor + c.colors.downloads.stop.bg = cyan + + # Color gradient interpolation system for download backgrounds. + # Type: ColorSystem + # Valid values: + # - rgb: Interpolate in the RGB color system. + # - hsv: Interpolate in the HSV color system. + # - hsl: Interpolate in the HSL color system. + # - none: Don't show a gradient. + c.colors.downloads.system.bg = 'none' + + # Background color for hints. Note that you can use a `rgba(...)` value + # for transparency. + # Type: QssColor + c.colors.hints.bg = yellow + + # Font color for hints. + # Type: QssColor + c.colors.hints.fg = background + + # Font color for the matched part of hints. + # Type: QssColor + c.colors.hints.match.fg = blue + + # Background color of the keyhint widget. + # Type: QssColor + c.colors.keyhint.bg = background + + # Text color for the keyhint widget. + # Type: QssColor + c.colors.keyhint.fg = foreground + + # Highlight color for keys to complete the current keychain. + # Type: QssColor + c.colors.keyhint.suffix.fg = yellow + + # Background color of an error message. + # Type: QssColor + c.colors.messages.error.bg = red + + # Border color of an error message. + # Type: QssColor + c.colors.messages.error.border = red + + # Foreground color of an error message. + # Type: QssColor + c.colors.messages.error.fg = foreground + + # Background color of an info message. + # Type: QssColor + c.colors.messages.info.bg = blue + + # Border color of an info message. + # Type: QssColor + c.colors.messages.info.border = blue + + # Foreground color an info message. + # Type: QssColor + c.colors.messages.info.fg = foreground + + # Background color of a warning message. + # Type: QssColor + c.colors.messages.warning.bg = red + + # Border color of a warning message. + # Type: QssColor + c.colors.messages.warning.border = red + + # Foreground color a warning message. + # Type: QssColor + c.colors.messages.warning.fg = foreground + + # Background color for prompts. + # Type: QssColor + c.colors.prompts.bg = background + + # # Border used around UI elements in prompts. + # # Type: String + c.colors.prompts.border = '1px solid ' + background + + # Foreground color for prompts. + # Type: QssColor + c.colors.prompts.fg = foreground + + # Background color for the selected item in filename prompts. + # Type: QssColor + c.colors.prompts.selected.bg = magenta + + # Background color of the statusbar in caret mode. + # Type: QssColor + c.colors.statusbar.caret.bg = cyan + + # Foreground color of the statusbar in caret mode. + # Type: QssColor + c.colors.statusbar.caret.fg = cursor + + # Background color of the statusbar in caret mode with a selection. + # Type: QssColor + c.colors.statusbar.caret.selection.bg = cyan + + # Foreground color of the statusbar in caret mode with a selection. + # Type: QssColor + c.colors.statusbar.caret.selection.fg = foreground + + # Background color of the statusbar in command mode. + # Type: QssColor + c.colors.statusbar.command.bg = background + + # Foreground color of the statusbar in command mode. + # Type: QssColor + c.colors.statusbar.command.fg = foreground + + # Background color of the statusbar in private browsing + command mode. + # Type: QssColor + c.colors.statusbar.command.private.bg = background + + # Foreground color of the statusbar in private browsing + command mode. + # Type: QssColor + c.colors.statusbar.command.private.fg = foreground + + # Background color of the statusbar in insert mode. + # Type: QssColor + c.colors.statusbar.insert.bg = green + + # Foreground color of the statusbar in insert mode. + # Type: QssColor + c.colors.statusbar.insert.fg = background + + # Background color of the statusbar. + # Type: QssColor + c.colors.statusbar.normal.bg = background + + # Foreground color of the statusbar. + # Type: QssColor + c.colors.statusbar.normal.fg = foreground + + # Background color of the statusbar in passthrough mode. + # Type: QssColor + c.colors.statusbar.passthrough.bg = blue + + # Foreground color of the statusbar in passthrough mode. + # Type: QssColor + c.colors.statusbar.passthrough.fg = foreground + + # Background color of the statusbar in private browsing mode. + # Type: QssColor + c.colors.statusbar.private.bg = background + + # Foreground color of the statusbar in private browsing mode. + # Type: QssColor + c.colors.statusbar.private.fg = foreground + + # Background color of the progress bar. + # Type: QssColor + c.colors.statusbar.progress.bg = foreground + + # Foreground color of the URL in the statusbar on error. + # Type: QssColor + c.colors.statusbar.url.error.fg = red + + # Default foreground color of the URL in the statusbar. + # Type: QssColor + c.colors.statusbar.url.fg = foreground + + # Foreground color of the URL in the statusbar for hovered links. + # Type: QssColor + c.colors.statusbar.url.hover.fg = blue + + # Foreground color of the URL in the statusbar on successful load + # (http). + # Type: QssColor + c.colors.statusbar.url.success.http.fg = foreground + + # Foreground color of the URL in the statusbar on successful load + # (https). + # Type: QssColor + c.colors.statusbar.url.success.https.fg = gray + + # Foreground color of the URL in the statusbar when there's a warning. + # Type: QssColor + c.colors.statusbar.url.warn.fg = red + + # Background color of the tab bar. + # Type: QtColor + c.colors.tabs.bar.bg = background + + # Background color of unselected even tabs. + # Type: QtColor + c.colors.tabs.even.bg = background + + # Foreground color of unselected even tabs. + # Type: QtColor + c.colors.tabs.even.fg = foreground + + # Color for the tab indicator on errors. + # Type: QtColor + c.colors.tabs.indicator.error = red + + # Color gradient start for the tab indicator. + # Type: QtColor + # c.colors.tabs.indicator.start = magenta + + # Color gradient end for the tab indicator. + # Type: QtColor + # c.colors.tabs.indicator.stop = red + + # Color gradient interpolation system for the tab indicator. + # Type: ColorSystem + # Valid values: + # - rgb: Interpolate in the RGB color system. + # - hsv: Interpolate in the HSV color system. + # - hsl: Interpolate in the HSL color system. + # - none: Don't show a gradient. + c.colors.tabs.indicator.system = 'none' + + # Background color of unselected odd tabs. + # Type: QtColor + c.colors.tabs.odd.bg = background + + # Foreground color of unselected odd tabs. + # Type: QtColor + c.colors.tabs.odd.fg = foreground + + # Background color of selected even tabs. + # Type: QtColor + c.colors.tabs.selected.even.bg = blue + + # Foreground color of selected even tabs. + # Type: QtColor + c.colors.tabs.selected.even.fg = foreground + + # Background color of selected odd tabs. + # Type: QtColor + c.colors.tabs.selected.odd.bg = blue + + # Foreground color of selected odd tabs. + # Type: QtColor + c.colors.tabs.selected.odd.fg = foreground + + # Background color for webpages if unset (or empty to use the theme's + # color) + # Type: QtColor + c.colors.webpage.bg = foreground + + if qutewal_dynamic_loading or bool(os.getenv('QUTEWAL_DYNAMIC_LOADING')): + import signal + import subprocess + import prctl + + # start iqutefy to refresh colors on the fly + qutewald = subprocess.Popen( + [daemon_absolute, colors_absolute], + preexec_fn=lambda: prctl.set_pdeathsig(signal.SIGTERM)) diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc index c7e062b..355bca9 100755 --- a/sxhkd/sxhkdrc +++ b/sxhkd/sxhkdrc @@ -8,7 +8,7 @@ Print # terminal emulator ctrl + alt + t - kermit -c "$HOME/.config/kermit.conf" -e "ufetch && $SHELL" + kermit -c "$HOME/.config/kermit.conf" ctrl + shift + alt + l i3lock-fancy -p @@ -16,10 +16,12 @@ ctrl + shift + alt + l # program launcher super + d rofi -show run - +super + alt + c + rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' +super + alt + e + rofi -modi emoji -show emoji super + alt + p bwmenu - super + alt + a asciify.sh @@ -28,10 +30,10 @@ super + Escape pkill -USR1 -x sxhkd ctrl + alt + b - firefox + qutebrowser ctrl + super + space - ~/.builds/bin/toggle-keyboard-layout.sh + ~/.local/bin/185504a9-utils/toggle-keyboard-layout.sh # # bspwm hotkeys diff --git a/utils/set-monitors.sh b/utils/set-monitors.sh index 5199ccb..c7d5b08 100755 --- a/utils/set-monitors.sh +++ b/utils/set-monitors.sh @@ -5,9 +5,9 @@ monitors=$(bash -c "$base_command") monitors_len=$(bash -c "$base_command" | grep -w 'connected' | wc -l) if [[ "$monitors_len" -eq 2 ]]; then - xrandr --auto --output eDP-1 --mode 1920x1080 --right-of HDMI-1 + xrandr --auto --output eDP-1 --mode 1920x1080 --right-of HDMI-2 bspc monitor eDP-1 -d I II III IV V - bspc monitor HDMI-1 -d VI VII VIII IX X + bspc monitor HDMI-2 -d VI VII VIII IX X else bspc monitor eDP-1 -d I II III IV V VI VII VIII IX X From f56d076f52d1dda85579083adf90ca19146cb951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?c=C4=83t=C4=83lin?= Date: Mon, 24 Apr 2023 12:47:11 +0200 Subject: [PATCH 02/78] feat: revamp --- .dotter/global.toml | 12 +- astrovim/init.lua | 72 ++++++++ bspwm/bspwmrc | 4 +- chaakoo/sls_offline.yml | 26 --- dunst/dunstrc | 54 ------ fish/conf.d/aliases.fish | 5 +- fish/conf.d/common.fish | 4 +- fish/conf.d/envsource.fish | 7 + fish/conf.d/paths.fish | 5 +- fish/conf.d/rust.fish | 1 - greenclip.toml | 2 +- polybar/config | 200 --------------------- polybar/get_workspace | 5 - polybar/launch.sh | 14 -- polybar/scrot.png | Bin 810970 -> 0 bytes polybar/scrot2.png | Bin 2721121 -> 0 bytes qutebrowser/config.py | 4 - qutebrowser/quickmarks | 5 - qutebrowser/qutewal.py | 350 ------------------------------------- rofi/config.rasi | 1 - sxhkd/sxhkdrc | 142 --------------- utils/clone-and-install.py | 12 -- utils/copy.sh | 2 + utils/gen-secret.sh | 2 + vimrc | 29 +++ walls/00-80s.jpg | Bin 93055 -> 0 bytes walls/653118.jpg | Bin 789827 -> 0 bytes walls/vapor1.png | Bin 1773945 -> 0 bytes walls/vapor2.png | Bin 1519321 -> 0 bytes walls/vapor3.png | Bin 981665 -> 0 bytes walls/vapor4.jpg | Bin 240408 -> 0 bytes walls/wp4601789.jpg | Bin 75450 -> 0 bytes 32 files changed, 127 insertions(+), 831 deletions(-) create mode 100644 astrovim/init.lua delete mode 100644 chaakoo/sls_offline.yml delete mode 100644 dunst/dunstrc create mode 100644 fish/conf.d/envsource.fish delete mode 100644 fish/conf.d/rust.fish delete mode 100644 polybar/config delete mode 100755 polybar/get_workspace delete mode 100755 polybar/launch.sh delete mode 100644 polybar/scrot.png delete mode 100644 polybar/scrot2.png delete mode 100644 qutebrowser/config.py delete mode 100644 qutebrowser/quickmarks delete mode 100644 qutebrowser/qutewal.py delete mode 100644 rofi/config.rasi delete mode 100755 sxhkd/sxhkdrc delete mode 100755 utils/clone-and-install.py create mode 100755 utils/copy.sh create mode 100755 utils/gen-secret.sh create mode 100644 vimrc delete mode 100644 walls/00-80s.jpg delete mode 100644 walls/653118.jpg delete mode 100644 walls/vapor1.png delete mode 100644 walls/vapor2.png delete mode 100644 walls/vapor3.png delete mode 100644 walls/vapor4.jpg delete mode 100644 walls/wp4601789.jpg diff --git a/.dotter/global.toml b/.dotter/global.toml index 22bf9d9..c6b3ebd 100644 --- a/.dotter/global.toml +++ b/.dotter/global.toml @@ -1,13 +1,7 @@ [default.files] fish = "~/.config/fish/" -bspwm = "~/.config/bspwm/" -sxhkd = "~/.config/sxhkd/" -rofi = "~/.config/rofi/" -dunst = "~/.config/dunst/" kermit = "~/.config/kermit.conf" -polybar = "~/.config/polybar" -walls = "~/Pictures/walls" -utils = "~/.local/bin/185504a9-utils/" +utils = "~/.local/bin/dotutils/" ideavim = "~/.ideavimrc" -qutebrowser = "~/.config/qutebrowser" -chaakoo = "~/.config/chaakoo/" +astrovim = "~/.config/nvim/lua/user/" +vimrc = "~/.vimrc" diff --git a/astrovim/init.lua b/astrovim/init.lua new file mode 100644 index 0000000..bf254ad --- /dev/null +++ b/astrovim/init.lua @@ -0,0 +1,72 @@ +return { + updater = { + remote = "origin", -- remote to use + channel = "stable", -- "stable" or "nightly" + version = "latest", -- "latest", tag name, or regex search like "v1.*" to only do updates before v2 (STABLE ONLY) + branch = "nightly", -- branch name (NIGHTLY ONLY) + commit = nil, -- commit hash (NIGHTLY ONLY) + pin_plugins = nil, -- nil, true, false (nil will pin plugins on stable only) + skip_prompts = false, -- skip prompts about breaking changes + show_changelog = true, -- show the changelog after performing an update + auto_quit = false, -- automatically quit the current session after a successful update + remotes = { -- easily add new remotes to track + -- ["remote_name"] = "https://remote_url.come/repo.git", -- full remote url + -- ["remote2"] = "github_user/repo", -- GitHub user/repo shortcut, + -- ["remote3"] = "github_user", -- GitHub user assume AstroNvim fork + }, + }, + + colorscheme = "catppuccin", + + diagnostics = { + virtual_text = true, + underline = true, + }, + + lsp = { + formatting = { + format_on_save = { + enabled = true, + }, + timeout_ms = 1000, + }, + servers = { + "pyright" + }, + }, + + lazy = { + defaults = { lazy = true }, + }, + + plugins = { + { + "catppuccin/nvim", + as = "catppuccin", + config = function() + require("catppuccin").setup {} + end, + }, + }, + options = { + opt = { + conceallevel = 2, + relativenumber = true, + list = true, + listchars = { tab = "│→", extends = "⟩", precedes = "⟨", trail = "·", nbsp = "␣" }, + showbreak = "↪ ", + showtabline = 1, + wrap = true, + }, + g = { + icons_enabled = false, + mapleader = " ", + autoformat_enabled = true, + cmp_enabled = true, + autopairs_enabled = true, + diagnostics_enabled = true, + status_diagnostics_enabled = true, + }, + } +} + diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc index 9eab209..9716deb 100755 --- a/bspwm/bspwmrc +++ b/bspwm/bspwmrc @@ -1,4 +1,4 @@ -#! /bin/sh +#!/bin/sh #### #### misc tools @@ -22,7 +22,7 @@ bspc monitor -d HDMI-2 5 6 7 8 9 #### bspwm #### -#~/.builds/bin/set-monitors.sh +set-monitors.sh bspc config border_width 5 bspc config window_gap 8 diff --git a/chaakoo/sls_offline.yml b/chaakoo/sls_offline.yml deleted file mode 100644 index fe13792..0000000 --- a/chaakoo/sls_offline.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: sls-offline -windows: - - grid: | - term term - sls-start docs-serve - name: window1 - commands: - - pane: term - command: | - source .venv/bin/activate.fish - source ../.env-prod.fish - set -x AWS_DEFAULT_REGION "eu-west-1" - clear - workdir: /home/catalin/dev/ceco/valexa - - pane: sls-start - command: | - source ../.env-prod.fish - make sls-stop - make sls-start - make sls-flog - workdir: /home/catalin/dev/ceco/valexa - - pane: docs-serve - command: | - source .venv/bin/activate.fish - make docs-serve - workdir: /home/catalin/dev/ceco/valexa diff --git a/dunst/dunstrc b/dunst/dunstrc deleted file mode 100644 index 7f92ab7..0000000 --- a/dunst/dunstrc +++ /dev/null @@ -1,54 +0,0 @@ -[global] -monitor = 0 -follow = mouse -geometry = "300x60-20+48" -indicate_hidden = yes -shrink = no -separator_height = 0 -padding = 32 -horizontal_padding = 32 -frame_width = 2 -sort = no -idle_threshold = 120 -font = rissole 8 -line_height = 4 -markup = full -format = %s\n%b -alignment = left -show_age_threshold = 60 -word_wrap = yes -ignore_newline = no -stack_duplicates = false -hide_duplicate_count = yes -show_indicators = no -icon_position = off -sticky_history = yes -history_length = 20 -browser = /usr/bin/firefox -new-tab -always_run_script = true -title = Dunst -class = Dunst - -[shortcuts] -close = ctrl+space -close_all = ctrl+shift+space -history = ctrl+grave -context = ctrl+shift+period - -[urgency_low] -timeout = 4 -background = "#141c21" -foreground = "#93a1a1" -frame_color = "#8bc34a" - -[urgency_normal] -timeout = 8 -background = "#141c21" -foreground = "#93a1a1" -frame_color = "#ba68c8" - -[urgency_critical] -timeout = 0 -background = "#141c21" -foreground = "#93a1a1" -frame_color = "#ff7043" diff --git a/fish/conf.d/aliases.fish b/fish/conf.d/aliases.fish index 5bacafa..ceb5ba7 100644 --- a/fish/conf.d/aliases.fish +++ b/fish/conf.d/aliases.fish @@ -1,4 +1,7 @@ alias ls 'exa -alh' -alias cat 'batcat' alias g 'git' +alias copy 'xclip -selection clipboard' +alias cat 'bat' +alias k 'kubectl' alias rm 'trash' +alias future-commit 'git commit --date (echo (date -d +7hours))' diff --git a/fish/conf.d/common.fish b/fish/conf.d/common.fish index bc6fd5d..46d8f4f 100644 --- a/fish/conf.d/common.fish +++ b/fish/conf.d/common.fish @@ -1,2 +1,4 @@ -set -gx EDITOR vim +set -gx EDITOR nvim +set -gx BAT_THEME "Catppuccin-frappe" +pyenv init - | source diff --git a/fish/conf.d/envsource.fish b/fish/conf.d/envsource.fish new file mode 100644 index 0000000..af570e4 --- /dev/null +++ b/fish/conf.d/envsource.fish @@ -0,0 +1,7 @@ +function envsource + for line in (cat $argv | grep -v '^#') + set item (string split -m 1 '=' $line) + set -gx $item[1] $item[2] + echo "Exported key $item[1]" + end +end diff --git a/fish/conf.d/paths.fish b/fish/conf.d/paths.fish index 000fe48..cd6d06d 100644 --- a/fish/conf.d/paths.fish +++ b/fish/conf.d/paths.fish @@ -1,8 +1,7 @@ set -gx PATH ~/.local/bin $PATH -set -gx PATH ~/.local/bin/185504a9-utils/ $PATH +set -gx PATH ~/.local/bin/dotutils/ $PATH +set -gx PATH "$HOME/.cargo/bin" $PATH; set -gx PATH $ANDROID_HOME/emulator $PATH set -gx PATH $ANDROID_HOME/tools $PATH set -gx PATH $ANDROID_HOME/tools/bin $PATH set -gx PATH $ANDROID_HOME/platform-tools $PATH - - diff --git a/fish/conf.d/rust.fish b/fish/conf.d/rust.fish deleted file mode 100644 index 98d36e9..0000000 --- a/fish/conf.d/rust.fish +++ /dev/null @@ -1 +0,0 @@ -set -gx PATH "$HOME/.cargo/bin" $PATH; diff --git a/greenclip.toml b/greenclip.toml index 72c220d..5346073 100644 --- a/greenclip.toml +++ b/greenclip.toml @@ -1,5 +1,5 @@ [greenclip] - history_file = "/home/erebe/.cache/greenclip.history" + history_file = "~/.cache/greenclip.history" max_history_length = 50 max_selection_size_bytes = 0 trim_space_from_selection = true diff --git a/polybar/config b/polybar/config deleted file mode 100644 index c070b67..0000000 --- a/polybar/config +++ /dev/null @@ -1,200 +0,0 @@ -[colors] - -background = ${xrdb:color0:#222} -color1 = ${xrdb:color2} -color2 = ${xrdb:color4} -color3 = ${xrdb:color6} - -; _ -; | |__ __ _ _ __ ___ -; | '_ \ / _` | '__/ __| -; | |_) | (_| | | \__ \ -; |_.__/ \__,_|_| |___/ - -[bar/base] -enable-ipc = true -font-0=cherry:size=14;3 -font-1=FontAwesome5Free:style=Regular:pixelsize=8:antialias=true;2 -font-2=FontAwesome5Free:style=Solid:pixelsize=8:antialias=true;2 -font-3=IPAGothic:style=Regular:size=11:antialias=true;3 - -bottom = true -border-size = 0 -border-color = ${self.foreground} - -height = 50 - -background = ${colors.background} -override-redirect=false -offset-y = 10 - -wm-restack = bspwm - -[bar/ws] -inherit = bar/base -width = 36% -bottom = true - -foreground = ${colors.color1} - -offset-x = 10 - -; bspwm -modules-left = bspwm xwindow -scroll-up = bspwm-desknext -scroll-down = bspwm-deskprev - - -[bar/music] -inherit = bar/base -enable-ipc = true -width = 32% - -foreground = ${colors.color2} -offset-x = 50.7% - -modules-left = battery -modules-right= network -padding = 10 - -[bar/tray] -inherit = bar/base -width = 16.2% - -offset-x = 83.3% -foreground = ${colors.color3} - -;tray-position = right - -modules-left = pulseaudio time power - -[bar/dummy] -height = 60 -background = #0000 -modules-center = dummy-module -override-redirect = false -bottom = true - -; _ _ -; _ __ ___ ___ __| |_ _| | ___ ___ -; | '_ ` _ \ / _ \ / _` | | | | |/ _ \/ __| -; | | | | | | (_) | (_| | |_| | | __/\__ \ -; |_| |_| |_|\___/ \__,_|\__,_|_|\___||___/ - -[module/wsnumber] -type = custom/script -exec = ~/.config/polybar/get_workspace -tail = true -interval = 0 -format-padding = 0 -format = "