mirror of
https://github.com/ivabus/dotfiles
synced 2024-11-21 23:55:07 +03:00
Update dotfiles
This commit is contained in:
parent
174cee4bdd
commit
4cb16aa027
6 changed files with 57 additions and 60 deletions
|
@ -21,39 +21,33 @@ font:
|
||||||
italic:
|
italic:
|
||||||
family: JetBrains Mono
|
family: JetBrains Mono
|
||||||
style: SemiBold Italic
|
style: SemiBold Italic
|
||||||
size: 9.0
|
size: 8.0
|
||||||
|
|
||||||
cursor:
|
cursor:
|
||||||
shape: Block
|
shape: Block
|
||||||
blinking: on
|
blinking: on
|
||||||
|
|
||||||
# Colors (Gruvbox dark)
|
|
||||||
|
# Colors (Solarized Dark)
|
||||||
colors:
|
colors:
|
||||||
# Default colors
|
# Default colors
|
||||||
primary:
|
primary:
|
||||||
# hard contrast: background = '0x1d2021'
|
background: '#002b36' # base03
|
||||||
background: '0x282828'
|
foreground: '#839496' # base0
|
||||||
# soft contrast: background = '0x32302f'
|
|
||||||
foreground: '0xebdbb2'
|
# Cursor colors
|
||||||
|
cursor:
|
||||||
|
text: '#002b36' # base03
|
||||||
|
cursor: '#839496' # base0
|
||||||
|
|
||||||
# Normal colors
|
# Normal colors
|
||||||
normal:
|
normal:
|
||||||
black: '0x282828'
|
black: '#073642' # base02
|
||||||
red: '0xcc241d'
|
red: '#dc322f' # red
|
||||||
green: '0x98971a'
|
green: '#859900' # green
|
||||||
yellow: '0xd79921'
|
yellow: '#b58900' # yellow
|
||||||
blue: '0x458588'
|
blue: '#268bd2' # blue
|
||||||
magenta: '0xb16286'
|
magenta: '#d33682' # magenta
|
||||||
cyan: '0x689d6a'
|
cyan: '#2aa198' # cyan
|
||||||
white: '0xa89984'
|
white: '#eee8d5' # base2
|
||||||
|
|
||||||
# Bright colors
|
|
||||||
bright:
|
|
||||||
black: '0x928374'
|
|
||||||
red: '0xfb4934'
|
|
||||||
green: '0xb8bb26'
|
|
||||||
yellow: '0xfabd2f'
|
|
||||||
blue: '0x83a598'
|
|
||||||
magenta: '0xd3869b'
|
|
||||||
cyan: '0x8ec07c'
|
|
||||||
white: '0xebdbb2'
|
|
||||||
|
|
|
@ -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 #1d2021 solid_color
|
output * bg #073642 solid_color
|
||||||
|
|
||||||
input * {
|
input * {
|
||||||
xkb_layout us,ru
|
xkb_layout us,ru
|
||||||
|
@ -27,7 +27,7 @@ font "JetBrains Mono" 9
|
||||||
|
|
||||||
output * scale 2
|
output * scale 2
|
||||||
|
|
||||||
include ~/.config/sway/themes/gruvbox
|
include ~/.config/sway/themes/solarized-dark
|
||||||
|
|
||||||
# Start components
|
# Start components
|
||||||
|
|
||||||
|
@ -119,6 +119,18 @@ mode "resize" {
|
||||||
}
|
}
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
# Multimedia buttons
|
||||||
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
|
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
|
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
|
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||||
|
bindsym XF86MonBrightnessUp exec brightnessctl set 5%+
|
||||||
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||||||
|
bindsym XF86AudioNext exec playerctl next
|
||||||
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
|
bindsym XF86Search exec $menu
|
||||||
|
|
||||||
# Floating
|
# Floating
|
||||||
for_window [app_id="pavucontrol"] floating enable
|
for_window [app_id="pavucontrol"] floating enable
|
||||||
for_window [app_id="pavucontrol"] resize set 600 300
|
for_window [app_id="pavucontrol"] resize set 600 300
|
||||||
|
@ -128,3 +140,5 @@ for_window [app_id="pavucontrol"] resize set 600 300
|
||||||
exec alacritty --class bottom -e btm
|
exec alacritty --class bottom -e btm
|
||||||
for_window [app_id="bottom"] move container to workspace number 10
|
for_window [app_id="bottom"] move container to workspace number 10
|
||||||
for_window [app_id="bottom"] fullscreen
|
for_window [app_id="bottom"] fullscreen
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,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 'NumixSolarizedDarkCyan'
|
gsettings set $gnome-schema gtk-theme 'NumixSolarizedDarkCyan'
|
||||||
gsettings set $gnome-schema icon-theme 'breeze-dark'
|
gsettings set $gnome-schema icon-theme 'Mint-Y-Aqua'
|
||||||
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'
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
{
|
{
|
||||||
//"height": , // Waybar height (to be removed for auto height)
|
|
||||||
"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", "cpu", "memory", "temperature", "battery", "sway/language", "clock", "tray"],
|
"modules-right": ["idle_inhibitor", "network", "cpu", "memory", "pulseaudio", "battery", "sway/language", "clock", "tray"],
|
||||||
"sway/mode": {
|
"sway/mode": {
|
||||||
"format": "<span style=\"italic\">{}</span>"
|
"format": "<span style=\"italic\">{}</span>"
|
||||||
},
|
},
|
||||||
|
@ -15,7 +14,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
// "icon-size": 21,
|
|
||||||
"spacing": 10
|
"spacing": 10
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
|
|
|
@ -1,61 +1,50 @@
|
||||||
* {
|
* {
|
||||||
font-family: JetBrains Mono;
|
font-family: JetBrains Mono;
|
||||||
font-size: 8pt;
|
font-size: 6pt;
|
||||||
border: none;
|
border: none;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
padding: 1 1px;
|
padding: 1 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background-color: #1d2021;
|
background-color: #002b36;
|
||||||
color: #ebdbb2;
|
color: #839496;
|
||||||
padding-right: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: #a89984;
|
color: #839496;
|
||||||
margin: 4px 2px;
|
margin: 4px 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
color: #ebdbb2;
|
color: #cb4b16;
|
||||||
background-color: #928374;
|
background-color: #073642;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.focused {
|
#workspaces button.focused {
|
||||||
color: #ebdbb2;
|
color: #b58900;
|
||||||
background-color: #282828;
|
background-color: #073642;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
#workspaces button.urgent {
|
||||||
background-color: #cc241d;
|
background-color: #eb4d4b;
|
||||||
}
|
}
|
||||||
#language,
|
#mode {
|
||||||
#clock,
|
background-color: #888888;
|
||||||
#battery,
|
}
|
||||||
#cpu,
|
#language, #clock, #battery, #cpu, #memory, #disk, #temperature, #backlight, #network, #pulseaudio, #custom-media, #tray, #mode, #idle_inhibitor, #mpd {
|
||||||
#memory,
|
|
||||||
#disk,
|
|
||||||
#temperature,
|
|
||||||
#backlight,
|
|
||||||
#network,
|
|
||||||
#pulseaudio,
|
|
||||||
#custom-media,
|
|
||||||
#tray,
|
|
||||||
#mode,
|
|
||||||
#idle_inhibitor,
|
|
||||||
#mpd {
|
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
color: #d79921;
|
color: #839496;
|
||||||
background-color: #282828;
|
background-color: #073642;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
margin: 4px 2px;
|
margin: 4px 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#window {
|
#window {
|
||||||
color: #b8bb26;
|
color: #b58900;
|
||||||
|
font-weight: 800;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If workspaces is the leftmost module, omit left margin */
|
/* If workspaces is the leftmost module, omit left margin */
|
||||||
|
@ -91,3 +80,4 @@ label:focus {
|
||||||
min-width: 16px;
|
min-width: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -30,3 +30,4 @@ alias vi="nvim"
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
alias upgrade_dotfiles="sh $HOME/.dotfiles/tools/upgrade.sh"
|
alias upgrade_dotfiles="sh $HOME/.dotfiles/tools/upgrade.sh"
|
||||||
alias timestamp='date -u +%FT%TZ'
|
alias timestamp='date -u +%FT%TZ'
|
||||||
|
export REPORTTIME=3
|
||||||
|
|
Loading…
Reference in a new issue