start full-soy vim config, change colors a bit, general YOLO commit

This commit is contained in:
Grigory Shipunov 2022-10-02 02:21:55 +02:00
parent 4ff5fc37a6
commit 4bda92d47d
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
17 changed files with 439 additions and 120 deletions

View file

@ -1,7 +1,5 @@
[theme]
name = "gruvbox-dark"
[theme.overrides]
idle_bg = "#1d2021"
name = "moonfly"
[icons]
name = "awesome6"
@ -46,7 +44,7 @@ format = "{1m} {5m} {15m}"
[[block]]
block = "sound"
on_click = "foot zsh -c pulsemixer"
on_click = "foot --app-id floating-foot zsh -c pulsemixer"
headphones_indicator = true
[[block]]
@ -65,7 +63,4 @@ if_command = "test -e /sys/class/power_supply/BAT0"
[[block]]
block = "time"
interval = 5
format = "%a %F %T"
interval = 1
icons_format = " "
format = "%a %F %R"

View file

@ -0,0 +1,18 @@
idle_bg = "#080808"
idle_fg = "#b2b2b2"
good_bg = "#8cc85f"
good_fg = "#080808"
info_bg = "#79dac8"
info_fg = "#080808"
warning_bg = "#e3c78a"
warning_fg = "#080808"
critical_bg = "#ff5189"
critical_fg = "#080808"
separator = "/"
separator_fg = "#b2b2b2"
separator_bg = "#080808"

View file

@ -4,4 +4,6 @@ configuration {
combi-modi: "drun,ssh";
terminal: "foot";
}
@theme "gruvbox-dark-soft"
//@theme "gruvbox-dark-soft"
//@theme "/nix/store/m66hawy506lv8zpr9j6l9s46kgicvva9-rofi-1.7.5+wayland1/share/rofi/themes/Monokai.rasi"
@theme "/nix/store/g2bj3ngb084x8mjxlix6bwzjy649wbbz-rofi-1.7.5+wayland1/share/rofi/themes/gruvbox-dark-soft.rasi"

View file

@ -15,6 +15,8 @@ set $up k
set $right l
# Your preferred terminal emulator
set $term foot
set $floatterm foot --app-id floating-foot
# Your preferred application launcher
# 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.
@ -50,10 +52,12 @@ exec swayidle -w \
# Example configuration:
#
input "10248:257:FTCS1000:00_2808:0101_Touchpad" {
accel_profile adaptive
click_method clickfinger
dwt enabled
tap enabled
natural_scroll enabled
middle_emulation enabled
natural_scroll enabled
tap enabled
}
input * {
@ -64,8 +68,9 @@ exec swayidle -w \
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
### override defaults
focus_follows_mouse no
focus_follows_mouse yes
mouse_warping container
seat * hide_cursor 5000
### Key bindings
#
@ -73,6 +78,9 @@ focus_follows_mouse no
#
# Start a terminal
bindsym --to-code $mod+Return exec $term
# start a floating terminal
bindsym --to-code $mod+Shift+Return exec $floatterm
for_window [app_id="floating-foot"] floating enable
# Start an editor
bindsym --to-code $mod+z exec emacsclient -a="" --create-frame
@ -104,8 +112,10 @@ focus_follows_mouse no
bindsym --to-code XF86AudioLowerVolume exec 'pamixer -d 1'
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+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 Print exec 'grim -g "$(slurp)" - | wl-copy'
bindsym --to-code $mod+Print exec 'grim -g "$(slurp)" ~/Pictures/$(date +"%Y-%m-%d-%H-%M-%S").png'
bindsym --to-code $mod+m exec 'makoctl dismiss -a'
bindsym --to-code $mod+Shift+m exec 'makoctl restore'
#
@ -189,6 +199,7 @@ focus_follows_mouse no
# Move focus to the parent container
bindsym --to-code $mod+a focus parent
bindsym --to-code $mod+Shift+a focus child
#
# Scratchpad:
#
@ -209,10 +220,10 @@ mode "resize" {
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
bindsym --to-code $left resize shrink width 10px
bindsym --to-code $down resize grow height 10px
bindsym --to-code $up resize shrink height 10px
bindsym --to-code $right resize grow width 10px
bindsym --to-code $left resize shrink width 30px
bindsym --to-code $down resize grow height 30px
bindsym --to-code $up resize shrink height 30px
bindsym --to-code $right resize grow width 30px
# Ditto, with arrow keys
bindsym --to-code Left resize shrink width 10px
@ -227,11 +238,11 @@ mode "resize" {
bindsym --to-code $mod+r mode "resize"
## Styling: colors
include gruvbox
include moonfly
## Window styling
# Border BG Text Indicator Child Border
client.focused $color05 $color05 $color00 $color01 $color05
client.focused $color06 $color06 $color00 $color07 $color06
#client.focused_inactive $color00 $color00 $color00 $color00 $color00
#
@ -240,7 +251,7 @@ client.focused $color05 $color05 $color00 $color01 $color05
# Read `man 5 sway-bar` for more information about this section.
bar {
position top
font pango:Hack, Font Awesome 6 Free 8
font pango:JuliaMono, Font Awesome 6 Free 8
icon_theme "Adwaita"
status_command /run/current-system/sw/bin/i3status-rs
colors {
@ -249,17 +260,31 @@ bar {
# statusline $color15
# STATE Border BG Text
focused_workspace $color15 $color05 $color00
focused_workspace $color06 $color06 $color00
}
}
# default border
default_border pixel 2
# Set font
font pango:Hack, Font Awesome 6 Free 8
font pango:JuliaMono 8
# Startup applications
exec nextcloud --background
exec iwgtk -i
exec blueman-applet
exec wlsunset -l 51 -L 14
# window rules
# floating
for_window [app_id="imv"] floating enable; border normal
for_window [app_id="org.twosheds.iwgtk"] floating enable; border normal
for_window [app_id=".blueman-manager-wrapped"] floating enable; border normal
for_window [app_id="com.nextcloud.desktopclient.nextcloud"] floating enable; border normal
# tabbed containers
for_window [app_id="CubicSDR"] layout tabbed
for_window [app_id="org.wireshark.Wireshark"] layout tabbed
include ./config.d/*
include /etc/sway/config.d/*

View file

@ -1,18 +0,0 @@
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

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

@ -0,0 +1,18 @@
set $colorFG #b2b2b2
set $colorBG #080808
set $color00 #323437
set $color01 #ff5454
set $color02 #8cc85f
set $color03 #e3c78a
set $color04 #80a0ff
set $color05 #d183e8
set $color06 #79dac8
set $color07 #c6c6c6
set $color10 #949494
set $color11 #ff5189
set $color12 #36c692
set $color13 #c2c292
set $color14 #74b2ff
set $color15 #ae81ff
set $color16 #85dc85
set $color17 #e4e4e4