Add more config

This commit is contained in:
linarphy 2023-08-02 01:33:40 +02:00
parent 15d22d2b68
commit 7594c06095
No known key found for this signature in database
GPG key ID: B914FF3FE69AA363
17 changed files with 71 additions and 7 deletions

View file

@ -1,3 +1,5 @@
import = [ "~/.config/alacritty/colors.toml" ]
[font]
size = 10.0
[font.normal]

View file

@ -0,0 +1,4 @@
[colors]
[colors.primary]
background = "#20262E"
foreground = "#E9E8E8"

View file

@ -4,4 +4,4 @@ Loads general graphic settings
vim.opt.guifont = "mononoki NFM:h11" -- set font
vim.opt.background = dark -- set theme
vim.cmd( 'silent! colorscheme monokai') -- set colorscheme
vim.cmd( 'silent! colorscheme monokai_pro') -- set colorscheme

View 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

View 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

View file

@ -0,0 +1,4 @@
dark_main #20262E
dark_accent #913175
light_accent #CD5888
light_main #E9E8E8

View file

@ -1,2 +1,2 @@
# Background settings
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
output * bg /usr/share/backgrounds/sway/main.png fill

View file

@ -7,9 +7,13 @@ bar {
# The default just shows the current date and time.
status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
font pango:monospace 9
colors {
statusline #ffffff
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
statusline $light_main
background $dark_main
focused_workspace $dark_main $light_main $dark_accent
active_workspace $dark_main $light_main $dark_accent
inactive_workspace $light_main $dark_main $light_accent
}
}

View file

@ -0,0 +1,4 @@
set $dark_main #20262E
set $dark_accent #913175
set $light_accent #CD5888
set $light_main #E9E8E8

View file

@ -1 +0,0 @@
# General display settings, like default colors

View file

@ -5,8 +5,12 @@
# To have a full display of the configuration structure, see the root
# config file
include background.conf
include colors.conf
include general_display.conf
include background.conf
include bar.conf
include window.conf

View 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

View file

@ -0,0 +1,5 @@
# Launch command at start
exec keepassxc
exec copyq
exec nextcloud

View file

@ -6,3 +6,5 @@
# config file
include general.conf
include autostart.conf

View file

@ -6,3 +6,5 @@
# config file
include systemd-user.conf
include target.conf

View file

@ -0,0 +1,3 @@
# Set user-graphical-session.target as reached
exec systemctl --user start user-graphical-session.target