switching back to leftwm and updating configs

This commit is contained in:
Lucas Barbieri 2024-06-11 20:36:15 -03:00
parent 117723232b
commit f874a9b29d
7 changed files with 48 additions and 45 deletions

View File

@ -43,7 +43,7 @@
(window_title:".*Anki$", window_class: "^Anki$", spawn_on_tag: 5),
(window_title: "^Add$", window_class:"^Anki$", spawn_floating: true, spawn_on_tag: 5),
(window_class: "Lutris", spawn_on_tag: 7),
(window_class: "Pavucontrol", spawn_floating: true),
(window_class: "pavucontrol", spawn_floating: true),
(window_class: "PrismLauncher", spawn_on_tag: 7),
(window_class: "Steam", spawn_on_tag: 8),
(window_class: "TeamSpeak 3", spawn_on_tag: 6),
@ -51,7 +51,7 @@
(window_class: "QOwnNotes", window_title:".*QownNotes.*", spawn_on_tag: 3),
(window_class: "QOwnNotes", window_title: "Settings", spawn_floating: true),
(window_class: "Virt-manager", spawn_on_tag: 10),
(window_class: "Spotify", spawn_on_tag: 10),
(window_class: "Spotify", spawn_on_tag: 4),
(window_class: "thunderbird", spawn_on_tag: 10),
(window_class: "XIVLauncher.Core", spawn_on_tag: 7),
(window_class: "The Honkers Railway Launcher", spawn_on_tag: 7),
@ -67,9 +67,11 @@
(window_title: ".*Sign in.*", spawn_floating: true),
(window_class: "gamescope", spawn_on_tag: 9),
(window_class: "heroic", spawn_on_tag: 7),
(window_class: "obs", spawn_on_tag: 7),
(window_class: "obs", spawn_on_tag: 5),
(window_class: "obsidian", spawn_on_tag: 3),
(window_class: "parsecd", spawn_on_tag: 7),
(window_class: "parsecd", spawn_on_tag: 5),
(window_class: "Dbeaver", spawn_on_tag: 3),
(window_class: "Chromium-browser", spawn_on_tag: 10),
(window_class: "steam", spawn_on_tag: 8),
(window_class: ".*Minecraft.*", spawn_on_tag: 9),
(window_class: ".*csgo.*", spawn_on_tag: 9),
@ -83,8 +85,8 @@
(window_title: "steam_app_1476970", spawn_fullscreen: true),
// (window_title: ".*LibreOffice.*", spawn_on_tag: 11),
(window_class: "Signal", spawn_on_tag: 11),
(window_class: "SFP_UI", spawn_on_tag: 11),
(window_class: "Pidgin", spawn_on_tag: 11),
(window_class: "corectrl", spawn_on_tag: 11),
(window_class: "r2modman", spawn_on_tag: 3),
],
disable_current_tag_swap: false,
disable_tile_drag: false,
@ -92,11 +94,11 @@
focus_behaviour: Sloppy,
focus_new_windows: true,
single_window_border: true,
sloppy_mouse_follows_focus: false,
sloppy_mouse_follows_focus: true,
auto_derive_workspaces: true,
keybind: [
(command: Execute, value: "~/.config/rofi/launchers/type-1/launcher.sh", modifier: ["modkey", "Shift"], key: "Return"),
(command: Execute, value: "kitty", modifier: ["modkey"], key: "Return"),
(command: Execute, value: "rofi -show drun", modifier: ["modkey", "Shift"], key: "Return"),
(command: Execute, value: "~/.local/bin/wezterm-gui", modifier: ["modkey"], key: "Return"),
(command: CloseWindow, value: "", modifier: ["modkey", "Shift"], key: "c"),
(command: SoftReload, value: "", modifier: ["modkey", "Shift"], key: "r"),
(command: Execute, value: "loginctl kill-session $XDG_SESSION_ID", modifier: ["modkey", "Shift"], key: "x"),
@ -153,23 +155,17 @@
(command: ToggleFullScreen, modifier: ["modkey"], key: "f"),
// apps
(command: Execute, value: "~/.local/bin/print-fullscreen", modifier: [], key: "Print"),
(command: Execute, value: "~/.local/bin/print-select", modifier: ["Shift"], key: "Print"),
(command: Execute, value: "~/.local/bin/print-tmp", modifier: ["Control", "Shift"], key: "Print"),
(command: Execute, value: "~/.local/bin/print-fullscreen.sh", modifier: [], key: "Print"),
(command: Execute, value: "~/.local/bin/print-select.sh", modifier: ["Shift"], key: "Print"),
(command: Execute, value: "~/.local/bin/print-tmp.sh", modifier: ["Control", "Shift"], key: "Print"),
(command: Execute, value: "~/.local/bin/print-window.sh", modifier: ["Control"], key: "Print"),
(command: Execute, value: "firefox", modifier: ["modkey"], key: "b"),
(command: Execute, value: "steam --noverifyfiles -cef-enable-debugging", modifier: ["modkey", "Shift"], key: "s"),
(command: Execute, value: "~/sfp.sh", modifier: ["modkey", "Control"], key: "s"),
(command: Execute, value: "thunar", modifier: ["modkey"], key: "e"),
(command: Execute, value: "~/scripts/macro.sh", modifier: ["Control", "Shift"], key: "m"),
// (command: Execute, value: "VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json obs", modifier: ["Control", "Shift"], key: "m"),
(command: Execute, value: "flatpak run de.shorsh.discord-screenaudio", modifier: ["modkey", "Control"], key: "d"),
(command: Execute, value: "XL_SECRET_PROVIDER=file xivlauncher", modifier: ["modkey", "Alt"], key: "x"),
(command: Execute, value: "xournalpp", modifier: ["modkey", "Control"], key: "x"),
(command: Execute, value: "i3lock", modifier: ["modkey", "Shift"], key: "l"),
// (command: Execute, value: "xdotool type \n", modifier: ["Shift"], key:"question"),
// (command: Execute, value: "xdotool type \n", modifier: ["Shift"], key:"exclam")
],
state_path: None,
)

