feat: add kvm script

This commit is contained in:
Lucas Barbieri 2024-07-14 12:08:18 -03:00
parent 6eacbb7e5b
commit c697f8067a
5 changed files with 20 additions and 6 deletions

View File

@ -2,7 +2,10 @@
( (
modkey: "Mod4", modkey: "Mod4",
mousekey: "Mod4", mousekey: "Mod4",
workspaces: [], workspaces: [
// ( output: "HDMI-A-0", relative: true, y: 0, x: 0, height: 1080, width: -1280 ),
// ( output: "HDMI-A-0", relative: true, y: 0, x: 1280, height: 1080, width: -1280 ),
],
tags: [ tags: [
"I", "I",
"II", "II",
@ -69,8 +72,9 @@
(window_class: "gamescope", spawn_on_tag: 9), (window_class: "gamescope", spawn_on_tag: 9),
(window_class: "heroic", spawn_on_tag: 7), (window_class: "heroic", spawn_on_tag: 7),
(window_class: "obs", spawn_on_tag: 5), (window_class: "obs", spawn_on_tag: 5),
(window_class: "krita", spawn_on_tag: 5),
(window_class: "obsidian", spawn_on_tag: 3), (window_class: "obsidian", spawn_on_tag: 3),
(window_class: "parsecd", spawn_on_tag: 5), (window_class: "parsecd", spawn_on_tag: 5, spawn_fullscreen: true),
(window_class: "Dbeaver", spawn_on_tag: 3), (window_class: "Dbeaver", spawn_on_tag: 3),
(window_class: "Chromium-browser", spawn_on_tag: 10), (window_class: "Chromium-browser", spawn_on_tag: 10),
(window_class: "steam", spawn_on_tag: 8), (window_class: "steam", spawn_on_tag: 8),
@ -92,6 +96,7 @@
(window_title: "Wuthering Waves ", window_class: "^client.*.exe$", spawn_on_tag: 9), (window_title: "Wuthering Waves ", window_class: "^client.*.exe$", spawn_on_tag: 9),
(window_class: "steam_app_1267910", spawn_on_tag: 10), (window_class: "steam_app_1267910", spawn_on_tag: 10),
(window_class: "Melvor Idle", spawn_on_tag: 10), (window_class: "Melvor Idle", spawn_on_tag: 10),
(window_class: "net-runelite-launcher-Launcher", spawn_on_tag: 10),
(window_class: "^(Blish Hud)$", spawn_floating: true, spawn_on_tag: 9), (window_class: "^(Blish Hud)$", spawn_floating: true, spawn_on_tag: 9),
], ],
disable_current_tag_swap: false, disable_current_tag_swap: false,

View File

@ -96,7 +96,7 @@ battery_display="on"
disk_display="on" disk_display="on"
image_backend="iterm2" image_backend="iterm2"
image_source="$HOME/pics/the pitiful2.jpg" image_source="$HOME/pics/neofetch/sol/☆ICON☆.jpg"
image_size="300px" image_size="300px"
image_loop="off" image_loop="off"

1
desktop/configs/shell-files/.xinitrc Normal file → Executable file
View File

@ -43,6 +43,7 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then
fi fi
if [ -n "$failsafe" ]; then if [ -n "$failsafe" ]; then
export GTK_THEME="Everforest-Dark-BL"
export XDG_SESSION_TYPE="x11" export XDG_SESSION_TYPE="x11"
exec dbus-launch --exit-with-session leftwm > ~/leftwm.log exec dbus-launch --exit-with-session leftwm > ~/leftwm.log
else else

View File

@ -41,14 +41,18 @@ alias icat="kitty +kitten icat"
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh" [ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
alias hr="date +'%Hh:%M, %d-%m-%Y'" alias hr="date +'%Hh:%M, %d-%m-%Y'"
alias neofetch="fastfetch" alias neofetch="fastfetch"
alias kvm="sh ~/scripts/kvm.sh"
alias windows="sudo grub-set-default 0; sudo grub-reboot 'Microsoft Windows UEFI/GPT'; loginctl reboot"
export BAT_THEME="Solarized (light)" export BAT_THEME="Solarized (light)"
export FPATH="/hdd/docs/eza/completions/zsh:$FPATH" export FPATH="/hdd/docs/eza/completions/zsh:$FPATH"
export EDITOR=nvim export EDITOR=nvim
export PATH=$PATH:/yang/.spicetify export PATH=$PATH:/yang/.spicetify
eval `dircolors /yang/docs/dircolors.256dark`
[ -f "/yang/.ghcup/env" ] && source "/yang/.ghcup/env" # ghcup-env [ -f "/yang/.ghcup/env" ] && source "/yang/.ghcup/env" # ghcup-env
# if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
# dbus-run-session Hyprland dbus-run-session Hyprland
# fi fi

4
desktop/scripts/kvm.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
~/scripts/swww.sh
pkill ags && ags &