Add more config
This commit is contained in:
parent
15d22d2b68
commit
7594c06095
17 changed files with 71 additions and 7 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
import = [ "~/.config/alacritty/colors.toml" ]
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 10.0
|
size = 10.0
|
||||||
[font.normal]
|
[font.normal]
|
||||||
|
|
4
private_dot_config/alacritty/colors.toml
Normal file
4
private_dot_config/alacritty/colors.toml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[colors]
|
||||||
|
[colors.primary]
|
||||||
|
background = "#20262E"
|
||||||
|
foreground = "#E9E8E8"
|
|
@ -4,4 +4,4 @@ Loads general graphic settings
|
||||||
|
|
||||||
vim.opt.guifont = "mononoki NFM:h11" -- set font
|
vim.opt.guifont = "mononoki NFM:h11" -- set font
|
||||||
vim.opt.background = dark -- set theme
|
vim.opt.background = dark -- set theme
|
||||||
vim.cmd( 'silent! colorscheme monokai') -- set colorscheme
|
vim.cmd( 'silent! colorscheme monokai_pro') -- set colorscheme
|
||||||
|
|
8
private_dot_config/scripts/executable_generate
Normal file
8
private_dot_config/scripts/executable_generate
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
awk '{print "set $"$1, $2}' ~/.config/settings/colors.conf | tee ~/.config/sway/config.d/display/colors.conf
|
||||||
|
|
||||||
|
echo "[colors]
|
||||||
|
[colors.primary]
|
||||||
|
background = \"$(grep dark_main ~/.config/settings/colors.conf | cut -d ' ' -f 2)\"
|
||||||
|
foreground = \"$(grep light_main ~/.config/settings/colors.conf | cut -d ' ' -f 2 )\"" | tee ~/.config/alacritty/colors.toml
|
10
private_dot_config/scripts/executable_get_color
Normal file
10
private_dot_config/scripts/executable_get_color
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#! /bin/sh
|
||||||
|
if [ ${1} = '-h' ]
|
||||||
|
then
|
||||||
|
echo "Get current theme color
|
||||||
|
|
||||||
|
Usage: get_color dark|light accent|main"
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
grep "${1}_${2}" ~/.config/settings/colors.conf | cut -d " " -f 2
|
||||||
|
fi
|
4
private_dot_config/settings/colors.conf
Normal file
4
private_dot_config/settings/colors.conf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dark_main #20262E
|
||||||
|
dark_accent #913175
|
||||||
|
light_accent #CD5888
|
||||||
|
light_main #E9E8E8
|
|
@ -1,2 +1,2 @@
|
||||||
# Background settings
|
# Background settings
|
||||||
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
output * bg /usr/share/backgrounds/sway/main.png fill
|
||||||
|
|
|
@ -7,9 +7,13 @@ bar {
|
||||||
# The default just shows the current date and time.
|
# The default just shows the current date and time.
|
||||||
status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
|
status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
|
||||||
|
|
||||||
|
font pango:monospace 9
|
||||||
|
|
||||||
colors {
|
colors {
|
||||||
statusline #ffffff
|
statusline $light_main
|
||||||
background #323232
|
background $dark_main
|
||||||
inactive_workspace #32323200 #32323200 #5c5c5c
|
focused_workspace $dark_main $light_main $dark_accent
|
||||||
|
active_workspace $dark_main $light_main $dark_accent
|
||||||
|
inactive_workspace $light_main $dark_main $light_accent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
4
private_dot_config/sway/config.d/display/colors.conf
Normal file
4
private_dot_config/sway/config.d/display/colors.conf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
set $dark_main #20262E
|
||||||
|
set $dark_accent #913175
|
||||||
|
set $light_accent #CD5888
|
||||||
|
set $light_main #E9E8E8
|
|
@ -1 +0,0 @@
|
||||||
# General display settings, like default colors
|
|
|
@ -5,8 +5,12 @@
|
||||||
# To have a full display of the configuration structure, see the root
|
# To have a full display of the configuration structure, see the root
|
||||||
# config file
|
# config file
|
||||||
|
|
||||||
include background.conf
|
include colors.conf
|
||||||
|
|
||||||
include general_display.conf
|
include general_display.conf
|
||||||
|
|
||||||
|
include background.conf
|
||||||
|
|
||||||
include bar.conf
|
include bar.conf
|
||||||
|
|
||||||
|
include window.conf
|
||||||
|
|
13
private_dot_config/sway/config.d/display/window.conf
Normal file
13
private_dot_config/sway/config.d/display/window.conf
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Window display setting
|
||||||
|
|
||||||
|
client.focused $light_accent $light_accent $dark_main
|
||||||
|
client.focused_inactive $dark_main $dark_accent $light_main
|
||||||
|
client.unfocused $dark_accent $dark_accent $light_main
|
||||||
|
|
||||||
|
default_border pixel 2
|
||||||
|
default_floating_border pixel 2
|
||||||
|
titlebar_padding 1
|
||||||
|
font pango:monospace 0
|
||||||
|
titlebar_border_thickness 0
|
||||||
|
|
||||||
|
gaps inner 5
|
5
private_dot_config/sway/config.d/general/autostart.conf
Normal file
5
private_dot_config/sway/config.d/general/autostart.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Launch command at start
|
||||||
|
|
||||||
|
exec keepassxc
|
||||||
|
exec copyq
|
||||||
|
exec nextcloud
|
|
@ -6,3 +6,5 @@
|
||||||
# config file
|
# config file
|
||||||
|
|
||||||
include general.conf
|
include general.conf
|
||||||
|
|
||||||
|
include autostart.conf
|
||||||
|
|
|
@ -6,3 +6,5 @@
|
||||||
# config file
|
# config file
|
||||||
|
|
||||||
include systemd-user.conf
|
include systemd-user.conf
|
||||||
|
|
||||||
|
include target.conf
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# Set user-graphical-session.target as reached
|
||||||
|
|
||||||
|
exec systemctl --user start user-graphical-session.target
|
Loading…
Reference in a new issue