Update dotfiles

This commit is contained in:
Ivan Bushchik 2022-09-25 19:22:36 +03:00
parent 532d1ef6ca
commit 2a10538f60
No known key found for this signature in database
GPG key ID: 3E4E9C7D66E44BF7
8 changed files with 1784 additions and 41 deletions

View file

@ -1,10 +1,6 @@
export GPG_TTY=$(tty)
export XDG_CURRENT_DESKTOP=sway
export BROWSER=firefox
export ECORE_EVAS_ENGINE="wayland_egl"
export ELM_ACCEL="gl"
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
export GTK_CSD=0
export GTK2_RC_FILES=/usr/share/themes/NumixSolarizedDarkGreen/gtk-2.0/gtkrc
export QT_QPA_PLATFORMTHEME=gtk2

View file

@ -27,37 +27,47 @@ cursor:
shape: Block
blinking: on
# Colors (Solarized Dark)
# KDE Breeze (Ported from Konsole)
colors:
# Default colors
primary:
background: '#002b36' # base03
foreground: '#839496' # base0
background: '0x232627'
foreground: '0xfcfcfc'
# Cursor colors
cursor:
text: '#002b36' # base03
cursor: '#839496' # base0
dim_foreground: '0xeff0f1'
bright_foreground: '0xffffff'
dim_background: '0x31363b'
bright_background: '0x000000'
# Normal colors
normal:
black: '#073642' # base02
red: '#dc322f' # red
green: '#859900' # green
yellow: '#b58900' # yellow
blue: '#268bd2' # blue
magenta: '#d33682' # magenta
cyan: '#2aa198' # cyan
white: '#eee8d5' # base2
black: '0x232627'
red: '0xed1515'
green: '0x11d116'
yellow: '0xf67400'
blue: '0x1d99f3'
magenta: '0x9b59b6'
cyan: '0x1abc9c'
white: '0xfcfcfc'
# Bright colors
bright:
black: '#002b36' # base03
red: '#cb4b16' # orange
green: '#586e75' # base01
yellow: '#657b83' # base00
blue: '#839496' # base0
magenta: '#6c71c4' # violet
cyan: '#93a1a1' # base1
white: '#fdf6e3' # base3
black: '0x7f8c8d'
red: '0xc0392b'
green: '0x1cdc9a'
yellow: '0xfdbc4b'
blue: '0x3daee9'
magenta: '0x8e44ad'
cyan: '0x16a085'
white: '0xffffff'
# Dim colors
dim:
black: '0x31363b'
red: '0x783228'
green: '0x17a262'
yellow: '0xb65619'
blue: '0x1b668f'
magenta: '0x614a73'
cyan: '0x186c60'
white: '0x63686d'

View file

@ -27,7 +27,7 @@ font "JetBrains Mono" 9
output * scale 2
include ~/.config/sway/themes/solarized-dark
include ~/.config/sway/themes/breeze
# Start components
@ -125,6 +125,6 @@ for_window [app_id="pavucontrol"] resize set 600 300
# Autostart
exec alacritty --class glances -e glances
for_window [app_id="glances"] move container to workspace number 10
for_window [app_id="glances"] fullscreen
exec alacritty --class bottom -e btm
for_window [app_id="bottom"] move container to workspace number 10
for_window [app_id="bottom"] fullscreen

1685
configs/sway/keymap.xkb Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,41 @@
seat seat0 xcursor_theme "Breeze_Snow"
set $gnome-schema org.gnome.desktop.interface
exec_always {
gsettings set $gnome-schema gtk-theme 'Breeze-Dark'
gsettings set $gnome-schema icon-theme 'breeze-dark'
gsettings set $gnome-schema cursor-theme 'Breeze_Snow'
gsettings set $gnome-schema font-name 'JetBrains Mono 9'
}
# Colors based on Breeze Dark theme and Base16 Seti UI
set $color0 #232629
set $color1 #31363b
set $color2 #3B758C
set $color3 #41535B
set $color4 #43a5d5
set $color5 #bdc3c7
set $color6 #eeeeee
set $color7 #eff0f1
set $color8 #da4453
set $color9 #db7b55
set $color10 #e6cd69
set $color11 #9fca56
set $color12 #3daee9
set $color13 #2980b9
set $color14 #a074c4
set $color15 #8a553f
# Colors with alpha
set $background-color #ff232629
set $accent-color #ff3daee9
# Basic color configuration using the Base16 variables for windows and borders.
# Property Name Border BG Text Indicator Child Border
client.focused $color5 $color12 $color0 $color12 $color12
client.focused_inactive $color1 $color1 $color5 $color3 $color1
client.unfocused $color1 $color0 $color5 $color1 $color1
client.urgent $color8 $color8 $color0 $color8 $color8
client.placeholder $color0 $color0 $color5 $color0 $color0
client.background $color7

View file

@ -2,7 +2,7 @@ seat seat0 xcursor_theme "Breeze_Snow"
set $gnome-schema org.gnome.desktop.interface
exec_always {
gsettings set $gnome-schema gtk-theme 'Breeze-Dark'
gsettings set $gnome-schema gtk-theme 'NumixSolarizedDarkOrange'
gsettings set $gnome-schema icon-theme 'breeze-dark'
gsettings set $gnome-schema cursor-theme 'Breeze_Snow'
gsettings set $gnome-schema font-name 'JetBrains Mono 9'

View file

@ -7,21 +7,20 @@
}
window#waybar {
background-color: #002b36;
color: #839496;
padding-right: 5px;
background-color: #232629;
color: #eeeeee;
}
#workspaces button {
background-color: transparent;
border-radius: 2px;
color: #839496;
margin: 4px 2px;
color: #eeeeee;
margin: 2px 2px;
}
#workspaces button:hover {
color: #cb4b16;
background-color: #073642;
background-color: #43a5d5;
}
#workspaces button.focused {
@ -54,7 +53,7 @@ window#waybar {
color: #b58900;
background-color: #073642;
border-radius: 2px;
margin: 4px 2px;
margin: 2px 2px;
}
#window {

View file

@ -11,5 +11,17 @@ source $ZSH/oh-my-zsh.sh
alias vi="nvim"
alias vim="nvim"
AVLD=$(cut -d " " -f1-3 /proc/loadavg)
USEDMEM=$(free -h | grep Mem | awk '{print $3 " / " $2}')
USEDSWAP=$(free -h | grep Swap | awk '{ print $3 " / " $2}')
USEDSTRG=$(df / -h | tail -n 1 | awk '{print $3}')
USEDSTRGPERC=$(df / -h | tail -n 1 | awk '{print $5}')
STRG=$(df / -h | tail -n 1 | awk '{print $2}')
UPTIME=$(uptime -p)
alias show_current_keys="wshowkeys -F \"JetBrains Mono 9\" -a left -a bottom -t 1"
printf "$fg[green]$(whoami)@$(hostnamectl hostname)$reset_color\n"
printf "$fg[blue]system load:$reset_color\t${AVLD}\n"
printf "$fg[blue]memory usage:$reset_color\t${USEDMEM}\n"
printf "$fg[blue]usage of /:$reset_color\t${USEDSTRGPERC}% (${USEDSTRG}/${STRG})\n"
printf "$fg[blue]swap usage:$reset_color\t${USEDSWAP}\n"
printf "$fg[blue]uptime:$reset_color\t\t${UPTIME}\n"