remove files
This commit is contained in:
parent
e98b57177f
commit
5bd09304af
0
.gitmodules
vendored
Normal file
0
.gitmodules
vendored
Normal file
@ -1,27 +0,0 @@
|
|||||||
# LeftWM
|
|
||||||
|
|
||||||
Config for [LeftWM](https://github.com/leftwm/leftwm), a window manager written in rust. The current config contains basic keybindings and workspace specified for few apps. Gaps, colors, themes, etc., are not configured yet.
|
|
||||||
Config location: `~/.config/leftwm/config.ron`
|
|
||||||
|
|
||||||
## Theme config
|
|
||||||
|
|
||||||
The scripts and config files for the theme must be in a directory sym-linked to `~/.config/leftwm/themes/current/`.
|
|
||||||
Minimum required files:
|
|
||||||
- `theme.ron`: LeftWM theme config including border color, margins, etc.
|
|
||||||
- `up`: This script is called on login. The `theme.ron` must be loaded by this script using LeftWM's `LoadTheme` command:
|
|
||||||
```bash
|
|
||||||
leftwm command "LoadTheme ~/.config/leftwm/themes/current/theme.ron"
|
|
||||||
```
|
|
||||||
Add lines to load other theme elements like `eww daemon`, `polybar`, or anything you have configured for your desktop.
|
|
||||||
- `down`: To unload the theme.
|
|
||||||
|
|
||||||
```
|
|
||||||
~/.config/
|
|
||||||
└── leftwm/
|
|
||||||
├── config.ron
|
|
||||||
└── themes/
|
|
||||||
└── current/
|
|
||||||
├── theme.ron
|
|
||||||
├── up
|
|
||||||
└── down
|
|
||||||
```
|
|
@ -1,84 +0,0 @@
|
|||||||
// _ ___ ___ _
|
|
||||||
// | | / __)_ / __|_)
|
|
||||||
// | | ____| |__| |_ _ _ _ ____ ____ ___ ____ | |__ _ ____ ____ ___ ____
|
|
||||||
// | |/ _ ) __) _) | | | \ / ___) _ \| _ \| __) |/ _ | / ___) _ \| _ \
|
|
||||||
// | ( (/ /| | | |_| | | | | | | ( (__| |_| | | | | | | ( ( | |_| | | |_| | | | |
|
|
||||||
// |_|\____)_| \___)____|_|_|_| \____)___/|_| |_|_| |_|\_|| (_)_| \___/|_| |_|
|
|
||||||
// A WindowManager for Adventurers (____/
|
|
||||||
// For info about configuration please visit https://github.com/leftwm/leftwm/wiki
|
|
||||||
#![enable(implicit_some)]
|
|
||||||
(
|
|
||||||
modkey: "Mod4",
|
|
||||||
mousekey: "Mod4",
|
|
||||||
tags: [
|
|
||||||
"1", "2", "3", "4", "5", "6", "7", "8", "9",
|
|
||||||
],
|
|
||||||
max_window_width: None,
|
|
||||||
layouts: [],
|
|
||||||
layout_mode: Workspace,
|
|
||||||
insert_behavior: Bottom,
|
|
||||||
scratchpad: [],
|
|
||||||
window_rules: [
|
|
||||||
( window_class: "firefox", spawn_on_tag: 2 ),
|
|
||||||
( window_class: "Alacritty", spawn_on_tag: 1 ),
|
|
||||||
( window_class: "keepassxc", spawn_on_tag: 1 ),
|
|
||||||
( window_class: "code", spawn_on_tag: 3 ),
|
|
||||||
],
|
|
||||||
disable_current_tag_swap: false,
|
|
||||||
disable_tile_drag: false,
|
|
||||||
focus_behaviour: Sloppy,
|
|
||||||
focus_new_windows: true,
|
|
||||||
workspace_margin: 1,
|
|
||||||
keybind: [
|
|
||||||
(command: Execute, value: "dmenu_run", modifier: ["modkey"], key: "p"),
|
|
||||||
(command: Execute, value: "alacritty", modifier: ["modkey", "Shift"], key: "Return"),
|
|
||||||
(command: Execute, value: "firefox --private-window", modifier: ["Control", "Alt"], key: "p"),
|
|
||||||
(command: Execute, value: "code", modifier: ["Control", "Alt"], key: "c"),
|
|
||||||
(command: Execute, value: "keepassxc", modifier: ["Control", "Alt"], key: "k"),
|
|
||||||
(command: CloseWindow, value: "", modifier: ["modkey", "Shift"], key: "q"),
|
|
||||||
(command: SoftReload, value: "", modifier: ["modkey", "Shift"], key: "r"),
|
|
||||||
(command: Execute, value: "loginctl kill-session $XDG_SESSION_ID", modifier: ["modkey", "Shift"], key: "x"),
|
|
||||||
(command: Execute, value: "slock", modifier: ["modkey", "Control"], key: "l"),
|
|
||||||
(command: MoveToLastWorkspace, value: "", modifier: ["modkey", "Shift"], key: "w"),
|
|
||||||
(command: SwapTags, value: "", modifier: ["modkey"], key: "w"),
|
|
||||||
(command: MoveWindowUp, value: "", modifier: ["modkey", "Shift"], key: "k"),
|
|
||||||
(command: MoveWindowDown, value: "", modifier: ["modkey", "Shift"], key: "j"),
|
|
||||||
(command: MoveWindowTop, value: "", modifier: ["modkey"], key: "Return"),
|
|
||||||
(command: FocusWindowUp, value: "", modifier: ["modkey"], key: "k"),
|
|
||||||
(command: FocusWindowDown, value: "", modifier: ["modkey"], key: "j"),
|
|
||||||
(command: NextLayout, value: "", modifier: ["modkey", "Control"], key: "k"),
|
|
||||||
(command: PreviousLayout, value: "", modifier: ["modkey", "Control"], key: "j"),
|
|
||||||
(command: FocusWorkspaceNext, value: "", modifier: ["modkey"], key: "l"),
|
|
||||||
(command: FocusWorkspacePrevious, value: "", modifier: ["modkey"], key: "h"),
|
|
||||||
(command: MoveWindowUp, value: "", modifier: ["modkey", "Shift"], key: "Up"),
|
|
||||||
(command: MoveWindowDown, value: "", modifier: ["modkey", "Shift"], key: "Down"),
|
|
||||||
(command: FocusWindowUp, value: "", modifier: ["modkey"], key: "Up"),
|
|
||||||
(command: FocusWindowDown, value: "", modifier: ["modkey"], key: "Down"),
|
|
||||||
(command: NextLayout, value: "", modifier: ["modkey", "Control"], key: "Up"),
|
|
||||||
(command: PreviousLayout, value: "", modifier: ["modkey", "Control"], key: "Down"),
|
|
||||||
(command: FocusWorkspaceNext, value: "", modifier: ["modkey"], key: "Right"),
|
|
||||||
(command: FocusWorkspacePrevious, value: "", modifier: ["modkey"], key: "Left"),
|
|
||||||
(command: GotoTag, value: "1", modifier: ["modkey"], key: "1"),
|
|
||||||
(command: GotoTag, value: "2", modifier: ["modkey"], key: "2"),
|
|
||||||
(command: GotoTag, value: "3", modifier: ["modkey"], key: "3"),
|
|
||||||
(command: GotoTag, value: "4", modifier: ["modkey"], key: "4"),
|
|
||||||
(command: GotoTag, value: "5", modifier: ["modkey"], key: "5"),
|
|
||||||
(command: GotoTag, value: "6", modifier: ["modkey"], key: "6"),
|
|
||||||
(command: GotoTag, value: "7", modifier: ["modkey"], key: "7"),
|
|
||||||
(command: GotoTag, value: "8", modifier: ["modkey"], key: "8"),
|
|
||||||
(command: GotoTag, value: "9", modifier: ["modkey"], key: "9"),
|
|
||||||
(command: MoveToTag, value: "1", modifier: ["modkey", "Shift"], key: "1"),
|
|
||||||
(command: MoveToTag, value: "2", modifier: ["modkey", "Shift"], key: "2"),
|
|
||||||
(command: MoveToTag, value: "3", modifier: ["modkey", "Shift"], key: "3"),
|
|
||||||
(command: MoveToTag, value: "4", modifier: ["modkey", "Shift"], key: "4"),
|
|
||||||
(command: MoveToTag, value: "5", modifier: ["modkey", "Shift"], key: "5"),
|
|
||||||
(command: MoveToTag, value: "6", modifier: ["modkey", "Shift"], key: "6"),
|
|
||||||
(command: MoveToTag, value: "7", modifier: ["modkey", "Shift"], key: "7"),
|
|
||||||
(command: MoveToTag, value: "8", modifier: ["modkey", "Shift"], key: "8"),
|
|
||||||
(command: MoveToTag, value: "9", modifier: ["modkey", "Shift"], key: "9"),
|
|
||||||
(command: Execute, value: "~/.config/eww/sh/actions/vol/vol_mute.sh", modifier: None, key: "XF86XK_AudioMute"),
|
|
||||||
(command: Execute, value: "~/.config/eww/sh/actions/vol/vol_dec.sh", modifier: None, key: "XF86XK_AudioLowerVolume"),
|
|
||||||
(command: Execute, value: "~/.config/eww/sh/actions/vol/vol_inc.sh", modifier: None, key: "XF86XK_AudioRaiseVolume"),
|
|
||||||
],
|
|
||||||
workspaces: [],
|
|
||||||
)
|
|
@ -1 +0,0 @@
|
|||||||
#!/bin/bash
|
|
@ -1,14 +0,0 @@
|
|||||||
#![enable(implicit_some)]
|
|
||||||
(
|
|
||||||
border_width: 1,
|
|
||||||
margin: 2,
|
|
||||||
workspace_margin: [3, 3, 3, 3],
|
|
||||||
default_width: None,
|
|
||||||
default_height: None,
|
|
||||||
always_float: None,
|
|
||||||
gutter: None,
|
|
||||||
default_border_color: "#9E9E9E",
|
|
||||||
floating_border_color: "#550000",
|
|
||||||
focused_border_color: "#007575",
|
|
||||||
on_new_window: None,
|
|
||||||
)
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
leftwm command "LoadTheme ~/.config/leftwm/themes/current/theme.ron"
|
|
||||||
feh --bg-fill ~/Pictures/wallpapers/ubuntu1.png
|
|
Loading…
Reference in New Issue
Block a user