From 9c9cfea96bc7b8958efe6ef1e53d7b183f73d7e3 Mon Sep 17 00:00:00 2001 From: Tymur Arsentiev Date: Mon, 5 May 2025 08:34:04 -0400 Subject: [PATCH] librewolf-sync --- .config/ncspot/config.toml | 31 +++++ .../librewolf-sync.service | 1 - .../override.conf | 4 - .../librewolf-sync-cron.timer.d/override.conf | 5 - .../librewolf-sync-override.conf | 5 - .../librewolf-sync-cron.timer | 1 - .zshrc | 108 ------------------ .zshrc.custom | 15 +-- .zshrc.pre-oh-my-zsh | 32 ------ 9 files changed, 37 insertions(+), 165 deletions(-) delete mode 120000 .config/systemd/user/default.target.wants/librewolf-sync.service delete mode 100644 .config/systemd/user/librewolf-sync-cron.service.d/override.conf delete mode 100644 .config/systemd/user/librewolf-sync-cron.timer.d/override.conf delete mode 100644 .config/systemd/user/librewolf-sync.service.d/librewolf-sync-override.conf delete mode 120000 .config/systemd/user/timers.target.wants/librewolf-sync-cron.timer delete mode 100644 .zshrc delete mode 100644 .zshrc.pre-oh-my-zsh diff --git a/.config/ncspot/config.toml b/.config/ncspot/config.toml index e69de29..973ec4a 100644 --- a/.config/ncspot/config.toml +++ b/.config/ncspot/config.toml @@ -0,0 +1,31 @@ +notify = true +flip_status_indicators = true +bitrate = 320 + +[track_format] +left = "%artists - %title" +center = "%album" +right = "%saved %duration" + +[keybindings] +"p" = "playpause" +"Ctrl+s" = "search" + +[theme] +background = "black" +primary = "light white" +secondary = "light black" +title = "green" +playing = "green" +playing_selected = "light green" +playing_bg = "black" +highlight = "light white" +highlight_bg = "#484848" +error = "light white" +error_bg = "red" +statusbar = "black" +statusbar_progress = "green" +statusbar_bg = "green" +cmdline = "light white" +cmdline_bg = "black" +search_match = "light red" diff --git a/.config/systemd/user/default.target.wants/librewolf-sync.service b/.config/systemd/user/default.target.wants/librewolf-sync.service deleted file mode 120000 index 187b913..0000000 --- a/.config/systemd/user/default.target.wants/librewolf-sync.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/user/librewolf-sync.service \ No newline at end of file diff --git a/.config/systemd/user/librewolf-sync-cron.service.d/override.conf b/.config/systemd/user/librewolf-sync-cron.service.d/override.conf deleted file mode 100644 index bed93ee..0000000 --- a/.config/systemd/user/librewolf-sync-cron.service.d/override.conf +++ /dev/null @@ -1,4 +0,0 @@ -[Service] - -ExecStart= -ExecStart=/usr/bin/librewolf-sync -p sync.default diff --git a/.config/systemd/user/librewolf-sync-cron.timer.d/override.conf b/.config/systemd/user/librewolf-sync-cron.timer.d/override.conf deleted file mode 100644 index e499b85..0000000 --- a/.config/systemd/user/librewolf-sync-cron.timer.d/override.conf +++ /dev/null @@ -1,5 +0,0 @@ -[Timer] -OnBootSec= -OnUnitActiveSec= -OnBootSec=10m -OnUnitActiveSec=1h diff --git a/.config/systemd/user/librewolf-sync.service.d/librewolf-sync-override.conf b/.config/systemd/user/librewolf-sync.service.d/librewolf-sync-override.conf deleted file mode 100644 index 3f14c62..0000000 --- a/.config/systemd/user/librewolf-sync.service.d/librewolf-sync-override.conf +++ /dev/null @@ -1,5 +0,0 @@ -[Service] -ExecStart= -ExecStart=/usr/bin/librewolf-sync -p sync.default -ExecStop= -ExecStop=/usr/bin/librewolf-sync -p sync.default diff --git a/.config/systemd/user/timers.target.wants/librewolf-sync-cron.timer b/.config/systemd/user/timers.target.wants/librewolf-sync-cron.timer deleted file mode 120000 index 103fbb0..0000000 --- a/.config/systemd/user/timers.target.wants/librewolf-sync-cron.timer +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/user/librewolf-sync-cron.timer \ No newline at end of file diff --git a/.zshrc b/.zshrc deleted file mode 100644 index 616ccf0..0000000 --- a/.zshrc +++ /dev/null @@ -1,108 +0,0 @@ -# If you come from bash you might have to change your $PATH. -# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH - -# Path to your Oh My Zsh installation. -ZSH=/usr/share/oh-my-zsh/ - -# Set name of the theme to load --- if set to "random", it will -# load a random theme each time Oh My Zsh is loaded, in which case, -# to know which specific one was loaded, run: echo $RANDOM_THEME -# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -#ZSH_THEME="robbyrussell" - -# Set list of themes to pick from when loading at random -# Setting this variable when ZSH_THEME=random will cause zsh to load -# a theme from this variable instead of looking in $ZSH/themes/ -# If set to an empty array, this variable will have no effect. -# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) - -# Uncomment the following line to use case-sensitive completion. -# CASE_SENSITIVE="true" - -# Uncomment the following line to use hyphen-insensitive completion. -# Case-sensitive completion must be off. _ and - will be interchangeable. -# HYPHEN_INSENSITIVE="true" - -# Uncomment one of the following lines to change the auto-update behavior -# zstyle ':omz:update' mode disabled # disable automatic updates -# zstyle ':omz:update' mode auto # update automatically without asking -# zstyle ':omz:update' mode reminder # just remind me to update when it's time - -# Uncomment the following line to change how often to auto-update (in days). -# zstyle ':omz:update' frequency 13 - -# Uncomment the following line if pasting URLs and other text is messed up. -# DISABLE_MAGIC_FUNCTIONS="true" - -# Uncomment the following line to disable colors in ls. -# DISABLE_LS_COLORS="true" - -# Uncomment the following line to disable auto-setting terminal title. -# DISABLE_AUTO_TITLE="true" - -# Uncomment the following line to enable command auto-correction. -# ENABLE_CORRECTION="true" - -# Uncomment the following line to display red dots whilst waiting for completion. -# You can also set it to another string to have that shown instead of the default red dots. -# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" -# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) -# COMPLETION_WAITING_DOTS="true" - -# Uncomment the following line if you want to disable marking untracked files -# under VCS as dirty. This makes repository status check for large repositories -# much, much faster. -# DISABLE_UNTRACKED_FILES_DIRTY="true" - -# Uncomment the following line if you want to change the command execution time -# stamp shown in the history command output. -# You can set one of the optional three formats: -# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" -# or set a custom format using the strftime function format specifications, -# see 'man strftime' for details. -# HIST_STAMPS="mm/dd/yyyy" - -# Would you like to use another custom folder than $ZSH/custom? -# ZSH_CUSTOM=/path/to/new-custom-folder - -# Which plugins would you like to load? -# Standard plugins can be found in $ZSH/plugins/ -# Custom plugins may be added to $ZSH_CUSTOM/plugins/ -# Example format: plugins=(rails git textmate ruby lighthouse) -# Add wisely, as too many plugins slow down shell startup. -plugins=(git cp eza nvm) - -# User configuration - -# export MANPATH="/usr/local/man:$MANPATH" - -# You may need to manually set your language environment -export LANG=en_US.UTF-8 - -# Preferred editor for local and remote sessions -export EDITOR='vim' - -# Compilation flags -# export ARCHFLAGS="-arch $(uname -m)" - -# Set personal aliases, overriding those provided by Oh My Zsh libs, -# plugins, and themes. Aliases can be placed here, though Oh My Zsh -# users are encouraged to define aliases within a top-level file in -# the $ZSH_CUSTOM folder, with .zsh extension. Examples: -# - $ZSH_CUSTOM/aliases.zsh -# - $ZSH_CUSTOM/macos.zsh -# For a full list of active aliases, run `alias`. -# -# Example aliases -# alias zshconfig="mate ~/.zshrc" -# alias ohmyzsh="mate ~/.oh-my-zsh" - -ZSH_CACHE_DIR=$HOME/.cache/oh-my-zsh -if [[ ! -d $ZSH_CACHE_DIR ]]; then - mkdir $ZSH_CACHE_DIR -fi - -source $ZSH/oh-my-zsh.sh - -# custom zsh config -source ~/.zshrc.custom diff --git a/.zshrc.custom b/.zshrc.custom index 3c518ad..8fcd1e2 100644 --- a/.zshrc.custom +++ b/.zshrc.custom @@ -1,12 +1,6 @@ -HISTFILE=~/.histfile - -setopt nomatch -unsetopt autocd beep -bindkey -v - -# set custom zsh prompt setopt PROMPT_SUBST PROMPT='%n@%m: ${(%):-%~} ' + # zsh prompt colors PROMPT="%F{green}$PROMPT%f" @@ -14,5 +8,8 @@ PROMPT="%F{green}$PROMPT%f" bindkey "^[[1;5C" forward-word bindkey "^[[1;5D" backward-word -# cp -> rsync -alias cp=cpv +# nvm setup +. /usr/share/nvm/init-nvm.sh + +# neovim for manpages +export MANPAGER='nvim +Man!' diff --git a/.zshrc.pre-oh-my-zsh b/.zshrc.pre-oh-my-zsh deleted file mode 100644 index 5eba4d0..0000000 --- a/.zshrc.pre-oh-my-zsh +++ /dev/null @@ -1,32 +0,0 @@ -# Lines configured by zsh-newuser-install -HISTFILE=~/.histfile -HISTSIZE=1000 -SAVEHIST=1000 -setopt extendedglob nomatch notify -unsetopt autocd beep -bindkey -v -# End of lines configured by zsh-newuser-install -# The following lines were added by compinstall -zstyle :compinstall filename '/home/tymur999/.zshrc' - -autoload -Uz compinit -compinit -# End of lines added by compinstall - -# set custom zsh prompt -setopt PROMPT_SUBST -PROMPT='%n@%m: ${(%):-%~} ' - -# zsh prompt colors -PROMPT="%F{green}$PROMPT%f" - -# ctrl + ->/<- move keybinds -bindkey "^[[1;5C" forward-word -bindkey "^[[1;5D" backward-word - -# nvm setup -. /usr/share/nvm/init-nvm.sh - -# Prompt init -autoload -Uz promptinit -promptinit