Some changes to everything

This commit is contained in:
Ivan Bushchik 2022-09-11 14:26:57 +03:00
parent db0df3724c
commit 532d1ef6ca
No known key found for this signature in database
GPG key ID: 3E4E9C7D66E44BF7
8 changed files with 51 additions and 67 deletions

View file

@ -10,7 +10,6 @@ scrolling:
multiplier: 3 multiplier: 3
font: font:
normal: normal:
family: JetBrains Mono family: JetBrains Mono
style: SemiBold style: SemiBold
@ -22,51 +21,43 @@ font:
italic: italic:
family: JetBrains Mono family: JetBrains Mono
style: SemiBold Italic style: SemiBold Italic
size: 9.0 size: 9.0
cursor:
shape: Block
blinking: on
# Colors (Solarized Dark) # Colors (Solarized Dark)
colors: colors:
# Default colors # Default colors
primary: primary:
background: '0x002b36' background: '#002b36' # base03
foreground: '0x93a1a1' foreground: '#839496' # base0
# Colors the cursor will use if `custom_cursor_colors` is true # Cursor colors
cursor: cursor:
text: '0x002b36' text: '#002b36' # base03
cursor: '0x93a1a1' cursor: '#839496' # base0
# Normal colors # Normal colors
normal: normal:
black: '0x002b36' black: '#073642' # base02
red: '0xdc322f' red: '#dc322f' # red
green: '0x859900' green: '#859900' # green
yellow: '0xb58900' yellow: '#b58900' # yellow
blue: '0x268bd2' blue: '#268bd2' # blue
magenta: '0x6c71c4' magenta: '#d33682' # magenta
cyan: '0x2aa198' cyan: '#2aa198' # cyan
white: '0x93a1a1' white: '#eee8d5' # base2
# Bright colors # Bright colors
bright: bright:
black: '0x657b83' black: '#002b36' # base03
red: '0xdc322f' red: '#cb4b16' # orange
green: '0x859900' green: '#586e75' # base01
yellow: '0xb58900' yellow: '#657b83' # base00
blue: '0x268bd2' blue: '#839496' # base0
magenta: '0x6c71c4' magenta: '#6c71c4' # violet
cyan: '0x2aa198' cyan: '#93a1a1' # base1
white: '0xfdf6e3' white: '#fdf6e3' # base3
indexed_colors:
- { index: 16, color: '0xcb4b16' }
- { index: 17, color: '0xd33682' }
- { index: 18, color: '0x073642' }
- { index: 19, color: '0x586e75' }
- { index: 20, color: '0x839496' }
- { index: 21, color: '0xeee8d5' }
cursor:
shape: Block
blinking: on

View file

@ -3,9 +3,9 @@ set showmatch
set hlsearch set hlsearch
set incsearch set incsearch
set autoindent set autoindent
set expandtab set noexpandtab
set tabstop=4 set tabstop=2
set shiftwidth=4 set shiftwidth=2
set number set number
set wildmode=longest, list set wildmode=longest, list
set cc=80 set cc=80

View file

