Browse Source

added Windowrules.Conf - to assign workspace rules, ie, assigning specific workspace into a certain monitors

pull/227/head
Ja.KooLit 2 years ago
parent
commit
371976a4cf
  1. 20
      config/hypr/UserConfigs/WorkspaceRules.conf
  2. 10
      config/hypr/UserScripts/QuickEdit.sh
  3. 3
      config/hypr/hyprland.conf
  4. 2
      config/rofi/config-compact.rasi
  5. 2
      config/rofi/resolution/1080p/config-compact.rasi
  6. 4
      config/rofi/resolution/1440p/config-compact.rasi

20
config/hypr/UserConfigs/WorkspaceRules.conf

@ -0,0 +1,20 @@
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# You can set workspace rules to achieve workspace-specific behaviors.
# For instance, you can define a workspace where all windows are drawn without borders or gaps.
# https://wiki.hyprland.org/Configuring/Workspace-Rules/
# Assigning workspace to a certain monitor
# workspace = 1, monitor:eDP-1
# workspace = 2, monitor:DP-2
# example rules (from wiki)
# workspace = 3, rounding:false, decorate:false
# workspace = name:coding, rounding:false, decorate:false, gapsin:0, gapsout:0, border:false, decorate:false, monitor:DP-1
# workspace = 8,bordersize:8
# workspace = name:Hello, monitor:DP-1, default:true
# workspace = name:gaming, monitor:desc:Chimei Innolux Corporation 0x150C, default:true
# workspace = 5, on-created-empty:[float] firefox
# workspace = special:scratchpad, on-created-empty:foot

10
config/hypr/UserScripts/QuickEdit.sh

@ -12,8 +12,9 @@ menu(){
printf "5. view Monitors\n"
printf "6. view Laptop-Keybinds\n"
printf "7. view User-Settings\n"
printf "8. view Default-Settings\n"
printf "9. view Default-Keybinds\n"
printf "8. view Workspace-Rules\n"
printf "9. view Default-Settings\n"
printf "10. view Default-Keybinds\n"
}
main() {
@ -41,9 +42,12 @@ main() {
kitty -e nano "$UserConfigs/UserSettings.conf"
;;
8)
kitty -e nano "$UserConfigs/WorkspaceRules.conf"
;;
9)
kitty -e nano "$configs/Settings.conf"
;;
9)
10)
kitty -e nano "$configs/Keybinds.conf"
;;
*)

3
config/hypr/hyprland.conf

@ -16,4 +16,5 @@ source= $UserConfigs/Laptops.conf
source= $UserConfigs/LaptopDisplay.conf
source= $UserConfigs/WindowRules.conf
source= $UserConfigs/UserKeybinds.conf
source= $UserConfigs/UserSettings.conf
source= $UserConfigs/UserSettings.conf
source= $UserConfigs/WorkspaceRules.conf

2
config/rofi/config-compact.rasi

@ -110,7 +110,7 @@ entry {
listview {
enabled: true;
columns: 1;
lines: 7;
lines: 10;
spacing: 4px;
dynamic: true;
cycle: true;

2
config/rofi/resolution/1080p/config-compact.rasi

@ -110,7 +110,7 @@ entry {
listview {
enabled: true;
columns: 1;
lines: 7;
lines: 10;
spacing: 4px;
dynamic: true;
cycle: true;

4
config/rofi/resolution/1440p/config-compact.rasi

@ -39,7 +39,7 @@ window {
enabled: true;
border-radius: 15px;
border-radius: 15px;
background-image: url("~/.config/rofi/.current_wallpaper", height);
background-image: url("~/.config/rofi/.current_wallpaper", height);
}
/* ---- Mainbox ---- */
@ -110,7 +110,7 @@ entry {
listview {
enabled: true;
columns: 1;
lines: 7;
lines: 10;
spacing: 4px;
dynamic: true;
cycle: true;

Loading…
Cancel
Save