commit 018ec84eefe6d45a6e20f5d01c577c6668f19dc3 Author: jake Date: Fri Jan 26 12:06:30 2024 -0800 Inital Commit Of leftWM config Added both the older .toml and newer .ron config files. diff --git a/backup_config.toml b/backup_config.toml new file mode 100644 index 0000000..cda6094 --- /dev/null +++ b/backup_config.toml @@ -0,0 +1,334 @@ +#Ronin's LeftWM config file + +#Use the super key +modkey = "Mod4" + + +mousekey = "Shift" + +disable_window_snap = true + +focus_behaviour = "ClickTo" +focus_new_windows = true + +layouts = [ + "MainAndDeck", + "MainAndVertStack", + "MainAndHorizontalStack", + "GridHorizontal", + "EvenHorizontal", + "EvenVertical", + "Fibonacci", + "CenterMain", + "CenterMainBalanced", + "Monocle", + "RightWiderLeftStack", + "LeftWiderRightStack", +] + + +# Can be Workspace or Tag +layout_mode = "Tag" + + +#Tags because I can't get workspaces to work....lol +tags = ["1", "2", "3", "4", "5", "6", "7", "8", "9"] +#tags = ["Passwords", "firefox1", "terminal", "PDF/Docs", "Music", "Empty"] + +#My workspace configs +workspaces = [] + +#ScratchPads +#stuff you can call to any tag/workspace + +#for my terminal emulator +[[scratchpad]] +name = "sakura" +value = "WINIT_X11_SCALE_FACTOR=1 sakura" +x = 0.46 +y = 0.20 +height = 0.80 +width = 0.54 + +#for web browser +[[scratchpad]] +name = "firefox" +value = "WINIT_X11_SCALE_FACTOR=1 sakura" +x = 0.46 +y = 0.20 +height = 0.80 +width = 0.54 + +###################################33 +#KEYBINDS + +############################# + +#Locking +[[keybind]] +command = "Execute" +value = "i3lock --image ~/Pictures/freebsd_001.png -e --clock --radius 120 --ring-width 10 --line-color ff0000ff --ring-color FFFFFFFF --insidever-color 000000FF --ringver-color FFFFFFFF --keyhl-color ff0000ff --separator-color 00000000 --verif-text='' --wrong-text='X'" +modifier = ["Control", "Alt"] +key = "l" + + + + +#Actions/Windows + +[[keybind]] +command = "CloseWindow" +modifier = ["modkey"] +key = "q" + +[[keybind]] +command = "ToggleFullScreen" +modifier = ["modkey"] +key = "f" + + +#Navigation + +[[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" + + +############################# +#Navigation + +#Workspace focus +[[keybind]] +command = "FocusWorkspaceNext" +modifier = ["Control", "Alt"] +key = "Right" + +[[keybind]] +command = "FocusWorkspacePrevious" +modifier = ["Control", "Alt"] +key = "Left" + + + +############################# +#Programs + +#Open up dmenu with user applications +[[keybind]] +command = "Execute" +value = "ls /usr/local/bin/ | dmenu -fn firacode -l 15 -p '==>' -i -nb black -nf red -sb red -sf black | sh" +modifier = ["modkey"] +key = "p" + +[[keybind]] +command = "Execute" +value = "dmenu_run -fn firacode -p '-->'" +modifier = ["modkey"] +key = "a" + + + +#Starts Sakura or Other Terminal emulator +[[keybind]] +command = "Execute" +value = "sakura" +modifier = ["modkey"] +key = "t" + +#Starts the calculator app +[[keybind]] +command = "Execute" +value = "speedcrunch" +modifier = ["modkey"] +key = "c" + + + + +############################# +#Audio/Media Keys + + +# Volume Keys +[[keybind]] +command = "Execute" +value = "mixer vol +10" +modifier = [] +key = "XF86XK_AudioRaiseVolume" + +[[keybind]] +command = "Execute" +value = "mixer vol -10" +modifier = [] +key = "XF86XK_AudioLowerVolume" + +[[keybind]] +command = "Execute" +value = "mixer vol 0" +modifier = [] +key = "XF86XK_AudioMute" + +[[keybind]] +command = "Execute" +value = "mixer mic 0" +modifier = [] +key = "XF86XK_AudioMicMute" + + + +# Volume Keys +[[keybind]] +command = "Execute" +value = "mixer vol +5" +modifier = ["Control", "Alt"] +key = "Up" + +[[keybind]] +command = "Execute" +value = "mixer vol -10" +modifier = ["Control", "Alt"] +key = "Down" + + +#Media play pause ect + + + +# Brightness keys +[[keybind]] +command = "Execute" +value = "light -U 5" +modifier = [] +key = "XF86XK_MonBrightnessDown" + +[[keybind]] +command = "Execute" +value = "light -A 5" +modifier = [] +key = "XF86XK_MonBrightnessUp" + + + +############################# +#RELOAD + +#Soft reloads the leftwm stuff +[[keybind]] +command = "SoftReload" +modifier = ["modkey"] +key = "r" + +#Hard reloads the leftwm stuff. +[[keybind]] +command = "HardReload" +modifier = ["modkey"] +key = "h" + + + diff --git a/config.ron b/config.ron new file mode 100644 index 0000000..63a5414 --- /dev/null +++ b/config.ron @@ -0,0 +1,116 @@ +// _ ___ ___ _ +// | | / __)_ / __|_) +// | | ____| |__| |_ _ _ _ ____ ____ ___ ____ | |__ _ ____ ____ ___ ____ +// | |/ _ ) __) _) | | | \ / ___) _ \| _ \| __) |/ _ | / ___) _ \| _ \ +// | ( (/ /| | | |_| | | | | | | ( (__| |_| | | | | | | ( ( | |_| | | |_| | | | | +// |_|\____)_| \___)____|_|_|_| \____)___/|_| |_|_| |_|\_|| (_)_| \___/|_| |_| +// A WindowManager for Adventurers (____/ +// For info about configuration please visit https://github.com/leftwm/leftwm/wiki + +#![enable(implicit_some)] +#![enable(unwrap_newtypes)] +( + modkey: "Mod4", + mousekey: "Shift", + workspaces: [], + tags: [ + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + ], + max_window_width: None, + layouts: [ + "EvenHorizontal", + "EvenVertical", + "Monocle", + "Grid", + "MainAndVertStack", + "MainAndHorizontalStack", + "RightMainAndVertStack", + "Fibonacci", + "Dwindle", + "MainAndDeck", + "CenterMain", + "CenterMainBalanced", + "CenterMainFluid", + ], + layout_definitions: [ + (name: "EvenHorizontal", flip: None, rotate: North, reserve: None, columns: (flip: None, rotate: North, main: None, stack: (flip: None, rotate: North, split: Vertical), second_stack: None)), + (name: "EvenVertical", flip: None, rotate: North, reserve: None, columns: (flip: None, rotate: North, main: None, stack: (flip: None, rotate: North, split: Horizontal), second_stack: None)), + (name: "Monocle", flip: None, rotate: North, reserve: None, columns: (flip: None, rotate: North, main: None, stack: (flip: None, rotate: North, split: None), second_stack: None)), + (name: "Grid", flip: None, rotate: North, reserve: None, columns: (flip: None, rotate: North, main: None, stack: (flip: None, rotate: North, split: Grid), second_stack: None)), + (name: "MainAndVertStack", flip: None, rotate: North, reserve: None, columns: (flip: None, rotate: North, main: (count: 1, size: 0.5, flip: None, rotate: North, split: Vertical), stack: (flip: None, rotate: North, split: Horizontal), second_stack: None)), + (name: "MainAndHorizontalStack", flip: None, rotate: North, reserve: None, columns: (flip: None, rotate: North, main: (count: 1, size: 0.5, flip: None, rotate: North, split: Vertical), stack: (flip: None, rotate: North, split: Vertical), second_stack: None)), + (name: "RightMainAndVertStack", flip: None, rotate: North, reserve: None, columns: (flip: None, rotate: South, main: (count: 1, size: 0.5, flip: None, rotate: North, split: Vertical), stack: (flip: None, rotate: North, split: Horizontal), second_stack: None)), + (name: "Fibonacci", flip: None, rotate: North, reserve: None, columns: (flip: None, rotate: North, main: (count: 1, size: 0.5, flip: None, rotate: North, split: Vertical), stack: (flip: None, rotate: North, split: Fibonacci), second_stack: None)), + (name: "Dwindle", flip: None, rotate: North, reserve: None, columns: (flip: None, rotate: North, main: (count: 1, size: 0.5, flip: None, rotate: North, split: Vertical), stack: (flip: None, rotate: North, split: Dwindle), second_stack: None)), + (name: "MainAndDeck", flip: None, rotate: North, reserve: None, columns: (flip: None, rotate: North, main: (count: 1, size: 0.5, flip: None, rotate: North, split: None), stack: (flip: None, rotate: North, split: None), second_stack: None)), + (name: "CenterMain", flip: None, rotate: North, reserve: None, columns: (flip: None, rotate: North, main: (count: 1, size: 0.5, flip: None, rotate: North, split: Vertical), stack: (flip: None, rotate: North, split: None), second_stack: (flip: None, rotate: North, split: Horizontal))), + (name: "CenterMainBalanced", flip: None, rotate: North, reserve: None, columns: (flip: None, rotate: North, main: (count: 1, size: 0.5, flip: None, rotate: North, split: Vertical), stack: (flip: None, rotate: North, split: Dwindle), second_stack: (flip: None, rotate: North, split: Dwindle))), + (name: "CenterMainFluid", flip: None, rotate: North, reserve: Reserve, columns: (flip: None, rotate: North, main: (count: 1, size: 0.5, flip: None, rotate: North, split: Vertical), stack: (flip: None, rotate: North, split: None), second_stack: (flip: None, rotate: North, split: Horizontal))), + ], + layout_mode: Tag, + insert_behavior: Bottom, + scratchpad: [ + (name: "Alacritty", value: "alacritty", x: 860, y: 390, height: 300, width: 200), + (name: "sakura", value: "WINIT_X11_SCALE_FACTOR=1 sakura", x: 0.46, y: 0.2, height: 0.8, width: 0.54), + (name: "Firefox", value: "WINIT_X11_SCALE_FACTOR=1 firefox", x: 0.46, y: 0.2, height: 0.8, width: 0.54) + ], + window_rules: [], + disable_current_tag_swap: false, + disable_tile_drag: false, + disable_window_snap: true, + focus_behaviour: Sloppy, + focus_new_windows: true, + create_follows_cursor: true, + single_window_border: true, + sloppy_mouse_follows_focus: true, + reposition_cursor_on_resize: true, + auto_derive_workspaces: true, + keybind: [ + (command: Execute, value: "i3lock --image ~/Pictures/freebsd_001.png -e --clock --radius 120 --ring-width 10 --line-color ff0000ff --ring-color FFFFFFFF --insidever-color 000000FF --ringver-color FFFFFFFF --keyhl-color ff0000ff --separator-color 00000000 --verif-text=\'\' --wrong-text=\'X\'", modifier: ["Control", "Alt"], key: "l"), + (command: CloseWindow, value: "", modifier: ["modkey"], key: "q"), + (command: ToggleFullScreen, value: "", modifier: ["modkey"], key: "f"), + (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: FocusWorkspaceNext, value: "", modifier: ["Control", "Alt"], key: "Right"), + (command: FocusWorkspacePrevious, value: "", modifier: ["Control", "Alt"], key: "Left"), + (command: Execute, value: "ls /usr/local/bin/ | dmenu -fn firacode -l 15 -p \'==>\' -i -nb black -nf red -sb red -sf black | sh", modifier: ["modkey"], key: "p"), + (command: Execute, value: "dmenu_run -fn firacode -p \'-->\'", modifier: ["modkey"], key: "a"), + (command: Execute, value: "sakura", modifier: ["modkey"], key: "t"), + (command: Execute, value: "speedcrunch", modifier: ["modkey"], key: "c"), + (command: Execute, value: "mixer -f /dev/mixer1 vol=+0.10", modifier: [], key: "XF86XK_AudioRaiseVolume"), + (command: Execute, value: "mixer -f /dev/mixer1 vol=-0.10", modifier: [], key: "XF86XK_AudioLowerVolume"), + (command: Execute, value: "mixer -f /dev/mixer1 vol=0", modifier: [], key: "XF86XK_AudioMute"), + (command: Execute, value: "mixer -f /dev/mixer1 mic 0", modifier: [], key: "XF86XK_AudioMicMute"), + (command: Execute, value: "mixer -f /dev/mixer1 vol=+0.5", modifier: ["Control", "Alt"], key: "Up"), + (command: Execute, value: "mixer -f /dev/mixer1 vol=-0.10", modifier: ["Control", "Alt"], key: "Down"), + (command: Execute, value: "light -U 5", modifier: [], key: "XF86XK_MonBrightnessDown"), + (command: Execute, value: "light -A 5", modifier: [], key: "XF86XK_MonBrightnessUp"), + (command: SoftReload, value: "", modifier: ["modkey"], key: "r"), + (command: HardReload, value: "", modifier: ["modkey"], key: "h"), + ], + state_path: None, +) diff --git a/themes.toml b/themes.toml new file mode 100644 index 0000000..7b385c1 --- /dev/null +++ b/themes.toml @@ -0,0 +1,282 @@ +[[repos]] +url = "https://raw.githubusercontent.com/leftwm/leftwm-community-themes/master/known.toml" +name = "community" +definitions_version = 1 + +[[repos.themes]] +name = "Amber" +directory = "/home/ronin/.config/leftwm/themes/Amber" +repository = "https://github.com/di-effe/amber" +commit = "*" +version = "0.2.2" +leftwm_versions = ">0.2.10, <0.3.0" +current = false + +[[repos.themes]] +name = "arch-one-dark" +repository = "https://github.com/jamesbaker1901/leftwm-arch-one-dark/" +commit = "*" +version = "1.0.0" +leftwm_versions = "^0.3.0" +current = false + +[[repos.themes]] +name = "Ascent" +directory = "/home/ronin/.config/leftwm/themes/Ascent" +repository = "https://gitlab.com/mWalrus/ascent" +commit = "*" +version = "1.0.0" +leftwm_versions = ">0.2.7" +current = false + +[[repos.themes]] +name = "Blue Coffee" +repository = "https://github.com/Qwart376/Blue-Coffee/" +commit = "*" +version = "0.0.1" +leftwm_versions = "<0.3.0" +current = false + +[[repos.themes]] +name = "Bumblebee" +repository = "https://github.com/mfdorst/leftwm-bumblebee/" +commit = "*" +version = "0.0.1" +leftwm_versions = "^0.2.8, <0.3.0" +current = false + +[[repos.themes]] +name = "Catppuccin" +repository = "https://github.com/di-effe/catppuccin" +commit = "*" +version = "0.1.1" +leftwm_versions = ">0.2.10, <0.3.0" +current = false + +[[repos.themes]] +name = "Coffee" +repository = "https://github.com/lex148/leftwm-coffee/" +commit = "*" +version = "0.0.1" +leftwm_versions = "<0.3.0" +current = false + +[[repos.themes]] +name = "Dementive" +directory = "/home/ronin/.config/leftwm/themes/Dementive" +repository = "https://github.com/dementive/leftwm-dementive" +commit = "*" +version = "0.1" +leftwm_versions = "^0.4.0" +current = false + +[[repos.themes]] +name = "Desire" +repository = "https://github.com/copypasteonly/Desire" +commit = "*" +version = "0.1" +leftwm_versions = "^0.4.0" +current = false + +[[repos.themes]] +name = "Double Bar" +repository = "https://github.com/PeterDauwe/doublebar/" +commit = "*" +version = "0.0.2" +leftwm_versions = "^0.3.0" +current = false + +[[repos.themes]] +name = "Dracula Rounded" +repository = "https://github.com/AethanFoot/leftwm-theme-dracula-rounded/" +commit = "*" +version = "0.0.3" +leftwm_versions = "^0.3.0" +current = false + +[[repos.themes]] +name = "Epitaph" +directory = "/home/ronin/.config/leftwm/themes/Epitaph" +repository = "https://github.com/VentGrey/Epitaph" +commit = "*" +version = "0.0.2" +leftwm_versions = "*" +current = false + +[[repos.themes]] +name = "Flamingo" +repository = "https://github.com/necaris/leftwm-theme-flamingo" +commit = "*" +version = "0.0.1" +leftwm_versions = ">0.2.7, <0.3.0" +current = false + +[[repos.themes]] +name = "Forest" +repository = "https://github.com/lex148/forest/" +commit = "*" +version = "0.0.1" +leftwm_versions = "^0.3.0" +current = false + +[[repos.themes]] +name = "Garden" +directory = "/home/ronin/.config/leftwm/themes/Garden" +repository = "https://github.com/taylor85345/leftwm-theme-garden" +commit = "*" +version = "0.0.4" +leftwm_versions = ">0.2.7" +current = false + +[[repos.themes]] +name = "Ground Zero" +repository = "https://github.com/Qwart376/Ground-Zero/" +commit = "*" +version = "0.0.1" +leftwm_versions = "<0.3.0" +current = false + +[[repos.themes]] +name = "minimal-solarized" +repository = "https://github.com/minda1975/minimal_solarized" +commit = "*" +version = "0.1.0" +leftwm_versions = "^0.3.0" +current = false + +[[repos.themes]] +name = "Molese" +repository = "https://github.com/m0lese/leftwm-config" +commit = "*" +version = "2.1.0" +leftwm_versions = ">0.2.10, <0.3.0" +current = false + +[[repos.themes]] +name = "Ocean-night" +directory = "/home/ronin/.config/leftwm/themes/Ocean-night" +repository = "https://github.com/TheRoniOne/ocean-night" +commit = "*" +version = "0.0.1" +leftwm_versions = "*" +current = true + +[[repos.themes]] +name = "Orange Forest" +repository = "https://github.com/PVautour/leftwm-theme-orange-forest/" +commit = "*" +version = "0.0.2" +leftwm_versions = "^0.3.0" +current = false + +[[repos.themes]] +name = "plan9" +repository = "https://github.com/seabassapologist/leftwm-theme-plan9" +commit = "*" +version = "0.1.0" +leftwm_versions = "^0.3.0" +current = false + +[[repos.themes]] +name = "Red Moon" +repository = "https://github.com/Qwart376/Red-Moon" +commit = "*" +version = "0.0.1" +leftwm_versions = "<0.3.0" +current = false + +[[repos.themes]] +name = "Serika" +directory = "/home/ronin/.config/leftwm/themes/Serika" +repository = "https://github.com/VuiMuich/leftwm-theme-serika.git" +commit = "*" +version = "0.0.1" +leftwm_versions = ">=0.3.0" +current = false + +[[repos.themes]] +name = "Soothe" +repository = "https://github.com/b4skyx/leftwm-soothe/" +commit = "*" +version = "0.0.1" +leftwm_versions = "<0.3.0" +current = false +relative_directory = "theme/" + +[[repos.themes]] +name = "SpaceJelly" +repository = "https://gitlab.com/leftwmthemes/space_jelly" +commit = "*" +version = "1.0.0" +leftwm_versions = ">0.2.10, <0.3.0" +current = false + +[[repos.themes]] +name = "sunflower" +repository = "https://github.com/mautamu/leftwm-sunflower/" +commit = "*" +version = "0.1.2" +leftwm_versions = "^0.2.11, <0.3.0" +current = false + +[[repos.themes]] +name = "Sunset" +repository = "https://github.com/Syudagye/leftwm-sunset" +commit = "*" +version = "0.0.1" +leftwm_versions = "<0.3.0" +current = false + +[[repos.themes]] +name = "TNG" +repository = "https://github.com/lex148/leftwm-tng/" +commit = "*" +version = "0.0.1" +leftwm_versions = "<0.3.0" +current = false + +[[repos.themes]] +name = "Windows XP" +repository = "https://github.com/lex148/leftwm-windowsxp/" +commit = "*" +version = "0.0.1" +leftwm_versions = "<0.3.0" +current = false + +[[repos.themes]] +name = "Zexanima" +repository = "https://github.com/calebgasser/zexanima-leftwm-theme/tree/develop" +commit = "*" +version = "0.0.1" +leftwm_versions = ">0.3.0" +current = false + +[[repos.themes]] +name = "Blood-Moon" +directory = "/home/ronin/.config/leftwm/themes/Blood-Moon" +repository = "https://github.com/zawesomekid/Blood-Moon-leftwm-theme" +commit = "*" +version = "0.0.1" +leftwm_versions = ">0.3.0" +current = false + +[[repos.themes]] +name = "Late-Night" +directory = "/home/ronin/.config/leftwm/themes/Late-Night" +repository = "https://github.com/JacoMalan1/LateNight" +commit = "*" +version = "0.0.2" +leftwm_versions = ">0.3.0" +current = false + +[[repos]] +url = "localhost" +name = "LOCAL" +definitions_version = 1 + +[[repos.themes]] +name = "ronins_red" +directory = "/home/ronin/.config/leftwm/themes/ronins_red" +version = "0.0.0" +leftwm_versions = "*" +current = false