Compare commits
No commits in common. "master" and "55a944b8f2a50b37c9e3089a3a322017d6d6902b" have entirely different histories.
master
...
55a944b8f2
3
LICENSE
3
LICENSE
@ -1,4 +1,4 @@
|
|||||||
Copyright 2023 Gregory Eremin
|
Copyright 2020 Gregory Eremin
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
this software and associated documentation files (the "Software"), to deal in
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
@ -16,3 +16,4 @@ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|||||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
11
README.md
11
README.md
@ -1,13 +1,12 @@
|
|||||||
## Gregory's dotfiles
|
## Gregory's dotfiles
|
||||||
|
|
||||||
[What are dotfiles](https://dotfiles.github.io/)
|
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
I use bash as my shell. Here is the [tree](https://git.localhots.xyz/localhots/dotfiles/src/commit/2f17a9f7300b61a382ec3dfeb69de648b3d36b43) before purging macOS and fish configs.
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone git@git.localhots.xyz:localhots/dotfiles.git ~/dotfiles
|
git clone git@github.com:localhots/dotfiles.git ~/dotfiles
|
||||||
bash ~/dotfiles/setup.sh
|
~/dotfiles/setup.bash
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Changelog
|
||||||
|
|
||||||
|
* [Tree](https://github.com/localhots/dotfiles/tree/2f17a9f7300b61a382ec3dfeb69de648b3d36b43) before purging macOS and fish configs.
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
# General
|
# General
|
||||||
alias ll="ls -lAFh --color"
|
alias ll="ls -lAFh --color"
|
||||||
alias duh="du -hs * | sort -rh"
|
|
||||||
alias dedup="awk '!visited[$0]++'"
|
alias dedup="awk '!visited[$0]++'"
|
||||||
alias dfh="df -h | grep -v '/var/lib/docker\|/snap/\|tmpfs'"
|
|
||||||
alias ,ssh-agent-forwarding="eval \`ssh-agent\` && ssh-add ~/.ssh/id_rsa"
|
|
||||||
|
|
||||||
# Git
|
# Git
|
||||||
alias ga="git add -u; git add .; git status -sb"
|
alias ga="git add -u; git add .; git status -sb"
|
||||||
@ -20,7 +17,7 @@ alias gcl="git co -"
|
|||||||
alias gml="git merge - --no-edit"
|
alias gml="git merge - --no-edit"
|
||||||
|
|
||||||
# Ruby
|
# Ruby
|
||||||
alias bd="bundle install --jobs=$(getconf _NPROCESSORS_ONLN)"
|
alias bd="bundle install --jobs=8"
|
||||||
alias bdc="bundle config set path 'vendor/bundle'"
|
alias bdc="bundle config set path 'vendor/bundle'"
|
||||||
alias b="bundle exec"
|
alias b="bundle exec"
|
||||||
alias br="bundle exec rails"
|
alias br="bundle exec rails"
|
||||||
@ -28,6 +25,3 @@ alias br="bundle exec rails"
|
|||||||
# Go
|
# Go
|
||||||
alias goi="go install ./..."
|
alias goi="go install ./..."
|
||||||
alias gg='rg -g "*.go"'
|
alias gg='rg -g "*.go"'
|
||||||
|
|
||||||
# Rust
|
|
||||||
alias cr="cargo run --quiet --"
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# Enable debug
|
# Enable debug
|
||||||
# set -xv
|
# set -xv
|
||||||
|
|
||||||
|
source /etc/profile
|
||||||
|
|
||||||
export TERM=xterm-256color
|
export TERM=xterm-256color
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
|
|
||||||
@ -8,36 +10,38 @@ export EDITOR=vim
|
|||||||
export CLICOLOR=1
|
export CLICOLOR=1
|
||||||
export LSCOLORS=Exfxcxdxbxegedabagacad
|
export LSCOLORS=Exfxcxdxbxegedabagacad
|
||||||
|
|
||||||
|
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
export PROJECTS=$HOME/Code
|
export PROJECTS=$HOME/Code
|
||||||
export WORK_PROJECTS=$HOME/Code/work
|
|
||||||
|
|
||||||
# Go
|
# Go
|
||||||
|
# GOROOT can be easily derived from go binary path
|
||||||
# export GOROOT=$HOME/go/lang
|
# export GOROOT=$HOME/go/lang
|
||||||
export GOPATH=$HOME/go/path
|
export GOPATH=$HOME/go/path
|
||||||
|
|
||||||
BASHFILES=$HOME/dotfiles/bash
|
source $HOME/dotfiles/bash/functions_internal.sh
|
||||||
source $BASHFILES/functions_internal.sh
|
source $HOME/dotfiles/bash/history.sh
|
||||||
source $BASHFILES/functions.sh
|
source $HOME/dotfiles/bash/path.sh
|
||||||
source $BASHFILES/history.sh
|
source $HOME/dotfiles/bash/format.sh
|
||||||
source $BASHFILES/path.sh
|
source $HOME/dotfiles/bash/alias.sh
|
||||||
source $BASHFILES/format.sh
|
source $HOME/dotfiles/bash/prompt.sh
|
||||||
source $BASHFILES/alias.sh
|
source $HOME/dotfiles/bash/functions.sh
|
||||||
source $BASHFILES/prompt.sh
|
source $HOME/dotfiles/bash/overrides.sh
|
||||||
for f in $BASHFILES/secrets/*; do
|
|
||||||
|
for f in $HOME/dotfiles/bash/{tools,secrets}/*; do
|
||||||
source $f
|
source $f
|
||||||
done
|
done
|
||||||
|
|
||||||
case "$(uname -s)" in
|
|
||||||
Darwin) source $BASHFILES/macos.sh ;;
|
|
||||||
Linux) source $BASHFILES/linux.sh ;;
|
|
||||||
*) echo "*** Unknown system! Check dotfiles/bashrc.sh ***" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Use bash-completion, if available
|
# Use bash-completion, if available
|
||||||
if [ $PS2 ] && [ -f /usr/share/bash-completion/bash_completion ]; then
|
[[ $PS2 && -f /usr/share/bash-completion/bash_completion ]] && \
|
||||||
source /usr/share/bash-completion/bash_completion
|
. /usr/share/bash-completion/bash_completion
|
||||||
fi
|
|
||||||
if [ $PS2 ] && [ -f $HOME/.git-completion.bash ]; then
|
#
|
||||||
source $HOME/.git-completion.bash
|
# Misc
|
||||||
fi
|
#
|
||||||
|
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
|
# Disable Ruby 2.7 deprecation warnings
|
||||||
|
# export RUBYOPT='-W:no-deprecated -W:no-experimental'
|
||||||
|
export RUBYOPT=
|
||||||
|
@ -2,25 +2,6 @@ function reload {
|
|||||||
source $HOME/.bashrc
|
source $HOME/.bashrc
|
||||||
}
|
}
|
||||||
|
|
||||||
function __path_list {
|
|
||||||
IFS=':' read -ra ARY <<< "$PATH"
|
|
||||||
for DIR in "${ARY[@]}"; do
|
|
||||||
echo $DIR
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
function __path_append {
|
|
||||||
if [ -d "$1" ] && [[ ":$PATH:" != *":$1:"* ]]; then
|
|
||||||
export PATH="${PATH:+"$PATH:"}$1"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function __path_prepend {
|
|
||||||
if [ -d "$1" ] && [[ ":$PATH:" != *":$1:"* ]]; then
|
|
||||||
export PATH="$1${PATH:+":$PATH"}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Count lines of code in files that are checked into the current Git repository
|
# Count lines of code in files that are checked into the current Git repository
|
||||||
function gkloc {
|
function gkloc {
|
||||||
cloc $(git ls-files)
|
cloc $(git ls-files)
|
||||||
@ -49,17 +30,13 @@ function h { cd $HOME/$1; }
|
|||||||
function _h { __bash_directory_complete $HOME; }
|
function _h { __bash_directory_complete $HOME; }
|
||||||
complete -F _h h
|
complete -F _h h
|
||||||
|
|
||||||
function c { cd $(realpath $WORK_PROJECTS/$1); }
|
function c { cd $(realpath $PROJECTS/$1); }
|
||||||
function _c { __bash_directory_complete $WORK_PROJECTS; }
|
function _c { __bash_directory_complete $PROJECTS; }
|
||||||
complete -F _c c
|
complete -F _c c
|
||||||
|
|
||||||
function p { cd $(realpath $PROJECTS/$1); }
|
function cg { cd $GOPATH/src/github.com/$1; }
|
||||||
function _p { __bash_directory_complete $PROJECTS; }
|
function _cg { __bash_directory_complete $GOPATH/src/github.com; }
|
||||||
complete -F _p p
|
complete -W "$(dir -d $HOME/go/path/src/github.com/*/* | cut -d'/' -f8-)" cg
|
||||||
|
|
||||||
# function cg { cd $GOPATH/src/github.com/$1; }
|
|
||||||
# function _cg { __bash_directory_complete $GOPATH/src/github.com; }
|
|
||||||
# complete -W "$(dir -d $HOME/go/path/src/github.com/*/* | cut -d'/' -f8-)" cg
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Misc
|
# Misc
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
alias sysupdate="sudo pacman -Sy archlinux-keyring && sudo pacman -Su && PATH=/usr/bin:$PATH yay -Syu"
|
|
@ -1,14 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Homebrew
|
|
||||||
__path_append "/opt/homebrew/bin"
|
|
||||||
|
|
||||||
# Node
|
|
||||||
__path_append "/opt/homebrew/opt/node@18/bin"
|
|
||||||
__path_append "/opt/homebrew/opt/libpq/bin"
|
|
||||||
|
|
||||||
# Add sublime binary directly to PATH
|
|
||||||
__path_append "/Applications/Sublime\ Text.app/Contents/SharedSupport/bin"
|
|
||||||
|
|
||||||
# Lowercase Tailscale alias
|
|
||||||
alias tailscale="/Applications/Tailscale.app/Contents/MacOS/Tailscale"
|
|
4
bash/overrides.sh
Normal file
4
bash/overrides.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
function htop {
|
||||||
|
__window_title "htop"
|
||||||
|
/sbin/htop
|
||||||
|
}
|
16
bash/path.sh
16
bash/path.sh
@ -1,17 +1,13 @@
|
|||||||
# Dotfiles
|
# Dotfiles
|
||||||
__path_append "$HOME/dotfiles/bin"
|
export PATH=$PATH:$HOME/dotfiles/bin # Dotfiles scripts
|
||||||
|
|
||||||
# Ruby
|
# Ruby
|
||||||
# export PATH=$HOME/.rbenv/versions/$(cat $HOME/.rbenv/version)/bin:$PATH # Gem binaries
|
export PATH=$HOME/.rbenv/versions/$(cat $HOME/.rbenv/version)/bin:$PATH # Gem binaries
|
||||||
# export PATH=$HOME/.rbenv/shims:$PATH # Gem binaries
|
export PATH=$HOME/.rbenv/shims:$PATH # Gem binaries
|
||||||
|
|
||||||
# Go
|
# Go
|
||||||
__path_prepend "$HOME/go/lang/bin"
|
export PATH=$HOME/go/lang/bin:$PATH # Go package binaries
|
||||||
__path_append "$GOPATH/bin"
|
export PATH=$GOPATH/bin:$PATH # Go package binaries
|
||||||
|
|
||||||
# Rust
|
# Rust
|
||||||
__path_append "$HOME/.cargo/bin"
|
export PATH=$PATH:$HOME/.cargo/bin
|
||||||
|
|
||||||
if [ -d "$HOME/.local/bin" ]; then
|
|
||||||
__path_append "$HOME/.local/bin"
|
|
||||||
fi
|
|
||||||
|
@ -1,17 +1,16 @@
|
|||||||
GIT="$(which git)"
|
GIT="/sbin/git"
|
||||||
|
|
||||||
function __bash_prompt {
|
function __bash_prompt {
|
||||||
local baseDir=$(__bash_basedir)
|
local baseDir=$(__bash_basedir)
|
||||||
__window_title $baseDir
|
__window_title $baseDir
|
||||||
|
|
||||||
# Define building blocks
|
# Define building blocks
|
||||||
local userhost="$_BOLD$_BLUE\u$_CYAN@\h$_RESET_COLOR$_RESET"
|
local basedir="$_BOLD$_BLUE\W$_RESET_COLOR$_RESET"
|
||||||
local basedir="$_BOLD$_GREEN\W$_RESET_COLOR$_RESET"
|
|
||||||
local git_y_u_no_commit="$_MAGENTA$(__bash_git_y_u_no_commit_warn)$_RESET_COLOR"
|
local git_y_u_no_commit="$_MAGENTA$(__bash_git_y_u_no_commit_warn)$_RESET_COLOR"
|
||||||
local git_branch="$(__bash_prompt_git)"
|
local git_branch="$(__bash_prompt_git)"
|
||||||
local cursor="\[${_DIM}\]›\[$_RESET\]"
|
local cursor="\[${_DIM}\]›\[$_RESET\]"
|
||||||
|
|
||||||
PS1="\n$userhost $basedir$git_branch$git_y_u_no_commit\n$cursor\[$_RESET\] "
|
PS1="\n$basedir$git_branch$git_y_u_no_commit\n$cursor\[$_RESET\] "
|
||||||
}
|
}
|
||||||
PROMPT_COMMAND=__bash_prompt # <--- ta-da!
|
PROMPT_COMMAND=__bash_prompt # <--- ta-da!
|
||||||
|
|
||||||
|
6
bin/ff
6
bin/ff
@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
PROFILEDIR=$(mktemp -d -p /tmp firefox-profile.XXXXX)
|
|
||||||
|
|
||||||
firefox --profile $PROFILEDIR --no-remote --new-instance
|
|
||||||
rm -rf $PROFILEDIR
|
|
@ -1,40 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Keys: XF86MonBrightnessUp, XF86MonBrightnessDown
|
|
||||||
|
|
||||||
class=intel_backlight
|
|
||||||
dir=/sys/class/backlight/$class
|
|
||||||
cur=$(cat $dir/brightness)
|
|
||||||
max=$(cat $dir/max_brightness)
|
|
||||||
|
|
||||||
step=$(("$2" + 0))
|
|
||||||
cur_pct=$((100 * $cur / $max))
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
"up")
|
|
||||||
echo "up $2%"
|
|
||||||
target_pct=$(($cur_pct + $2))
|
|
||||||
;;
|
|
||||||
"down")
|
|
||||||
echo "down $2%"
|
|
||||||
target_pct=$(($cur_pct - $2))
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "Backlight at $cur/$max ($cur_pct%)"
|
|
||||||
exit 0
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ "$target_pct" -lt "0" ]; then
|
|
||||||
target_pct=0
|
|
||||||
fi
|
|
||||||
if [ "$target_pct" -gt "100" ]; then
|
|
||||||
target_pct=100
|
|
||||||
fi
|
|
||||||
|
|
||||||
target_val=$(($max * $target_pct / 100))
|
|
||||||
|
|
||||||
echo "Backlight at $cur/$max ($cur_pct%)"
|
|
||||||
echo "Target $target_val ($target_pct%)"
|
|
||||||
echo "Dest $dir/brightness"
|
|
||||||
echo $target_val > $dir/brightness
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
DISPLAY=:0.0 xset -q | grep -q "Monitor is Off"
|
|
||||||
echo $? > $HOME/.cache/node-exporter/display-standby-state
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
pactl unload-module 7
|
|
||||||
pactl unload-module 8
|
|
||||||
pactl set-card-profile 0 'output:iec958-stereo+input:iec958-stereo'
|
|
@ -1,9 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Turn off secondary display
|
swaymsg "output * dpms off"
|
||||||
# My laptop screen doesn't come back after turning it off,
|
|
||||||
# turning off only the secondary screen for now.
|
|
||||||
swaymsg "output DP-1 dpms off"
|
|
||||||
|
|
||||||
# Turn off all screens
|
|
||||||
# swaymsg "output * dpms off"
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# export VPN_NAME=MyVPN from dotfiles/secrets/vpn
|
# export VPN_NAME=MyVPN from dotfiles/secrets/vpn
|
||||||
if [ "$(nmcli -g GENERAL.STATE con show $VPN_NAME)" == "activated" ]; then
|
if [ "$(nmcli -g GENERAL.STATE con show $VPN_NAME)" == "activated" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
16
bin/weight
Executable file
16
bin/weight
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
|
files = `du -k -d 1`.scan(/(\d+).*\.\/(.*)/)
|
||||||
|
maxlen = files.max_by{ |f| f[1].length }[1].length
|
||||||
|
|
||||||
|
files.sort_by{ |f| f[0].to_i }.reverse.each do |f|
|
||||||
|
name = f[1]
|
||||||
|
size = f[0].to_i
|
||||||
|
|
||||||
|
print "%-#{maxlen+1}s" % name
|
||||||
|
if size < 1024
|
||||||
|
puts "#{size}K"
|
||||||
|
else
|
||||||
|
puts "#{size / 1024}M"
|
||||||
|
end
|
||||||
|
end
|
@ -14,4 +14,3 @@ vendor/gems
|
|||||||
|
|
||||||
# VSCode
|
# VSCode
|
||||||
*.code-workspace
|
*.code-workspace
|
||||||
.vscode
|
|
||||||
|
53
htop/htoprc
53
htop/htoprc
@ -1,61 +1,30 @@
|
|||||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||||
# The parser is also very primitive, and not human-friendly.
|
# The parser is also very primitive, and not human-friendly.
|
||||||
htop_version=3.2.1
|
|
||||||
config_reader_min_version=3
|
|
||||||
fields=0 48 39 40 2 46 47 49 1
|
fields=0 48 39 40 2 46 47 49 1
|
||||||
|
sort_key=46
|
||||||
|
sort_direction=1
|
||||||
|
hide_threads=1
|
||||||
hide_kernel_threads=1
|
hide_kernel_threads=1
|
||||||
hide_userland_threads=1
|
hide_userland_threads=1
|
||||||
shadow_other_users=0
|
shadow_other_users=0
|
||||||
show_thread_names=1
|
show_thread_names=1
|
||||||
show_program_path=1
|
show_program_path=1
|
||||||
highlight_base_name=1
|
highlight_base_name=0
|
||||||
highlight_deleted_exe=1
|
|
||||||
highlight_megabytes=1
|
highlight_megabytes=1
|
||||||
highlight_threads=1
|
highlight_threads=1
|
||||||
highlight_changes=0
|
tree_view=0
|
||||||
highlight_changes_delay_secs=5
|
|
||||||
find_comm_in_cmdline=1
|
|
||||||
strip_exe_from_cmdline=1
|
|
||||||
show_merged_command=0
|
|
||||||
header_margin=1
|
header_margin=1
|
||||||
screen_tabs=0
|
|
||||||
detailed_cpu_time=0
|
detailed_cpu_time=0
|
||||||
cpu_count_from_one=1
|
cpu_count_from_zero=0
|
||||||
show_cpu_usage=1
|
show_cpu_usage=1
|
||||||
show_cpu_frequency=0
|
show_cpu_frequency=0
|
||||||
show_cpu_temperature=0
|
|
||||||
degree_fahrenheit=0
|
|
||||||
update_process_names=0
|
update_process_names=0
|
||||||
account_guest_in_cpu_meter=0
|
account_guest_in_cpu_meter=0
|
||||||
color_scheme=6
|
color_scheme=6
|
||||||
enable_mouse=1
|
enable_mouse=1
|
||||||
delay=15
|
delay=15
|
||||||
hide_function_bar=0
|
left_meters=LeftCPUs Memory Swap
|
||||||
header_layout=two_50_50
|
left_meter_modes=1 1 1
|
||||||
column_meters_0=LeftCPUs Memory Swap Blank Uptime Systemd
|
right_meters=RightCPUs Tasks LoadAverage Uptime
|
||||||
column_meter_modes_0=1 1 1 2 2 2
|
right_meter_modes=1 2 2 2
|
||||||
column_meters_1=RightCPUs Tasks LoadAverage Blank DiskIO NetworkIO
|
vim_mode=0
|
||||||
column_meter_modes_1=1 2 2 2 2 2
|
|
||||||
tree_view=0
|
|
||||||
sort_key=46
|
|
||||||
tree_sort_key=0
|
|
||||||
sort_direction=-1
|
|
||||||
tree_sort_direction=1
|
|
||||||
tree_view_always_by_pid=0
|
|
||||||
all_branches_collapsed=0
|
|
||||||
screen:Main=PID USER M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
|
|
||||||
.sort_key=PERCENT_CPU
|
|
||||||
.tree_sort_key=PID
|
|
||||||
.tree_view=0
|
|
||||||
.tree_view_always_by_pid=0
|
|
||||||
.sort_direction=-1
|
|
||||||
.tree_sort_direction=1
|
|
||||||
.all_branches_collapsed=0
|
|
||||||
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
|
|
||||||
.sort_key=IO_RATE
|
|
||||||
.tree_sort_key=PID
|
|
||||||
.tree_view=0
|
|
||||||
.tree_view_always_by_pid=0
|
|
||||||
.sort_direction=-1
|
|
||||||
.tree_sort_direction=1
|
|
||||||
.all_branches_collapsed=0
|
|
||||||
|
121
myclirc
121
myclirc
@ -1,121 +0,0 @@
|
|||||||
# vi: ft=dosini
|
|
||||||
[main]
|
|
||||||
|
|
||||||
# Enables context sensitive auto-completion. If this is disabled the all
|
|
||||||
# possible completions will be listed.
|
|
||||||
smart_completion = True
|
|
||||||
|
|
||||||
# Multi-line mode allows breaking up the sql statements into multiple lines. If
|
|
||||||
# this is set to True, then the end of the statements must have a semi-colon.
|
|
||||||
# If this is set to False then sql statements can't be split into multiple
|
|
||||||
# lines. End of line (return) is considered as the end of the statement.
|
|
||||||
multi_line = False
|
|
||||||
|
|
||||||
# Destructive warning mode will alert you before executing a sql statement
|
|
||||||
# that may cause harm to the database such as "drop table", "drop database"
|
|
||||||
# or "shutdown".
|
|
||||||
destructive_warning = False
|
|
||||||
|
|
||||||
# log_file location.
|
|
||||||
log_file = ~/.config/mycli/mycli.log
|
|
||||||
|
|
||||||
# Default log level. Possible values: "CRITICAL", "ERROR", "WARNING", "INFO"
|
|
||||||
# and "DEBUG". "NONE" disables logging.
|
|
||||||
log_level = INFO
|
|
||||||
|
|
||||||
# Log every query and its results to a file. Enable this by uncommenting the
|
|
||||||
# line below.
|
|
||||||
# audit_log = ~/.mycli-audit.log
|
|
||||||
|
|
||||||
# Timing of sql statments and table rendering.
|
|
||||||
timing = True
|
|
||||||
|
|
||||||
# Table format. Possible values: ascii, double, github,
|
|
||||||
# psql, plain, simple, grid, fancy_grid, pipe, orgtbl, rst, mediawiki, html,
|
|
||||||
# latex, latex_booktabs, textile, moinmoin, jira, vertical, tsv, csv.
|
|
||||||
# Recommended: ascii
|
|
||||||
table_format = ascii
|
|
||||||
|
|
||||||
# Syntax coloring style. Possible values (many support the "-dark" suffix):
|
|
||||||
# manni, igor, xcode, vim, autumn, vs, rrt, native, perldoc, borland, tango, emacs,
|
|
||||||
# friendly, monokai, paraiso, colorful, murphy, bw, pastie, paraiso, trac, default,
|
|
||||||
# fruity.
|
|
||||||
# Screenshots at http://mycli.net/syntax
|
|
||||||
syntax_style = monokai
|
|
||||||
|
|
||||||
# Keybindings: Possible values: emacs, vi.
|
|
||||||
# Emacs mode: Ctrl-A is home, Ctrl-E is end. All emacs keybindings are available in the REPL.
|
|
||||||
# When Vi mode is enabled you can use modal editing features offered by Vi in the REPL.
|
|
||||||
key_bindings = emacs
|
|
||||||
|
|
||||||
# Enabling this option will show the suggestions in a wider menu. Thus more items are suggested.
|
|
||||||
wider_completion_menu = False
|
|
||||||
|
|
||||||
# MySQL prompt
|
|
||||||
# \D - The full current date
|
|
||||||
# \d - Database name
|
|
||||||
# \h - Hostname of the server
|
|
||||||
# \m - Minutes of the current time
|
|
||||||
# \n - Newline
|
|
||||||
# \P - AM/PM
|
|
||||||
# \p - Port
|
|
||||||
# \R - The current time, in 24-hour military time (0–23)
|
|
||||||
# \r - The current time, standard 12-hour time (1–12)
|
|
||||||
# \s - Seconds of the current time
|
|
||||||
# \t - Product type (Percona, MySQL, MariaDB)
|
|
||||||
# \A - DSN alias name (from the [alias_dsn] section)
|
|
||||||
# \u - Username
|
|
||||||
prompt = '\t \u@\h:\d> '
|
|
||||||
prompt_continuation = '->'
|
|
||||||
|
|
||||||
# Skip intro info on startup and outro info on exit
|
|
||||||
less_chatty = True
|
|
||||||
|
|
||||||
# Use alias from --login-path instead of host name in prompt
|
|
||||||
login_path_as_host = False
|
|
||||||
|
|
||||||
# Cause result sets to be displayed vertically if they are too wide for the current window,
|
|
||||||
# and using normal tabular format otherwise. (This applies to statements terminated by ; or \G.)
|
|
||||||
auto_vertical_output = False
|
|
||||||
|
|
||||||
# keyword casing preference. Possible values "lower", "upper", "auto"
|
|
||||||
keyword_casing = auto
|
|
||||||
|
|
||||||
# disabled pager on startup
|
|
||||||
enable_pager = True
|
|
||||||
|
|
||||||
# Custom colors for the completion menu, toolbar, etc.
|
|
||||||
[colors]
|
|
||||||
completion-menu.completion.current = 'bg:#ffffff #000000'
|
|
||||||
completion-menu.completion = 'bg:#008888 #ffffff'
|
|
||||||
completion-menu.meta.completion.current = 'bg:#44aaaa #000000'
|
|
||||||
completion-menu.meta.completion = 'bg:#448888 #ffffff'
|
|
||||||
completion-menu.multi-column-meta = 'bg:#aaffff #000000'
|
|
||||||
scrollbar.arrow = 'bg:#003333'
|
|
||||||
scrollbar = 'bg:#00aaaa'
|
|
||||||
selected = '#ffffff bg:#6666aa'
|
|
||||||
search = '#ffffff bg:#4444aa'
|
|
||||||
search.current = '#ffffff bg:#44aa44'
|
|
||||||
bottom-toolbar = 'bg:#222222 #aaaaaa'
|
|
||||||
bottom-toolbar.off = 'bg:#222222 #888888'
|
|
||||||
bottom-toolbar.on = 'bg:#222222 #ffffff'
|
|
||||||
search-toolbar = 'noinherit bold'
|
|
||||||
search-toolbar.text = 'nobold'
|
|
||||||
system-toolbar = 'noinherit bold'
|
|
||||||
arg-toolbar = 'noinherit bold'
|
|
||||||
arg-toolbar.text = 'nobold'
|
|
||||||
bottom-toolbar.transaction.valid = 'bg:#222222 #00ff5f bold'
|
|
||||||
bottom-toolbar.transaction.failed = 'bg:#222222 #ff005f bold'
|
|
||||||
|
|
||||||
# style classes for colored table output
|
|
||||||
output.header = "#00ff5f bold"
|
|
||||||
output.odd-row = ""
|
|
||||||
output.even-row = ""
|
|
||||||
|
|
||||||
# Favorite queries.
|
|
||||||
[favorite_queries]
|
|
||||||
|
|
||||||
# Use the -d option to reference a DSN.
|
|
||||||
# Special characters in passwords and other strings can be escaped with URL encoding.
|
|
||||||
[alias_dsn]
|
|
||||||
# example_dsn = mysql://[user[:password]@][host][:port][/dbname]
|
|
@ -1,12 +1,9 @@
|
|||||||
{
|
{
|
||||||
"show_diagnostics_severity_level": 1,
|
"clients":
|
||||||
"show_diagnostics_panel_on_save": 0,
|
{
|
||||||
"diagnostics_panel_include_severity_level": 1,
|
"gopls":
|
||||||
"clients":
|
{
|
||||||
{
|
"enabled": true
|
||||||
"gopls":
|
}
|
||||||
{
|
}
|
||||||
"enabled": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"animation_enabled": false,
|
"animation_enabled": false,
|
||||||
"caret_style": "phase",
|
"caret_style": "phase",
|
||||||
"close_windows_when_empty": false,
|
"close_windows_when_empty": false,
|
||||||
"color_scheme": "ayu-dark.sublime-color-scheme",
|
"color_scheme": "Packages/Colorsublime - Themes/Dracula.tmTheme",
|
||||||
"default_line_ending": "unix",
|
"default_line_ending": "unix",
|
||||||
"drag_text": false,
|
"drag_text": false,
|
||||||
"draw_minimap_border": false,
|
"draw_minimap_border": false,
|
||||||
@ -29,14 +29,10 @@
|
|||||||
"no_bold",
|
"no_bold",
|
||||||
"no_italic"
|
"no_italic"
|
||||||
],
|
],
|
||||||
"font_size": 14,
|
"font_size": 12.0,
|
||||||
"gutter": true,
|
"gutter": true,
|
||||||
"highlight_line": true,
|
"highlight_line": true,
|
||||||
"highlight_modified_tabs": true,
|
"highlight_modified_tabs": true,
|
||||||
"ignored_packages":
|
|
||||||
[
|
|
||||||
"Vintage",
|
|
||||||
],
|
|
||||||
"indent_guide_options":
|
"indent_guide_options":
|
||||||
[
|
[
|
||||||
"draw_normal",
|
"draw_normal",
|
||||||
@ -57,7 +53,7 @@
|
|||||||
"sidebar_large": true,
|
"sidebar_large": true,
|
||||||
"soda_folder_icons": false,
|
"soda_folder_icons": false,
|
||||||
"tab_size": 4,
|
"tab_size": 4,
|
||||||
"theme": "ayu-dark.sublime-theme",
|
"theme": "Adaptive.sublime-theme",
|
||||||
"translate_tabs_to_spaces": true,
|
"translate_tabs_to_spaces": true,
|
||||||
"tree_animation_enabled": false,
|
"tree_animation_enabled": false,
|
||||||
"trim_trailing_white_space_on_save": true,
|
"trim_trailing_white_space_on_save": true,
|
||||||
@ -66,8 +62,5 @@
|
|||||||
"ui_sidebar_highlight_row": true,
|
"ui_sidebar_highlight_row": true,
|
||||||
"wide_caret": true,
|
"wide_caret": true,
|
||||||
"word_wrap": false,
|
"word_wrap": false,
|
||||||
"wrap_width": 80,
|
"wrap_width": 120
|
||||||
"show_panel_on_build": false,
|
|
||||||
"update_check": false,
|
|
||||||
"falback_encoding": "Cyrillic (Windows 1251)",
|
|
||||||
}
|
}
|
||||||
|
@ -21,9 +21,5 @@ include @sysconfdir@/sway/config.d/*
|
|||||||
include $HOME/.config/sway/config.d/*
|
include $HOME/.config/sway/config.d/*
|
||||||
|
|
||||||
# Color Scheme
|
# Color Scheme
|
||||||
# include $HOME/.config/sway/themes/dracula2
|
include $HOME/.config/sway/themes/dracula
|
||||||
include $HOME/.config/sway/themes/default
|
# include $HOME/.config/sway/themes/default
|
||||||
|
|
||||||
exec wl-clipsync
|
|
||||||
exec mako
|
|
||||||
exec env QT_QPA_PLATFORM=wayland kwalletd5
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
# Read `man 5 sway-bar` for more information about this section.
|
# Read `man 5 sway-bar` for more information about this section.
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
|
font $uifont
|
||||||
position top
|
position top
|
||||||
swaybar_command waybar
|
swaybar_command waybar
|
||||||
}
|
}
|
||||||
|
@ -2,23 +2,5 @@
|
|||||||
# Display configurations
|
# Display configurations
|
||||||
#
|
#
|
||||||
|
|
||||||
# Laptop screen
|
# Set UI scale to 1.5 on home display (AOC U2790)
|
||||||
# output eDP-1 position 1920 0 scale 2
|
|
||||||
output eDP-1 position 2560 0 scale 2
|
|
||||||
|
|
||||||
# Home display (AOC U2790)
|
|
||||||
output "Unknown U2790B 0x000007CE" scale 1.5
|
output "Unknown U2790B 0x000007CE" scale 1.5
|
||||||
|
|
||||||
# Office Dell 24"
|
|
||||||
# output "Dell Inc. DELL U2412M YPPY07AV1AHB" position 0 0
|
|
||||||
output "Dell Inc. DELL U2421HE CD8LV83" position 0 0
|
|
||||||
# Office Dell 27" 1080p
|
|
||||||
output "Dell Inc. DELL P2719HC 6T1Y223" position 0 0
|
|
||||||
# Current office 4K LG screen
|
|
||||||
output "LG Electronics LG HDR 4K 0x0000E7EC" position 0 0 scale 1.5 res 3840x2160
|
|
||||||
|
|
||||||
# Maison n9 TV
|
|
||||||
output "Samsung Electric Company SAMSUNG 0x00000701" res 3840x2160 scale 2 position 0 0
|
|
||||||
# Dom Perignon TV
|
|
||||||
output "BenQ Corporation ZOWIE RL LCD 94H02169SL0" pos 4920 0 transform 270
|
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ bindsym --locked Alt+F10 exec screens-off
|
|||||||
bindsym --locked Alt+F1 exec screens-on
|
bindsym --locked Alt+F1 exec screens-on
|
||||||
|
|
||||||
# Start a terminal
|
# Start a terminal
|
||||||
bindsym $mod+Return exec alacritty
|
bindsym $mod+Return exec termite
|
||||||
|
|
||||||
# Start your launcher
|
# Start your launcher
|
||||||
# set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
# set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||||
@ -39,11 +39,6 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #d
|
|||||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
|
||||||
|
|
||||||
# Media player controls
|
# Media player controls
|
||||||
seat * keyboard_grouping none
|
|
||||||
bindsym XF86AudioPlay exec playerctl -p spotify,plasma-browser-integration play-pause
|
bindsym XF86AudioPlay exec playerctl -p spotify,plasma-browser-integration play-pause
|
||||||
bindsym XF86AudioNext exec playerctl -p spotify,plasma-browser-integration next
|
bindsym XF86AudioNext exec playerctl -p spotify,plasma-browser-integration next
|
||||||
bindsym XF86AudioPrev exec playerctl -p spotify,plasma-browser-integration previous
|
bindsym XF86AudioPrev exec playerctl -p spotify,plasma-browser-integration previous
|
||||||
|
|
||||||
# Laptop screen brightness
|
|
||||||
bindsym XF86MonBrightnessUp exec --no-startup-id laptop-screen-brightness up 10
|
|
||||||
bindsym XF86MonBrightnessDown exec --no-startup-id laptop-screen-brightness down 10
|
|
||||||
|
@ -2,11 +2,9 @@
|
|||||||
# Scratchpad
|
# Scratchpad
|
||||||
#
|
#
|
||||||
|
|
||||||
# All keybindings are disabled to avoid confusion
|
|
||||||
|
|
||||||
# Move the currently focused window to the scratchpad
|
# Move the currently focused window to the scratchpad
|
||||||
# bindsym $mod+Shift+minus move scratchpad
|
bindsym $mod+Shift+minus move scratchpad
|
||||||
|
|
||||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||||
# If there are multiple scratchpad windows, this command cycles through them.
|
# If there are multiple scratchpad windows, this command cycles through them.
|
||||||
# bindsym $mod+minus scratchpad show
|
bindsym $mod+minus scratchpad show
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
|
||||||
|
|
@ -2,20 +2,6 @@
|
|||||||
# Window rules
|
# Window rules
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
for_window [window_type="dialog"] floating enable
|
|
||||||
for_window [window_type="splash"] floating enable
|
|
||||||
for_window [window_type="menu"] floating enable
|
|
||||||
for_window [window_type="dropdown_menu"] floating enable
|
|
||||||
for_window [window_type="popup_menu"] floating enable
|
|
||||||
for_window [window_type="tooltip"] floating enable
|
|
||||||
|
|
||||||
for_window [app_id="nm-connection-editor"] floating enable
|
for_window [app_id="nm-connection-editor"] floating enable
|
||||||
for_window [app_id="pavucontrol"] floating enable
|
for_window [app_id="pavucontrol"] floating enable
|
||||||
for_window [app_id="spotify-qt"] floating enable
|
for_window [app_id="spotify-qt"] floating enable
|
||||||
|
|
||||||
# Annoying and pointless sharing indicator
|
|
||||||
# First make it float so that window layout doesn't change before it gets killed
|
|
||||||
# for_window [app_id="firefox" title="Firefox - Sharing Indicator"] floating enable
|
|
||||||
for_window [app_id="firefox" title="^Firefox .* Sharing Indicator$"] floating enable
|
|
||||||
for_window [app_id="firefox" title="^Firefox .* Sharing Indicator$"] kill
|
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
# ~/.config/sway/config.d/zoom.us.conf
|
|
||||||
#
|
|
||||||
# Zoom Meeting App
|
|
||||||
#
|
|
||||||
# Default for all windows is non-floating.
|
|
||||||
#
|
|
||||||
# For pop up notification windows that don't use notifications api
|
|
||||||
for_window [app_id="zoom" title="^zoom$"] border none, floating enable
|
|
||||||
# For specific Zoom windows
|
|
||||||
for_window [app_id="zoom" title="^(Zoom|About)$"] border pixel, floating enable
|
|
||||||
for_window [app_id="zoom" title="Settings"] floating enable, floating_minimum_size 960 x 700
|
|
||||||
# Open Zoom Meeting windows on a new workspace (a bit hacky)
|
|
||||||
for_window [app_id="zoom" title="Zoom Meeting(.*)?"] workspace next_on_output --create, move container to workspace current, floating disable, inhibit_idle open
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
# Default theme that came with sway
|
# Default theme that came with sway
|
||||||
# Changed focused background color a bit
|
# Changed focused background color a bit
|
||||||
|
|
||||||
# class border bg text indic child_border
|
# class border backgr. text wtf . child_border # wtf = indicator?
|
||||||
client.focused #14568c #0e3f66 #ffffff #14568c #14568c
|
client.focused #14568c #0e3f66 #ffffff #14568c #14568c
|
||||||
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
|
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
|
||||||
client.unfocused #333333 #222222 #888888 #292d2e #222222
|
client.unfocused #333333 #222222 #888888 #292d2e #222222
|
||||||
client.urgent #2f343a #900000 #ffffff #900000 #900000
|
client.urgent #2f343a #900000 #ffffff #900000 #900000
|
@ -2,11 +2,10 @@
|
|||||||
# https://github.com/dracula/i3/blob/master/.config/i3/config
|
# https://github.com/dracula/i3/blob/master/.config/i3/config
|
||||||
# Slightly modified
|
# Slightly modified
|
||||||
|
|
||||||
# class border bg text indic child_border
|
client.focused #ffb86c #ffb86c #282a36 #ffb86c #ffb86c
|
||||||
client.focused #ffb86c #ffb86c #282a36 #ffb86c #ffb86c
|
client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A
|
||||||
client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A
|
client.unfocused #44475A #282A36 #F8F8F2 #44475A #44475A
|
||||||
client.unfocused #44475A #282A36 #F8F8F2 #44475A #44475A
|
client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555
|
||||||
client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555
|
client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36
|
||||||
client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36
|
|
||||||
|
|
||||||
client.background #F8F8F2
|
client.background #F8F8F2
|
@ -1,17 +0,0 @@
|
|||||||
set $color1 "#14568c"
|
|
||||||
set $color2 "#0e3f66"
|
|
||||||
set $color3 "#ffffff"
|
|
||||||
set $color4 "#333333"
|
|
||||||
set $color5 "#5f676a"
|
|
||||||
set $color6 "#484e50"
|
|
||||||
set $color7 "#222222"
|
|
||||||
set $color8 "#2f343a"
|
|
||||||
set $color9 "#888888"
|
|
||||||
set $color0 "#900000"
|
|
||||||
set $colorx "#292d2e"
|
|
||||||
|
|
||||||
# class border bg text indic child_border
|
|
||||||
client.focused $color1 $color2 $color3 $color1 $color1
|
|
||||||
client.focused_inactive $color4 $color5 $color3 $color6 $color5
|
|
||||||
client.unfocused $color4 $color7 $color9 $colorx $color7
|
|
||||||
client.urgent $color8 $color0 $color3 $color0 $color0
|
|
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Autocutsel
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type = forking
|
|
||||||
Restart = on-failure
|
|
||||||
RestartSec = 10
|
|
||||||
ExecStartPre = /usr/bin/autocutsel -fork
|
|
||||||
ExecStart = /usr/bin/autocutsel -selection PRIMARY -fork
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=default.target
|
|
@ -1,8 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Logs display standby state to a file
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=%h/dotfiles/bin/log-display-standby-state
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=default.target
|
|
@ -1,11 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Log display standby state every minute
|
|
||||||
Requires=display-standby-state-logger.service
|
|
||||||
|
|
||||||
[Timer]
|
|
||||||
Unit=display-standby-state-logger.service
|
|
||||||
OnCalendar=*-*-* *:*:00
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=timers.target
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Automatic display switch
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=display_switch
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=default.target
|
|
||||||
|
|
@ -3,10 +3,10 @@ Description=swayidle: Manages lockscreen and display
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/sbin/swayidle \
|
ExecStart=/sbin/swayidle \
|
||||||
timeout 300 %h/dotfiles/bin/screens-lock \
|
timeout 300 /home/gregory/dotfiles/bin/screens-lock \
|
||||||
timeout 60 %h/dotfiles/bin/screens-off \
|
timeout 60 /home/gregory/dotfiles/bin/screens-off \
|
||||||
resume %h/dotfiles/bin/screens-on \
|
resume /home/gregory/dotfiles/bin/screens-on \
|
||||||
before-sleep %h/dotfiles/bin/screens-lock
|
before-sleep /home/gregory/dotfiles/bin/screens-lock
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Description=wl-clipsync: Synchronizes primary and clipboard paste buffers
|
Description=wl-clipsync: Synchronizes primary and clipboard paste buffers
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=%h/go/path/bin/wl-clipsync -i 300ms
|
ExecStart=/home/gregory/go/path/bin/wl-clipsync -i 300ms
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
[options]
|
|
||||||
scrollback_lines = 1000000
|
|
||||||
scrollbar = off
|
|
||||||
font = Inconsolata 12
|
|
||||||
allow_bold = false
|
|
||||||
|
|
||||||
# Dracula theme for termite
|
|
||||||
# https://github.com/dracula/termite
|
|
||||||
# Copyright 2013-present, All rights reserved
|
|
||||||
# Code licensed under the MIT license
|
|
||||||
|
|
||||||
[colors]
|
|
||||||
|
|
||||||
# special
|
|
||||||
foreground = #f8f8f2
|
|
||||||
foreground_bold = #f8f8f2
|
|
||||||
cursor = #f8f8f2
|
|
||||||
background = rgba(40, 42, 54, 1)
|
|
||||||
|
|
||||||
# black
|
|
||||||
color0 = #000000
|
|
||||||
color8 = #4d4d4d
|
|
||||||
|
|
||||||
# red
|
|
||||||
color1 = #ff5555
|
|
||||||
color9 = #ff6e67
|
|
||||||
|
|
||||||
# green
|
|
||||||
color2 = #50fa7b
|
|
||||||
color10 = #5af78e
|
|
||||||
|
|
||||||
# yellow
|
|
||||||
color3 = #f1fa8c
|
|
||||||
color11 = #f4f99d
|
|
||||||
|
|
||||||
# blue
|
|
||||||
color4 = #bd93f9
|
|
||||||
color12 = #caa9fa
|
|
||||||
|
|
||||||
# magenta
|
|
||||||
color5 = #ff79c6
|
|
||||||
color13 = #ff92d0
|
|
||||||
|
|
||||||
# cyan
|
|
||||||
color6 = #8be9fd
|
|
||||||
color14 = #9aedfe
|
|
||||||
|
|
||||||
# white
|
|
||||||
color7 = #bfbfbf
|
|
||||||
color15 = #e6e6e6
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"height": 36,
|
"height": 30,
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"sway/workspaces",
|
"sway/workspaces",
|
||||||
"sway/mode",
|
"sway/mode",
|
||||||
@ -19,7 +19,6 @@
|
|||||||
"custom/vpn": {
|
"custom/vpn": {
|
||||||
"format": " {} ",
|
"format": " {} ",
|
||||||
"exec": "vpn-status",
|
"exec": "vpn-status",
|
||||||
"on-click": "vpn-toggle",
|
|
||||||
"interval": 1
|
"interval": 1
|
||||||
},
|
},
|
||||||
"custom/pacman": {
|
"custom/pacman": {
|
||||||
@ -86,7 +85,7 @@
|
|||||||
"format-source": "",
|
"format-source": "",
|
||||||
"format-source-muted": "",
|
"format-source-muted": "",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"headphone": "",
|
"headphone": "",
|
||||||
"hands-free": "",
|
"hands-free": "",
|
||||||
"headset": "",
|
"headset": "",
|
||||||
"phone": "",
|
"phone": "",
|
||||||
@ -98,7 +97,6 @@
|
|||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"on-click-right": "pavucontrol",
|
"on-click-right": "pavucontrol"
|
||||||
"on-click-middle": "audio-out -t"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
font-family: Lato, "Font Awesome 6 Free", Helvetica, Arial, sans-serif;
|
font-family: Roboto, Helvetica, Arial, sans-serif;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
color: #ffffff;
|
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user