summaryrefslogtreecommitdiff
path: root/.config/leftwm
diff options
context:
space:
mode:
Diffstat (limited to '.config/leftwm')
-rw-r--r--.config/leftwm/config.toml220
-rw-r--r--.config/leftwm/themes/basic_lemonbar/background.jpgbin294696 -> 0 bytes
-rwxr-xr-x.config/leftwm/themes/basic_lemonbar/change_to_tag2
-rwxr-xr-x.config/leftwm/themes/basic_lemonbar/down16
-rw-r--r--.config/leftwm/themes/basic_lemonbar/down.jpgbin539 -> 0 bytes
-rw-r--r--.config/leftwm/themes/basic_lemonbar/sizes.liquid3
-rw-r--r--.config/leftwm/themes/basic_lemonbar/template.liquid18
-rw-r--r--.config/leftwm/themes/basic_lemonbar/theme.toml5
-rwxr-xr-x.config/leftwm/themes/basic_lemonbar/up39
9 files changed, 0 insertions, 303 deletions
diff --git a/.config/leftwm/config.toml b/.config/leftwm/config.toml
deleted file mode 100644
index 1b3dbd0..0000000
--- a/.config/leftwm/config.toml
+++ /dev/null
@@ -1,220 +0,0 @@
-modkey = "Mod4"
-workspaces = []
-tags = ["1", "2", "3", "4", "5", "6", "7", "8", "9"]
-
-# Border config.
-border_width = 1
-margin = 8
-default_border_color = "#1E272B"
-floating_border_color = "#1E272B"
-focused_border_color = "#78824B"
-
-[[keybind]]
-command = "Execute"
-value = "dmenu_run"
-modifier = ["modkey"]
-key = "p"
-
-[[keybind]]
-command = "Execute"
-value = "alacritty"
-modifier = ["modkey", "Shift"]
-key = "Return"
-
-[[keybind]]
-command = "Execute"
-value = "rofi -modi drun -show drun -width 512"
-modifier = ["modkey"]
-key = "space"
-
-[[keybind]]
-command = "Execute"
-value = "brave"
-modifier = ["modkey", "Shift"]
-key = "b"
-
-[[keybind]]
-command = "CloseWindow"
-modifier = ["modkey", "Shift"]
-key = "q"
-
-[[keybind]]
-command = "SoftReload"
-modifier = ["modkey", "Shift"]
-key = "r"
-
-[[keybind]]
-command = "Execute"
-value = "pkill leftwm"
-modifier = ["modkey", "Shift"]
-key = "x"
-
-[[keybind]]
-command = "Execute"
-value = "slock"
-modifier = ["modkey", "Control"]
-key = "l"
-
-[[keybind]]
-command = "MoveToLastWorkspace"
-modifier = ["modkey", "Shift"]
-key = "w"
-
-[[keybind]]
-command = "SwapTags"
-modifier = ["modkey"]
-key = "w"
-
-[[keybind]]
-command = "MoveWindowUp"
-modifier = ["modkey", "Shift"]
-key = "k"
-
-[[keybind]]
-command = "MoveWindowDown"
-modifier = ["modkey", "Shift"]
-key = "j"
-
-[[keybind]]
-command = "MoveWindowTop"
-modifier = ["modkey"]
-key = "Return"
-
-[[keybind]]
-command = "FocusWindowUp"
-modifier = ["modkey"]
-key = "k"
-
-[[keybind]]
-command = "FocusWindowDown"
-modifier = ["modkey"]
-key = "j"
-
-[[keybind]]
-command = "NextLayout"
-modifier = ["modkey", "Control"]
-key = "k"
-
-[[keybind]]
-command = "PreviousLayout"
-modifier = ["modkey", "Control"]
-key = "j"
-
-[[keybind]]
-command = "FocusWorkspaceNext"
-modifier = ["modkey"]
-key = "l"
-
-[[keybind]]
-command = "FocusWorkspacePrevious"
-modifier = ["modkey"]
-key = "h"
-
-[[keybind]]
-command = "GotoTag"
-value = "1"
-modifier = ["modkey"]
-key = "1"
-
-[[keybind]]
-command = "GotoTag"
-value = "2"
-modifier = ["modkey"]
-key = "2"
-
-[[keybind]]
-command = "GotoTag"
-value = "3"
-modifier = ["modkey"]
-key = "3"
-
-[[keybind]]
-command = "GotoTag"
-value = "4"
-modifier = ["modkey"]
-key = "4"
-
-[[keybind]]
-command = "GotoTag"
-value = "5"
-modifier = ["modkey"]
-key = "5"
-
-[[keybind]]
-command = "GotoTag"
-value = "6"
-modifier = ["modkey"]
-key = "6"
-
-[[keybind]]
-command = "GotoTag"
-value = "7"
-modifier = ["modkey"]
-key = "7"
-
-[[keybind]]
-command = "GotoTag"
-value = "8"
-modifier = ["modkey"]
-key = "8"
-
-[[keybind]]
-command = "GotoTag"
-value = "9"
-modifier = ["modkey"]
-key = "9"
-
-[[keybind]]
-command = "MoveToTag"
-value = "1"
-modifier = ["modkey", "Shift"]
-key = "1"
-
-[[keybind]]
-command = "MoveToTag"
-value = "2"
-modifier = ["modkey", "Shift"]
-key = "2"
-
-[[keybind]]
-command = "MoveToTag"
-value = "3"
-modifier = ["modkey", "Shift"]
-key = "3"
-
-[[keybind]]
-command = "MoveToTag"
-value = "4"
-modifier = ["modkey", "Shift"]
-key = "4"
-
-[[keybind]]
-command = "MoveToTag"
-value = "5"
-modifier = ["modkey", "Shift"]
-key = "5"
-
-[[keybind]]
-command = "MoveToTag"
-value = "6"
-modifier = ["modkey", "Shift"]
-key = "6"
-
-[[keybind]]
-command = "MoveToTag"
-value = "7"
-modifier = ["modkey", "Shift"]
-key = "7"
-
-[[keybind]]
-command = "MoveToTag"
-value = "8"
-modifier = ["modkey", "Shift"]
-key = "8"
-
-[[keybind]]
-command = "MoveToTag"
-value = "9"
-modifier = ["modkey", "Shift"]
-key = "9"
-
diff --git a/.config/leftwm/themes/basic_lemonbar/background.jpg b/.config/leftwm/themes/basic_lemonbar/background.jpg
deleted file mode 100644
index 3b35885..0000000
--- a/.config/leftwm/themes/basic_lemonbar/background.jpg
+++ /dev/null
Binary files differ
diff --git a/.config/leftwm/themes/basic_lemonbar/change_to_tag b/.config/leftwm/themes/basic_lemonbar/change_to_tag
deleted file mode 100755
index 8b64075..0000000
--- a/.config/leftwm/themes/basic_lemonbar/change_to_tag
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-echo "SendWorkspaceToTag $1 $2" > $XDG_RUNTIME_DIR/leftwm/commands.pipe
diff --git a/.config/leftwm/themes/basic_lemonbar/down b/.config/leftwm/themes/basic_lemonbar/down
deleted file mode 100755
index c088a2b..0000000
--- a/.config/leftwm/themes/basic_lemonbar/down
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
-
-#set background
-if [ -x "$(command -v feh)" ]; then
- feh --bg-scale $SCRIPTPATH/down.jpg
-fi
-
-echo "UnloadTheme" > $XDG_RUNTIME_DIR/leftwm/commands.pipe
-
-pkill lemonbar
-pkill compton
-pkill picom
-pkill lemonbar
-
diff --git a/.config/leftwm/themes/basic_lemonbar/down.jpg b/.config/leftwm/themes/basic_lemonbar/down.jpg
deleted file mode 100644
index da757f7..0000000
--- a/.config/leftwm/themes/basic_lemonbar/down.jpg
+++ /dev/null
Binary files differ
diff --git a/.config/leftwm/themes/basic_lemonbar/sizes.liquid b/.config/leftwm/themes/basic_lemonbar/sizes.liquid
deleted file mode 100644
index 1d731bd..0000000
--- a/.config/leftwm/themes/basic_lemonbar/sizes.liquid
+++ /dev/null
@@ -1,3 +0,0 @@
-{% for workspace in workspaces %}
-{{workspace.w}}x{{34}}+{{workspace.x}}+{{workspace.y}}
-{% endfor %}
diff --git a/.config/leftwm/themes/basic_lemonbar/template.liquid b/.config/leftwm/themes/basic_lemonbar/template.liquid
deleted file mode 100644
index eb547f3..0000000
--- a/.config/leftwm/themes/basic_lemonbar/template.liquid
+++ /dev/null
@@ -1,18 +0,0 @@
-{% assign mine_open = '%{F#000000}%{B#FFFFFF}' %}
-{% assign mine_close = '%{B-}%{F-}' %}
-{% assign visible_open = '%{F#000000}%{B#999999}' %}
-{% assign visible_close = '%{B-}%{F-}' %}
-
-{% for tag in workspace.tags %}
-{% if tag.mine %}
-{{mine_open}} {{ tag.name }} {{mine_close}}
-{% elsif tag.visible %}
-{{visible_open}} {{ tag.name }} {{visible_close}}
-{% else tag.visible %}
- {{ tag.name }}
-{% endif %}
-{% endfor %}
-%{c}
-{{ window_title }}
-%{r}
-{{ localtime }}
diff --git a/.config/leftwm/themes/basic_lemonbar/theme.toml b/.config/leftwm/themes/basic_lemonbar/theme.toml
deleted file mode 100644
index 8d8df34..0000000
--- a/.config/leftwm/themes/basic_lemonbar/theme.toml
+++ /dev/null
@@ -1,5 +0,0 @@
-border_width = 1
-margin = 10
-default_border_color = "#222222"
-floating_border_color = "#555555"
-focused_border_color = "#AAAAAA"
diff --git a/.config/leftwm/themes/basic_lemonbar/up b/.config/leftwm/themes/basic_lemonbar/up
deleted file mode 100755
index c8f49d1..0000000
--- a/.config/leftwm/themes/basic_lemonbar/up
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
-
-
-#down the last running theme
-if [ -f "/tmp/leftwm-theme-down" ]; then
- /tmp/leftwm-theme-down
- rm /tmp/leftwm-theme-down
-fi
-ln -s $SCRIPTPATH/down /tmp/leftwm-theme-down
-
-
-#boot compton or picom if it exists
-if [ -x "$(command -v compton)" ]; then
- compton &> /dev/null &
-elif [ -x "$(command -v picom)" ]; then
- picom &> /dev/null &
-fi
-
-#set the theme.toml config
-echo "LoadTheme $SCRIPTPATH/theme.toml" > $XDG_RUNTIME_DIR/leftwm/commands.pipe
-
-
-#set background
-if [ -x "$(command -v feh)" ]; then
- feh --bg-scale $SCRIPTPATH/background.jpg
-fi
-
-
-#boot lemonbar and pipe the status of left into it
-sizes=( $(leftwm-state -q -n -t $SCRIPTPATH/sizes.liquid | sed -r '/^\s*$/d') )
-
-index=0
-for size in "${sizes[@]}"
-do
- leftwm-state -w $index -t $SCRIPTPATH/template.liquid | lemonbar -g $size -F#FFFFFFFF -B#AA222222&
- let index=index+1
-done
-