View File

@ -1,18 +0,0 @@
[[repos]]
url = "localhost"
name = "LOCAL"
definitions_version = 1
[[repos.themes]]
name = "solarized"
directory = "/lucius/.config/leftwm/themes/solarized"
version = "0.0.0"
leftwm_versions = "*"
current = true
[[repos.themes]]
name = "test"
directory = "/lucius/.config/leftwm/themes/test"
version = "0.0.0"
leftwm_versions = "*"
current = false

View File

@ -1 +1 @@
solarized
/yang/.config/leftwm/themes/everforest

View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
leftwm-command "UnloadTheme"
pkill polybar
pkill picom

View File

@ -0,0 +1,9 @@
#![enable(implicit_some)]
(
border_width : 2,
margin : 5,
workspace_margin : 4,
default_border_color : "#595959",
floating_border_color : "#595959",
focused_border_color : "#a7c080",
)

View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
export 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
leftwm-command "LoadTheme $SCRIPTPATH/theme.ron"
WALLPAPER_PATH=~/pics/wallpapers
autorandr tv_off
feh --bg-scale ~/pics/wallpapers/ef1.png --bg-scale ~/pics/wallpapers/ef2.jpg --bg-scale ~/pics/wallpapers/cottage.jpg
bash ~/.config/polybar/launch.sh
~/.local/bin/picom-ibhagwan -b --experimental-backends &

View File

@ -12,12 +12,4 @@ ln -s $SCRIPTPATH/down /tmp/leftwm-theme-down
leftwm-command "LoadTheme $SCRIPTPATH/theme.ron"
WALLPAPER_PATH=~/pics/wallpapers
# feh --bg-fill ~/pics/wallpapers/simon2.jpg --bg-fill ~/pics/wallpapers/simon3.jpg --bg-fill ~/pics/wallpapers/simon1.jpg # solarized
# feh --bg-fill ~/pics/wallpapers/1155989-rainbow-polygons.jpg --bg-fill ~/pics/wallpapers/media_Ff_g2i3UYAAEL54.jpg --bg-fill ~/pics/wallpapers/media_FZC3t4FUsAAPfOg.jpg # anime girls
feh --bg-fill ~/pics/wallpapers/a-solitary-drive-1920x1080-v0-rwitfbbmnpnb1.png --bg-fill ~/pics/wallpapers/1155989-rainbow-polygons.jpg --bg-fill ~/pics/wallpapers/yuan-zhang-1.jpg
feh --bg-fill $WALLPAPER_PATH/B48w8xB.jpeg --bg-fill $WALLPAPER_PATH/998105.png
# feh --bg-fill ~/pics/wallpapers/late-summer-evening-in-kotor-1920-x-1080-v0-twtwvfb4nsba1.png --bg-fill ~/pics/wallpapers/outrun-elevation-neon-nights-and-soaring-shapes-4k-wallpaper-v0-l3oe6q9neftb1.jpg
bash ~/.config/polybar/launch.sh
# eww daemon &
# eww open bar0
~/.local/bin/picom-ibhagwan -b --experimental-backends