From f73337383abf0f423c3f3d2f88b8c31227316083 Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Mon, 6 Feb 2023 21:38:25 +0100 Subject: [PATCH] Updates --- leftwm/.config/leftwm/autostart.sh | 39 ++++++++++++++++++++ leftwm/.config/leftwm/themes.toml | 24 ++++++++++++ leftwm/.config/leftwm/themes/current | 1 + leftwm/.config/leftwm/themes/gruv/down | 4 ++ leftwm/.config/leftwm/themes/gruv/theme.toml | 5 +++ leftwm/.config/leftwm/themes/gruv/up | 4 ++ 6 files changed, 77 insertions(+) create mode 100755 leftwm/.config/leftwm/autostart.sh create mode 100644 leftwm/.config/leftwm/themes.toml create mode 120000 leftwm/.config/leftwm/themes/current create mode 100644 leftwm/.config/leftwm/themes/gruv/down create mode 100644 leftwm/.config/leftwm/themes/gruv/theme.toml create mode 100644 leftwm/.config/leftwm/themes/gruv/up diff --git a/leftwm/.config/leftwm/autostart.sh b/leftwm/.config/leftwm/autostart.sh new file mode 100755 index 0000000..70a8dee --- /dev/null +++ b/leftwm/.config/leftwm/autostart.sh @@ -0,0 +1,39 @@ +# Keyboard layout +setxkbmap se & + +# Display settings +$HOME/.screenlayout/layout.sh & + +# Compositor +$HOME/.config/picom/launch & + +# Background +nitrogen --restore & + +# Notification daemon +dunst & + +# Anti sleep +xset s off & +xset -dpms & + +# EWW widgets etc +#eww daemon +#eww open bar + +# Polybar +# $HOME/.config/polybar/launch & + +# EWW widgets +eww daemon & +eww open-many bar-1 bar-2 & # the bar + +# Keyring +eval $(gnome-keyring-daemon --start) +export SSH_AUTH_SOCK + +# Emacs daemon +# emacs --daemon & + +# LeftWM theme +leftwm-command "LoadTheme $HOME/.config/leftwm/themes/current/theme.toml" diff --git a/leftwm/.config/leftwm/themes.toml b/leftwm/.config/leftwm/themes.toml new file mode 100644 index 0000000..b9320fe --- /dev/null +++ b/leftwm/.config/leftwm/themes.toml @@ -0,0 +1,24 @@ +[[repos]] +url = "https://raw.githubusercontent.com/leftwm/leftwm-community-themes/master/known.toml" +name = "community" +definitions_version = 1 +themes = [] + +[[repos]] +url = "localhost" +name = "LOCAL" +definitions_version = 1 + +[[repos.themes]] +name = "default" +directory = "/home/elal/.config/leftwm/themes/default" +version = "0.0.0" +leftwm_versions = "*" +current = false + +[[repos.themes]] +name = "gruv" +directory = "/home/elal/.config/leftwm/themes/gruv" +version = "0.0.0" +leftwm_versions = "*" +current = true diff --git a/leftwm/.config/leftwm/themes/current b/leftwm/.config/leftwm/themes/current new file mode 120000 index 0000000..bc33c6f --- /dev/null +++ b/leftwm/.config/leftwm/themes/current @@ -0,0 +1 @@ +/home/elal/.config/leftwm/themes/gruv \ No newline at end of file diff --git a/leftwm/.config/leftwm/themes/gruv/down b/leftwm/.config/leftwm/themes/gruv/down new file mode 100644 index 0000000..9477835 --- /dev/null +++ b/leftwm/.config/leftwm/themes/gruv/down @@ -0,0 +1,4 @@ +#!/usr/bin/bash + +export SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" +leftwm-command "UnloadTheme $SCRIPTPATH/theme.toml" diff --git a/leftwm/.config/leftwm/themes/gruv/theme.toml b/leftwm/.config/leftwm/themes/gruv/theme.toml new file mode 100644 index 0000000..3be416c --- /dev/null +++ b/leftwm/.config/leftwm/themes/gruv/theme.toml @@ -0,0 +1,5 @@ +border_width = 1 +margin = 16 +default_border_color = "#282828" +focused_border_color = "#484848" +floating_border_color = "#142f5a" diff --git a/leftwm/.config/leftwm/themes/gruv/up b/leftwm/.config/leftwm/themes/gruv/up new file mode 100644 index 0000000..6bf0b8d --- /dev/null +++ b/leftwm/.config/leftwm/themes/gruv/up @@ -0,0 +1,4 @@ +#!/usr/bin/bash + +export SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" +leftwm-command "LoadTheme $SCRIPTPATH/theme.toml"