mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2024-11-28 18:28:39 -05:00
Update DotFiles
This commit is contained in:
parent
a0bd798d73
commit
022fae9651
Binary file not shown.
@ -12,7 +12,7 @@
|
|||||||
#Created:
|
#Created:
|
||||||
# Sun 23 April 2023, 09:31:18 PM [GMT+1]
|
# Sun 23 April 2023, 09:31:18 PM [GMT+1]
|
||||||
#Modified:
|
#Modified:
|
||||||
# Mon 24 April 2023, 01:56:34 PM [GMT+1]
|
# Mon 24 April 2023, 05:07:42 PM [GMT+1]
|
||||||
#
|
#
|
||||||
#Description:
|
#Description:
|
||||||
# Config for DK Window Manager
|
# Config for DK Window Manager
|
||||||
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
# Autostart stuff if its not already started
|
# Autostart stuff if its not already started
|
||||||
if [[ -f "$HOME/.config/dk/scripts/autostart" ]]; then
|
if [[ -f "$HOME/.config/dk/scripts/autostart" ]]; then
|
||||||
exec "$HOME/.config/dk/scripts/autostart"
|
sh "$HOME/.config/dk/scripts/autostart"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# example dkrc to show some basic command usage and error reporting
|
# example dkrc to show some basic command usage and error reporting
|
||||||
@ -149,16 +149,63 @@ fi
|
|||||||
# --------------
|
# --------------
|
||||||
|
|
||||||
# delete all rules
|
# delete all rules
|
||||||
# dkcmd rule remove '*'
|
dkcmd rule remove '*'
|
||||||
|
|
||||||
# rule class, instance, and title regexes (*ALWAYS* CASE INSENSITIVE)
|
# Assign application to start on a specific workspace
|
||||||
|
# you can find the class with the program xprop
|
||||||
|
|
||||||
# open window(s) on a specific workspace (assigned monitor)
|
# sign via class
|
||||||
dkcmd rule class="^alacritty$" ws=1 focus=true
|
# Workspace ws=1
|
||||||
|
dkcmd rule class="^Alacritty$" ws=1 focus=true
|
||||||
|
dkcmd rule class="^Kitty$" ws=1 focus=true
|
||||||
|
|
||||||
dkcmd rule class="^nemo$" ws=3 focus=true
|
# Workspace ws=2
|
||||||
|
dkcmd rule class="^Emacs$" ws=2 focus=true
|
||||||
|
dkcmd rule class="^Code$" ws=2 focus=true
|
||||||
|
dkcmd rule class="^Nvim$" ws=2 focus=true
|
||||||
|
|
||||||
dkcmd rule class="^wm-cheat.py$" stick=true float=true w=720 h=720 x=center y=center
|
# Workspace ws=3
|
||||||
|
dkcmd rule class="^Nemo$" ws=3 focus=true
|
||||||
|
|
||||||
|
# Workspace ws=4
|
||||||
|
dkcmd rule class="^Aseprite$" ws=4 focus=true
|
||||||
|
dkcmd rule class="^Krita$" ws=4 focus=true
|
||||||
|
|
||||||
|
# Workspace ws=5
|
||||||
|
dkcmd rule class="^Xephyr$" ws=5 focus=true
|
||||||
|
dkcmd rule class="^CmusImage$" ws=5 focus=true
|
||||||
|
|
||||||
|
# Workspace ws=6
|
||||||
|
dkcmd rule class="^Firefox$" ws=6 focus=true
|
||||||
|
dkcmd rule class="^Google-Chrome$" ws=6 focus=true
|
||||||
|
|
||||||
|
# Workspace ws=7
|
||||||
|
dkcmd rule class="^Mail$" ws=7 focus=true
|
||||||
|
dkcmd rule class="^Thunderbird$" ws=7 focus=true
|
||||||
|
dkcmd rule class="^Keybase$" ws=7 focus=true
|
||||||
|
|
||||||
|
# Workspace ws=8
|
||||||
|
dkcmd rule class="^Minecraft$" ws=8 focus=true
|
||||||
|
dkcmd rule class="^Steam$" ws=8 focus=true
|
||||||
|
dkcmd rule class="^PrismLauncher$" ws=8 focus=true
|
||||||
|
dkcmd rule class="^0ad$" ws=8 focus=true
|
||||||
|
dkcmd rule class="^Minetest$" ws=8 focus=true
|
||||||
|
|
||||||
|
# Workspace ws=9
|
||||||
|
dkcmd rule class="^Discord$" ws=9 focus=true
|
||||||
|
dkcmd rule class="^Element$" ws=9 focus=true
|
||||||
|
|
||||||
|
# Workspace ws=10
|
||||||
|
dkcmd rule class="^Jetbrains$" ws=10 focus=true
|
||||||
|
dkcmd rule class="^PkgBrowser$" ws=10 focus=true
|
||||||
|
dkcmd rule class="^Actions$" ws=10 focus=true
|
||||||
|
dkcmd rule class="^Btop$" ws=10 focus=true
|
||||||
|
dkcmd rule class="^Piper$" ws=10 focus=true
|
||||||
|
dkcmd rule class="^LazyGit$" ws=10 focus=true
|
||||||
|
dkcmd rule class="^Virt$" ws=10 focus=true
|
||||||
|
dkcmd rule class="^Dconf-Editor$" ws=10 focus=true
|
||||||
|
|
||||||
|
dkcmd rule class="^wm-cheat.py$" stick=true float=true w=920 h=720 x=center y=center
|
||||||
|
|
||||||
# open window(s) and use a callback function (user defined in config.h)
|
# open window(s) and use a callback function (user defined in config.h)
|
||||||
# we also ignore=true to stop the window from being resized on it's own from events
|
# we also ignore=true to stop the window from being resized on it's own from events
|
||||||
@ -166,7 +213,7 @@ fi
|
|||||||
dkcmd rule class="^mpv$" instance="^albumart$" float=true ignore=true callback=albumart bw=0
|
dkcmd rule class="^mpv$" instance="^albumart$" float=true ignore=true callback=albumart bw=0
|
||||||
|
|
||||||
# open window(s) in a floating state
|
# open window(s) in a floating state
|
||||||
dkcmd rule class="^(pavucontrol|transmission-gtk|steam|lxappearance)$" float=true
|
dkcmd rule class="^(pavucontrol|transmission-gtk|lxappearance)$" float=true
|
||||||
|
|
||||||
# open window(s) with a specific geometry and coordinates (floating only!)
|
# open window(s) with a specific geometry and coordinates (floating only!)
|
||||||
dkcmd rule class="^google-chrome$" title="^open files$" float=true w=1280 h=720
|
dkcmd rule class="^google-chrome$" title="^open files$" float=true w=1280 h=720
|
||||||
@ -174,9 +221,6 @@ fi
|
|||||||
# open window(s) with sticky and floating enabled to view on all workspaces.
|
# open window(s) with sticky and floating enabled to view on all workspaces.
|
||||||
dkcmd rule class="^stickyterm$" stick=true float=true w=1280 h=720
|
dkcmd rule class="^stickyterm$" stick=true float=true w=1280 h=720
|
||||||
|
|
||||||
# focus window and workspace on opening
|
|
||||||
dkcmd rule class="^firefox$" ws=6 focus=true
|
|
||||||
|
|
||||||
# apply current rule set to all existing windows (useful for WM reload/restart)
|
# apply current rule set to all existing windows (useful for WM reload/restart)
|
||||||
dkcmd rule apply '*'
|
dkcmd rule apply '*'
|
||||||
|
|
||||||
|
@ -18,14 +18,12 @@ size-transition = true
|
|||||||
corner-radius = 10.0;
|
corner-radius = 10.0;
|
||||||
rounded-corners-exclude = [
|
rounded-corners-exclude = [
|
||||||
#"window_type = 'normal'",
|
#"window_type = 'normal'",
|
||||||
"class_g = 'awesome'",
|
"class_g = 'Dunst'",
|
||||||
"class_g = 'URxvt'",
|
"class_g = 'Kitty'",
|
||||||
"class_g = 'XTerm'",
|
|
||||||
"class_g = 'kitty'",
|
|
||||||
"class_g = 'Alacritty'",
|
"class_g = 'Alacritty'",
|
||||||
"class_g = 'Polybar'",
|
"class_g = 'Polybar'",
|
||||||
"class_g = 'Code'",
|
"class_g = 'Code'",
|
||||||
"class_g = 'firefox'",
|
"class_g = 'Firefox'",
|
||||||
"class_g = 'Nemo'"
|
"class_g = 'Nemo'"
|
||||||
];
|
];
|
||||||
round-borders = 1;
|
round-borders = 1;
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#Created:
|
#Created:
|
||||||
# Mon 24 April 2023, 01:52:19 PM [GMT+1]
|
# Mon 24 April 2023, 01:52:19 PM [GMT+1]
|
||||||
#Modified:
|
#Modified:
|
||||||
# Mon 24 April 2023, 02:07:39 PM [GMT+1]
|
# Mon 24 April 2023, 02:16:28 PM [GMT+1]
|
||||||
#
|
#
|
||||||
#Description:
|
#Description:
|
||||||
# Autostart for DK Window Manager
|
# Autostart for DK Window Manager
|
||||||
@ -88,7 +88,7 @@ else
|
|||||||
if ! test -f "$HOME/.config/polybar/launch.sh"; then
|
if ! test -f "$HOME/.config/polybar/launch.sh"; then
|
||||||
echo "$HOME/.config/polybar/launch.sh could not be found"
|
echo "$HOME/.config/polybar/launch.sh could not be found"
|
||||||
else
|
else
|
||||||
exec "$HOME/.config/polybar/launch.sh"
|
sh "$HOME/.config/polybar/launch.sh"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "polybar already Running"
|
echo "polybar already Running"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
#####################################################################################################################
|
||||||
|
################# Main Keybinds #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
## Category: Main Keybinds;
|
## Category: Main Keybinds;
|
||||||
# Description: Show Keybinds;
|
# Description: Show Keybinds;
|
||||||
super + F1
|
super + F1
|
||||||
@ -8,13 +12,181 @@ super + F1
|
|||||||
super + shift + c
|
super + shift + c
|
||||||
dkcmd win kill
|
dkcmd win kill
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Menus Keybinds #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
## Category: Menus;
|
||||||
|
# Description: Start GMrun;
|
||||||
|
super +F2
|
||||||
|
gmrun
|
||||||
|
|
||||||
|
## Category: Menus;
|
||||||
|
# Description: Start ClipMenu;
|
||||||
|
super + F3
|
||||||
|
clipmenu -p ClipMenu -mesg "Copy from clipboard."
|
||||||
|
|
||||||
|
###############################
|
||||||
|
####### Rofi Menu's #######
|
||||||
|
###############################
|
||||||
|
|
||||||
|
## Category: Menus;
|
||||||
|
# Description: Start Main Menu;
|
||||||
|
super + m
|
||||||
|
menu
|
||||||
|
|
||||||
|
## Category: Menus;
|
||||||
|
# Description: Start Music Menu;
|
||||||
|
super + F4
|
||||||
|
music
|
||||||
|
|
||||||
|
## Category: Menus;
|
||||||
|
# Description: Start Pass Menu;
|
||||||
|
super + p
|
||||||
|
passmenu
|
||||||
|
|
||||||
|
## Category: Menus;
|
||||||
|
# Description: Start Youtube Menu;
|
||||||
|
super + F5
|
||||||
|
youtube_subs
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# how to exit, logoff, suspend, ... #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
# {{{ Power
|
||||||
|
|
||||||
|
## Category: Main Keybinds;
|
||||||
|
# Description: Exit / Quit / Restart;
|
||||||
|
super + shift + e
|
||||||
|
rofi -show powermenu -config ~/.config/rofi/powermenu.rasi
|
||||||
|
|
||||||
|
## Category: Main Keybinds;
|
||||||
|
# Description: Exit / Quit / Restart;
|
||||||
|
super + x
|
||||||
|
rofi -show powermenu -config ~/.config/rofi/powermenu.rasi
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# reload changed configuration #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
## Category: DK-Config;
|
||||||
|
# Description: Reload sxhkd;
|
||||||
|
super + shift + x
|
||||||
|
pkill -USR1 -x sxhkd
|
||||||
|
|
||||||
|
## Category: DK-Config;
|
||||||
|
# Description: Reload dkrc;
|
||||||
|
super + shift + r
|
||||||
|
$HOME/.config/dk/dkrc
|
||||||
|
|
||||||
|
## Category: DK-Config;
|
||||||
|
# Description: Restart dk;
|
||||||
|
super + ctrl + shift + r
|
||||||
|
dkcmd restart
|
||||||
|
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Stopping an application #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
## Category: DK-Config;
|
||||||
|
# Description: Kill focused window;
|
||||||
|
super + q
|
||||||
|
dkcmd win kill
|
||||||
|
|
||||||
|
## Category: DK-Config;
|
||||||
|
# Description: Kill focused window;
|
||||||
|
super + shift + q
|
||||||
|
dkcmd win kill
|
||||||
|
|
||||||
|
#####################################################################################################################
|
||||||
|
################# Moving around in DK #################
|
||||||
|
#####################################################################################################################
|
||||||
|
|
||||||
|
## Category: DK-Windows;
|
||||||
|
# Description: Toggle float mode;
|
||||||
|
super + shift + space \
|
||||||
|
dkcmd win float
|
||||||
|
|
||||||
|
## Category: DK-Windows;
|
||||||
|
# Description: Change focus: next;
|
||||||
|
super + j
|
||||||
|
dkcmd win focus next
|
||||||
|
|
||||||
|
## Category: DK-Windows;
|
||||||
|
# Description: Change focus: prev;
|
||||||
|
super + k
|
||||||
|
dkcmd win focus prev
|
||||||
|
|
||||||
|
## Category: DK-Windows;
|
||||||
|
# Description: Move focused window: up;
|
||||||
|
super + Up
|
||||||
|
dkcmd win mvstack up
|
||||||
|
|
||||||
|
## Category: DK-Windows;
|
||||||
|
# Description: Move focused window: down;
|
||||||
|
super + Down
|
||||||
|
dkcmd win mvstack down
|
||||||
|
|
||||||
|
## Category: DK-Windows;
|
||||||
|
# Description: Move to next workspace;
|
||||||
|
super + Tab
|
||||||
|
dkcmd ws view nextne
|
||||||
|
|
||||||
|
## Category: DK-Windows;
|
||||||
|
# Description: Move to prev workspace;
|
||||||
|
super + shift + Tab
|
||||||
|
dkcmd ws view prevne
|
||||||
|
|
||||||
|
## Category: DK-Layout;
|
||||||
|
# Description: Change current layout: tile;
|
||||||
|
super + l ; t
|
||||||
|
dkcmd set layout tile
|
||||||
|
|
||||||
|
## Category: DK-Layout;
|
||||||
|
# Description: Change current layout: rtile;
|
||||||
|
super + l ; r
|
||||||
|
dkcmd set layout rtile
|
||||||
|
|
||||||
|
## Category: DK-Layout;
|
||||||
|
# Description: Change current layout: mono;
|
||||||
|
super + l ; m
|
||||||
|
dkcmd set layout mono
|
||||||
|
|
||||||
|
## Category: DK-Layout;
|
||||||
|
# Description: Change current layout: grid;
|
||||||
|
super + l ; g
|
||||||
|
dkcmd set layout grid
|
||||||
|
|
||||||
|
## Category: DK-Layout;
|
||||||
|
# Description: Change current layout: spiral;
|
||||||
|
super + l ; s
|
||||||
|
dkcmd set layout spiral
|
||||||
|
|
||||||
|
## Category: DK-Layout;
|
||||||
|
# Description: Change current layout: dwindle;
|
||||||
|
super + l ; d
|
||||||
|
dkcmd set layout dwindle
|
||||||
|
|
||||||
|
## Category: DK-Layout;
|
||||||
|
# Description: Change current layout: tstack;
|
||||||
|
super + l ; f
|
||||||
|
dkcmd set layout tstack
|
||||||
|
|
||||||
|
## Category: DK-Layout;
|
||||||
|
# Description: Change current layout: none;
|
||||||
|
super + l ; n
|
||||||
|
dkcmd set layout none
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# example sxhkdrc for use with dk
|
# example sxhkdrc for use with dk
|
||||||
#########################################################
|
#########################################################
|
||||||
|
|
||||||
# launcher
|
|
||||||
super + p
|
|
||||||
dmenu_run
|
|
||||||
|
|
||||||
# terminal
|
# terminal
|
||||||
super + Return
|
super + Return
|
||||||
alacritty
|
alacritty
|
||||||
@ -31,25 +203,6 @@ super + Return
|
|||||||
{XF86MonBrightnessUp,XF86MonBrightnessDown}
|
{XF86MonBrightnessUp,XF86MonBrightnessDown}
|
||||||
xbacklight {+10,-10}
|
xbacklight {+10,-10}
|
||||||
|
|
||||||
# reload sxhkd
|
|
||||||
super + shift + x
|
|
||||||
pkill -USR1 -x sxhkd
|
|
||||||
|
|
||||||
# quit dk
|
|
||||||
super + shift + q
|
|
||||||
dkcmd exit
|
|
||||||
|
|
||||||
# reload dkrc
|
|
||||||
super + shift + r
|
|
||||||
$HOME/.config/dk/dkrc
|
|
||||||
|
|
||||||
# restart dk
|
|
||||||
super + ctrl + shift + r
|
|
||||||
dkcmd restart
|
|
||||||
|
|
||||||
# focus next or previous window
|
|
||||||
super + {j,k}
|
|
||||||
dkcmd win focus {next,prev}
|
|
||||||
|
|
||||||
# close window, swap tiled window in/out of master, cycle tiled windows in place
|
# close window, swap tiled window in/out of master, cycle tiled windows in place
|
||||||
super + {q,space,Tab}
|
super + {q,space,Tab}
|
||||||
@ -71,10 +224,6 @@ super + shift + {h,j,k,l}
|
|||||||
super + ctrl + {h,j,k,l}
|
super + ctrl + {h,j,k,l}
|
||||||
dkcmd win resize {w=-20,h=+20,h=-20,w=+20}
|
dkcmd win resize {w=-20,h=+20,h=-20,w=+20}
|
||||||
|
|
||||||
# move the active window up/down the stack
|
|
||||||
super + {Up,Down}
|
|
||||||
dkcmd win mvstack {up,down}
|
|
||||||
|
|
||||||
# view, send, or follow to a workspace (by number)
|
# view, send, or follow to a workspace (by number)
|
||||||
super + {_,shift + ,ctrl + }{1-9,0}
|
super + {_,shift + ,ctrl + }{1-9,0}
|
||||||
dkcmd ws {view,follow,send} {1-9,10}
|
dkcmd ws {view,follow,send} {1-9,10}
|
||||||
|
@ -18,14 +18,12 @@ size-transition = true
|
|||||||
corner-radius = 10.0;
|
corner-radius = 10.0;
|
||||||
rounded-corners-exclude = [
|
rounded-corners-exclude = [
|
||||||
#"window_type = 'normal'",
|
#"window_type = 'normal'",
|
||||||
"class_g = 'awesome'",
|
"class_g = 'Dunst'",
|
||||||
"class_g = 'URxvt'",
|
"class_g = 'Kitty'",
|
||||||
"class_g = 'XTerm'",
|
|
||||||
"class_g = 'kitty'",
|
|
||||||
"class_g = 'Alacritty'",
|
"class_g = 'Alacritty'",
|
||||||
"class_g = 'Polybar'",
|
"class_g = 'Polybar'",
|
||||||
"class_g = 'Code'",
|
"class_g = 'Code'",
|
||||||
"class_g = 'firefox'",
|
"class_g = 'Firefox'",
|
||||||
"class_g = 'Nemo'"
|
"class_g = 'Nemo'"
|
||||||
];
|
];
|
||||||
round-borders = 1;
|
round-borders = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user