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 GPG_TTY=$(tty)
export XDG_CURRENT_DESKTOP=sway
export BROWSER=firefox export BROWSER=firefox
export ECORE_EVAS_ENGINE="wayland_egl" export ECORE_EVAS_ENGINE="wayland_egl"
export ELM_ACCEL="gl" export ELM_ACCEL="gl"
export MOZ_ENABLE_WAYLAND=1 export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=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 shape: Block
blinking: on blinking: on
# KDE Breeze (Ported from Konsole)
# Colors (Solarized Dark)
colors: colors:
# Default colors # Default colors
primary: primary:
background: '#002b36' # base03 background: '0x232627'
foreground: '#839496' # base0 foreground: '0xfcfcfc'
# Cursor colors dim_foreground: '0xeff0f1'
cursor: bright_foreground: '0xffffff'
text: '#002b36' # base03 dim_background: '0x31363b'
cursor: '#839496' # base0 bright_background: '0x000000'
# Normal colors # Normal colors
normal: normal:
black: '#073642' # base02 black: '0x232627'
red: '#dc322f' # red red: '0xed1515'
green: '#859900' # green green: '0x11d116'
yellow: '#b58900' # yellow yellow: '0xf67400'
blue: '#268bd2' # blue blue: '0x1d99f3'
magenta: '#d33682' # magenta magenta: '0x9b59b6'
cyan: '#2aa198' # cyan cyan: '0x1abc9c'
white: '#eee8d5' # base2 white: '0xfcfcfc'
# Bright colors # Bright colors
bright: bright:
black: '#002b36' # base03 black: '0x7f8c8d'
red: '#cb4b16' # orange red: '0xc0392b'
green: '#586e75' # base01 green: '0x1cdc9a'
yellow: '#657b83' # base00 yellow: '0xfdbc4b'
blue: '#839496' # base0 blue: '0x3daee9'
magenta: '#6c71c4' # violet magenta: '0x8e44ad'
cyan: '#93a1a1' # base1 cyan: '0x16a085'
white: '#fdf6e3' # base3 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 output * scale 2
include ~/.config/sway/themes/solarized-dark include ~/.config/sway/themes/breeze
# Start components # Start components
@ -125,6 +125,6 @@ for_window [app_id="pavucontrol"] resize set 600 300
# Autostart # Autostart
exec alacritty --class glances -e glances exec alacritty --class bottom -e btm
for_window [app_id="glances"] move container to workspace number 10 for_window [app_id="bottom"] move container to workspace number 10
for_window [app_id="glances"] fullscreen 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 set $gnome-schema org.gnome.desktop.interface
exec_always { 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 icon-theme 'breeze-dark'
gsettings set $gnome-schema cursor-theme 'Breeze_Snow' gsettings set $gnome-schema cursor-theme 'Breeze_Snow'
gsettings set $gnome-schema font-name 'JetBrains Mono 9' gsettings set $gnome-schema font-name 'JetBrains Mono 9'

View file

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

View file

@ -11,5 +11,17 @@ source $ZSH/oh-my-zsh.sh
alias vi="nvim" alias vi="nvim"
alias vim="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"