gruvbox colors, and back to rofi as launcher

This commit is contained in:
Grigory Shipunov 2022-08-12 01:07:11 +02:00
parent 205f8c10eb
commit f04b6b14b5
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
6 changed files with 67 additions and 32 deletions

View file

@ -3,21 +3,21 @@ font=Hack Nerd Font:pixelsize=12,Font Awesome 6 Free:pixelsize=12
color=000000 ffffff color=000000 ffffff
[colors] [colors]
foreground=dcdccc background=1d2021
background=111111 foreground=ebdbb2
regular0=222222 regular0=282828
regular1=cc9393 regular1=cc241d
regular2=7f9f7f regular2=98971a
regular3=d0bf8f regular3=d79921
regular4=6ca0a3 regular4=458588
regular5=dc8cc3 regular5=b16286
regular6=93e0e3 regular6=689d6a
regular7=dcdccc regular7=a89984
bright0=666666 bright0=928374
bright1=dca3a3 bright1=fb4934
bright2=bfebbf bright2=b8bb26
bright3=f0dfaf bright3=fabd2f
bright4=8cd0d3 bright4=83a598
bright5=fcace3 bright5=d3869b
bright6=b3ffff bright6=8ec07c
bright7=ffffff bright7=ebdbb2

View file

@ -26,7 +26,8 @@ Plug 'neomutt/neomutt.vim'
Plug 'kassio/neoterm' Plug 'kassio/neoterm'
" pretty bits " pretty bits
Plug 'jeffkreeftmeijer/vim-dim' Plug 'gruvbox-community/gruvbox'
Plug 'vim-airline/vim-airline'
Plug 'luochen1990/rainbow' Plug 'luochen1990/rainbow'
" Git " Git
@ -44,8 +45,10 @@ call plug#end()
autocmd BufRead,BufNewFile *.nasm set filetype=nasm autocmd BufRead,BufNewFile *.nasm set filetype=nasm
" Theme " Theme
colorscheme dim set termguicolors
let g:gruvbox_contrast_dark = 'hard'
colorscheme gruvbox
let g:airline_theme = 'gruvbox'
let g:rainbow_active = 1 " rainbow delimiters let g:rainbow_active = 1 " rainbow delimiters
" langmap russian " langmap russian
@ -67,7 +70,6 @@ let maplocalleader = "\\"
set nobackup nowritebackup set nobackup nowritebackup
set noswapfile set noswapfile
set guicursor=
" autosmartident " autosmartident
set ai set ai
@ -148,6 +150,3 @@ match RedundantSpaces /\s\+$/
" fzf " fzf
nmap <leader>f :Files<cr> nmap <leader>f :Files<cr>
nmap <leader>b :Buffers<cr> nmap <leader>b :Buffers<cr>
" set terminal title
set title

View file

@ -1,5 +1,7 @@
[theme] [theme]
name = "foot.toml" name = "gruvbox-dark"
[theme.overrides]
idle_bg = "#1d2021"
[icons] [icons]
name = "awesome6" name = "awesome6"
@ -11,7 +13,13 @@ inboxes = ["/home/grue/mail/mail@oxapentane.com/INBOX", "/home/grue/mail/mail@ox
threshold_warning = 1 threshold_warning = 1
threshold_critical = 10 threshold_critical = 10
display_type = "new" display_type = "new"
on_click = "foot mbsync -a" on_click = "foot neomutt"
[[block]]
block = "backlight"
minimum = 5
maximum = 100
cycle = [ 100, 50, 10 ]
[[block]] [[block]]
block = "net" block = "net"

View file

@ -0,0 +1,7 @@
configuration {
modi: "drun,ssh,run,combi";
font: "Hack 11";
combi-modi: "drun,ssh";
terminal: "foot";
}
@theme "gruvbox-dark-soft"

View file

@ -18,7 +18,7 @@ set $term foot
# Your preferred application launcher # Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened # Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on. # on the original workspace that the command was run on.
set $menu wofi --show drun -i | xargs swaymsg exec -- set $menu rofi -show combi | xargs swaymsg exec --
### Output configuration ### Output configuration
# #
@ -74,6 +74,9 @@ focus_follows_mouse no
# Start a terminal # Start a terminal
bindsym --to-code $mod+Return exec $term bindsym --to-code $mod+Return exec $term
# Start an editor
bindsym --to-code $mod+z exec emacsclient -a="" --create-frame
# Kill focused window # Kill focused window
bindsym --to-code $mod+Shift+q kill bindsym --to-code $mod+Shift+q kill
@ -101,7 +104,6 @@ focus_follows_mouse no
bindsym --to-code XF86AudioLowerVolume exec 'pamixer -d 1' bindsym --to-code XF86AudioLowerVolume exec 'pamixer -d 1'
bindsym --to-code XF86AudioMute exec 'pamixer -t' bindsym --to-code XF86AudioMute exec 'pamixer -t'
bindsym --to-code $mod+Delete exec 'swaylock -eFfk -i ~/.config/sway/wall.jpg -s fill' bindsym --to-code $mod+Delete exec 'swaylock -eFfk -i ~/.config/sway/wall.jpg -s fill'
#bindsym --to-code $mod+Mod1+p exec 'flameshot gui'
bindsym --to-code $mod+p exec 'grim -g "$(slurp)" - | wl-copy' bindsym --to-code $mod+p exec 'grim -g "$(slurp)" - | wl-copy'
bindsym --to-code $mod+Mod1+p exec 'grim -g "$(slurp)" ~/Pictures/$(date +"%Y-%m-%d-%H-%M-%S").png' bindsym --to-code $mod+Mod1+p exec 'grim -g "$(slurp)" ~/Pictures/$(date +"%Y-%m-%d-%H-%M-%S").png'
@ -220,7 +222,7 @@ mode "resize" {
bindsym --to-code $mod+r mode "resize" bindsym --to-code $mod+r mode "resize"
## Styling: colors ## Styling: colors
include colors include gruvbox
## Window styling ## Window styling
# Border BG Text Indicator Child Border # Border BG Text Indicator Child Border
@ -233,7 +235,7 @@ client.focused $color05 $color05 $color00 $color01 $color05
# Read `man 5 sway-bar` for more information about this section. # Read `man 5 sway-bar` for more information about this section.
bar { bar {
position top position top
font pango:Hack, Font Awesome 6 Free 9 font pango:Hack, Font Awesome 6 Free 8
icon_theme "Adwaita" icon_theme "Adwaita"
status_command /run/current-system/sw/bin/i3status-rs status_command /run/current-system/sw/bin/i3status-rs
colors { colors {
@ -249,9 +251,10 @@ bar {
# default border # default border
default_border pixel 2 default_border pixel 2
# Set font # Set font
font pango:Hack, Font Awesome 6 Free 9 font pango:Hack, Font Awesome 6 Free 8
exec nextcloud --background exec nextcloud --background
exec iwgtk -i exec iwgtk -i
exec blueman-applet
include /etc/sway/config.d/* include /etc/sway/config.d/*

18
sway/.config/sway/gruvbox Normal file
View file

@ -0,0 +1,18 @@
set $colorBG #1d2021
set $colorFG #ebdbb2
set $color00 #282828
set $color01 #cc241d
set $color02 #98971a
set $color03 #d79921
set $color04 #458588
set $color05 #b16286
set $color06 #689d6a
set $color07 #a89984
set $color10 #928374
set $color11 #fb4934
set $color12 #b8bb26
set $color13 #fabd2f
set $color14 #83a598
set $color15 #d3869b
set $color16 #8ec07c
set $color17 #ebdbb2