@ -8,7 +8,7 @@ for_window [app_id="^launcher$"] floating enable, sticky enable, resize set 30 p
set $menu exec $term --class=launcher -e env zsh -c "source ~/.profile && /usr/bin/sway-launcher-desktop" set $menu exec $term --class=launcher -e env zsh -c "source ~/.profile && /usr/bin/sway-launcher-desktop"
set $filemgr nemo set $filemgr nemo
output * bg #002b36 solid_color output * bg #073642 solid_color
input * { input * {
xkb_layout us,ru xkb_layout us,ru
@ -29,7 +29,6 @@ output * scale 2
include ~/.config/sway/themes/solarized-dark include ~/.config/sway/themes/solarized-dark
# Start components # Start components
exec mako exec mako
@ -56,7 +55,7 @@ bindsym $mod+Shift+q kill
bindsym $mod+d exec $menu bindsym $mod+d exec $menu
floating_modifier $mod normal floating_modifier $mod normal
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
bindsym $mod+Shift+e exec swaynag -f 'JetBrains Mono 9' -e bottom -t warning -m "What would you like to do?" -B 'Exit sway' 'swaymsg exit' -B 'Power off' 'systemctl poweroff' -B 'Reboot' 'systemctl reboot' bindsym $mod+Shift+e exec swaynag -f 'Ubuntu 9' -e bottom -t warning -m "What would you like to do?" -B 'Exit sway' 'swaymsg exit' -B 'Power off' 'systemctl poweroff' -B 'Reboot' 'systemctl reboot'
bindsym $mod+$left focus left bindsym $mod+$left focus left
bindsym $mod+$down focus down bindsym $mod+$down focus down
bindsym $mod+$up focus up bindsym $mod+$up focus up
@ -126,6 +125,6 @@ for_window [app_id="pavucontrol"] resize set 600 300
# Autostart # Autostart
exec alacritty --class htop -e htop exec alacritty --class glances -e glances
for_window [app_id="htop"] move container to workspace number 10 for_window [app_id="glances"] move container to workspace number 10
for_window [app_id="htop"] fullscreen for_window [app_id="glances"] fullscreen

View file

@ -1,10 +1,10 @@
seat seat0 xcursor_theme "breeze_cursors" 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 'NumixSolarizedDarkGreen' gsettings set $gnome-schema gtk-theme 'Breeze-Dark'
gsettings set $gnome-schema icon-theme 'Numix-Square' gsettings set $gnome-schema icon-theme 'breeze-dark'
gsettings set $gnome-schema cursor-theme 'Numix-Cursor' 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

@ -3,7 +3,7 @@
"position": "top", "position": "top",
"modules-left": ["sway/workspaces", "sway/mode"], "modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"], "modules-center": ["sway/window"],
"modules-right": ["idle_inhibitor", "network", "pulseaudio", "cpu", "memory", "temperature", "battery", "sway/language", "clock", "tray"], "modules-right": ["idle_inhibitor", "network", "cpu", "memory", "temperature", "battery", "sway/language", "clock", "tray"],
"sway/mode": { "sway/mode": {
"format": "<span style=\"italic\">{}</span>" "format": "<span style=\"italic\">{}</span>"
}, },

View file

@ -1,8 +1,9 @@
* { * {
font-family: JetBrains Mono; font-family: JetBrains Mono;
font-size: 9pt; font-size: 8pt;
border: none; border: none;
font-weight: 400; font-weight: 400;
padding: 1 1px;
} }
window#waybar { window#waybar {
@ -12,19 +13,20 @@ window#waybar {
} }
#workspaces button { #workspaces button {
padding-left: 5px;
background-color: transparent; background-color: transparent;
border: none; border-radius: 2px;
border-radius: 0;
color: #839496; color: #839496;
margin: 4px 2px;
} }
#workspaces button:hover { #workspaces button:hover {
color: #cb4b16; color: #cb4b16;
background-color: #073642;
} }
#workspaces button.focused { #workspaces button.focused {
color: #b58900; color: #b58900;
background-color: #073642;
} }
#workspaces button.urgent { #workspaces button.urgent {
@ -48,13 +50,11 @@ window#waybar {
#mode, #mode,
#idle_inhibitor, #idle_inhibitor,
#mpd { #mpd {
padding: 0 5px; padding: 0 4px;
color: #b58900; color: #b58900;
background-color: #002b36; background-color: #073642;
} border-radius: 2px;
margin: 4px 2px;
#idle_inhibitor {
padding-left: 10px;
} }
#window { #window {
@ -91,8 +91,7 @@ label:focus {
} }
#language { #language {
padding: 0 5px; padding: 0 4px;
margin: 0 0px;
min-width: 16px; min-width: 16px;
} }

View file

@ -29,11 +29,6 @@ then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/install_manual.sh)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/install_manual.sh)"
fi fi
# installing sway-launcher
curl https://raw.githubusercontent.com/Biont/sway-launcher-desktop/master/sway-launcher-desktop.sh > $HOME/.dotfiles/utils/sway-launcher-desktop
chmod +x $HOME/.dotfiles/utils/sway-launcher-desktop
# linking dotfiles to their original locations # linking dotfiles to their original locations
echo "Linking dotfiles" echo "Linking dotfiles"

View file

@ -4,7 +4,7 @@
# do not run manually # do not run manually
mkdir -p $HOME/.config/nvim $HOME/.config/alacritty $HOME/.config/mako >/dev/null 2>&1 mkdir -p $HOME/.config/nvim $HOME/.config/alacritty $HOME/.config/mako >/dev/null 2>&1
rm -rf $HOME/.zshrc $HOME/.config/nvim/init.vim $HOME/.config/alacritty/alacritty.yml $HOME/.config/sway $HOME/.config/waybar $HOME/.config/mako/config >/dev/null 2>&1 rm -rf $HOME/.zshrc $HOME/.config/nvim/init.vim $HOME/.config/alacritty/alacritty.yml $HOME/.config/sway $HOME/.config/waybar $HOME/.config/mako/config >/dev/null 2>&1
ln -s $HOME/.dotfiles/configs/zshrc $HOME/.zshrc ln -s $HOME/.dotfiles/configs/zshrc $HOME/.zshrc
echo ".zshrc linked: $HOME/.dotfiles/configs/zshrc -> $HOME/.zshrc" echo ".zshrc linked: $HOME/.dotfiles/configs/zshrc -> $HOME/.zshrc"
ln -s $HOME/.dotfiles/configs/.profile $HOME/.profile ln -s $HOME/.dotfiles/configs/.profile $HOME/.profile