Update DotFiles

This commit is contained in:
The-Repo-Club 2023-04-24 18:25:42 +01:00
parent a0bd798d73
commit 022fae9651
No known key found for this signature in database
GPG Key ID: E30EC2FBFB05C44F
6 changed files with 240 additions and 51 deletions

Binary file not shown.

View File

@ -12,7 +12,7 @@
#Created:
# Sun 23 April 2023, 09:31:18 PM [GMT+1]
#Modified:
# Mon 24 April 2023, 01:56:34 PM [GMT+1]
# Mon 24 April 2023, 05:07:42 PM [GMT+1]
#
#Description:
# Config for DK Window Manager
@ -23,7 +23,7 @@
# Autostart stuff if its not already started
if [[ -f "$HOME/.config/dk/scripts/autostart" ]]; then
exec "$HOME/.config/dk/scripts/autostart"
sh "$HOME/.config/dk/scripts/autostart"
fi
# example dkrc to show some basic command usage and error reporting
@ -149,16 +149,63 @@ fi
# --------------
# 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)
dkcmd rule class="^alacritty$" ws=1 focus=true
# sign via class
# 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)
# 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
# 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!)
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.
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)
dkcmd rule apply '*'

View File

@ -18,14 +18,12 @@ size-transition = true
corner-radius = 10.0;
rounded-corners-exclude = [
#"window_type = 'normal'",
"class_g = 'awesome'",
"class_g = 'URxvt'",
"class_g = 'XTerm'",
"class_g = 'kitty'",
"class_g = 'Dunst'",
"class_g = 'Kitty'",
"class_g = 'Alacritty'",
"class_g = 'Polybar'",
"class_g = 'Code'",
"class_g = 'firefox'",
"class_g = 'Firefox'",
"class_g = 'Nemo'"
];
round-borders = 1;

View File

@ -12,7 +12,7 @@
#Created:
# Mon 24 April 2023, 01:52:19 PM [GMT+1]
#Modified:
# Mon 24 April 2023, 02:07:39 PM [GMT+1]
# Mon 24 April 2023, 02:16:28 PM [GMT+1]
#
#Description:
# Autostart for DK Window Manager
@ -88,7 +88,7 @@ else
if ! test -f "$HOME/.config/polybar/launch.sh"; then
echo "$HOME/.config/polybar/launch.sh could not be found"
else
exec "$HOME/.config/polybar/launch.sh"
sh "$HOME/.config/polybar/launch.sh"
fi
else
echo "polybar already Running"

View File

@ -1,3 +1,7 @@
#####################################################################################################################
################# Main Keybinds #################
#####################################################################################################################
## Category: Main Keybinds;
# Description: Show Keybinds;
super + F1
@ -8,13 +12,181 @@ super + F1
super + shift + c
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
#########################################################
# launcher
super + p
dmenu_run
# terminal
super + Return
alacritty
@ -31,25 +203,6 @@ super + Return
{XF86MonBrightnessUp,XF86MonBrightnessDown}
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
super + {q,space,Tab}
@ -71,10 +224,6 @@ super + shift + {h,j,k,l}
super + ctrl + {h,j,k,l}
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)
super + {_,shift + ,ctrl + }{1-9,0}
dkcmd ws {view,follow,send} {1-9,10}

View File

@ -18,14 +18,12 @@ size-transition = true
corner-radius = 10.0;
rounded-corners-exclude = [
#"window_type = 'normal'",
"class_g = 'awesome'",
"class_g = 'URxvt'",
"class_g = 'XTerm'",
"class_g = 'kitty'",
"class_g = 'Dunst'",
"class_g = 'Kitty'",
"class_g = 'Alacritty'",
"class_g = 'Polybar'",
"class_g = 'Code'",
"class_g = 'firefox'",
"class_g = 'Firefox'",
"class_g = 'Nemo'"
];
round-borders = 1;