diff --git a/.lnk.pc b/.lnk.pc new file mode 100644 index 0000000..de98138 --- /dev/null +++ b/.lnk.pc @@ -0,0 +1 @@ +.config/cortile diff --git a/pc.lnk/.config/cortile/config.toml b/pc.lnk/.config/cortile/config.toml new file mode 100644 index 0000000..249416b --- /dev/null +++ b/pc.lnk/.config/cortile/config.toml @@ -0,0 +1,269 @@ +################################################################################ +# # +# https://github.com/leukipp/cortile/blob/main/config.toml # +# # +################################################################################ + +#################################### Tiling #################################### + +# Initial tiling activation, will be cached afterwards (true | false). +tiling_enabled = true + +# Initial tiling layout, will be cached afterwards ("vertical-left" | "vertical-right" | "horizontal-top" | "horizontal-bottom" | "maximized" | "fullscreen"). +tiling_layout = "vertical-left" + +# List of tiling layouts used for next/previous layout cycle ([] = default). +tiling_cycle = [ + "vertical-left", + "vertical-right", + "horizontal-top", + "horizontal-bottom", +] + +# An overlay window is displayed for this time period [ms] when the layout was changed (0 = disabled). +tiling_gui = 1500 + +# Menu entries in systray which shows the tiling state as icon ([] = disabled). +# tiling_icon = [ +# ["ACTION", "TEXT"] = ["action strings from [keys] section", "text to show in the menu"], +# ["", ""] = "show a separator line", +# ] +tiling_icon = [ + ["toggle", "Enabled"], + ["decoration", "Decoration"], + ["", ""], + ["master_increase", "Add Master"], + ["master_decrease", "Remove Master"], + ["", ""], + ["slave_increase", "Add Slave"], + ["slave_decrease", "Remove Slave"], + ["", ""], + ["reset", "Reset"], + ["", ""], + ["exit", "Exit"], +] + +#################################### Window #################################### + +# Regex RE2 syntax to ignore windows (WM_CLASS string can be found by running `xprop WM_CLASS`). +# window_ignore = [ +# ["WM_CLASS", "WM_NAME"] = ["ignore all windows with this class", "but allow those with this name"] +# ] +window_ignore = [ + ["nm.*", ""], + ["gcr.*", ""], + ["polkit.*", ""], + ["wrapper.*", ""], + ["lightdm.*", ""], + ["blueman.*", ""], + ["pavucontrol.*", ""], + ["firefox.*", ".*Mozilla Firefox"], + [".*settings", ""], + ["pcmanfm-qt.*", ""], + ["keepassxc.*", ""], + [".*conf.*", ""], +] + +# Maximum number of allowed master windows (0 - 5). +window_masters_max = 2 + +# Maximum number of allowed slave windows (1 - 5). +window_slaves_max = 3 + +# How much space should be left between windows (0 - 100). +window_gap_size = 0 + +# When hovered for this duration [ms] windows are focused (0 = disabled). +window_focus_delay = 0 + +# Initial rendering of window decorations, will be cached afterwards (true | false). +window_decoration = true + +################################## Proportion ################################## + +# How much to increment/decrement master-slave area (0.0 - 1.0). +proportion_step = 0.05 + +# Minimum window width/height in proportion to workspace (0.0 - 1.0). +proportion_min = 0.2 + +##################################### Edge ##################################### + +# Margin of the tiling area ([top, right, bottom, left]). +edge_margin = [0, 0, 0, 0] + +# Margin of the tiling area on primary screen ([top, right, bottom, left]). +edge_margin_primary = [0, 0, 0, 0] + +# Width and height of a hot-corner area within the edge corners (0 - 100). +edge_corner_size = 10 + +# Width or height of a hot-corner area within the edge centers (0 - 100). +edge_center_size = 100 + +################################################################################ +[colors] # RGBA color values used for ui elements. # +################################################################################ + +# Window text color. +gui_text = [255, 255, 255, 255] + +# Window background color. +gui_background = [30, 30, 40, 255] + +# Slave client layout color. +gui_client_slave = [58, 58, 78, 255] + +# Master client layout color. +gui_client_master = [98, 98, 128, 255] + +# Systray icon background color. +icon_background = [0, 0, 0, 0] + +# Systray icon foreground color. +icon_foreground = [255, 255, 255, 255] + +################################################################################ +[keys] # Key symbols can be found by running `xev`. # +################################################################################ + +# Enable tiling on the current screen (Home = Fn_Left). +enable = "Control-Shift-Home" + +# Disable tiling on the current screen (End = Fn_Right). +disable = "Control-Shift-End" + +# Toggle between enable and disable on the current screen. +# toggle = "Control-Shift-T" +toggle = "" + +# Toggle window decoration on and off on the current screen. +decoration = "Control-Shift-D" + +# Disable tiling and restore windows on the current screen. +restore = "Control-Shift-R" + +# Reset layouts to default proportions (BackSpace = Delete_Left) +reset = "Control-Shift-BackSpace" + +# Cycles through next layouts (Next = Page_Down). +cycle_next = "Control-Shift-Next" + +# Cycles through previous layouts (Prior = Page_Up). +cycle_previous = "Control-Shift-Prior" + +# Activates the vertical-left layout (Left = Arrow_Left). +layout_vertical_left = "Control-Shift-Left" + +# Activates the vertical-right layout (Right = Arrow_Right). +layout_vertical_right = "Control-Shift-Right" + +# Activates the horizontal-top layout (Up = Arrow_Up). +layout_horizontal_top = "Control-Shift-Up" + +# Activates the horizontal-bottom layout (Down = Arrow_Down). +layout_horizontal_bottom = "Control-Shift-Down" + +# Activates the maximized layout (Space = Blank). +layout_maximized = "Control-Shift-M" + +# Activates the fullscreen layout (Return = Enter). +layout_fullscreen = "Control-Shift-F" + +# Increase the number of slaves (Plus = +). +slave_increase = "Control-Shift-Plus" + +# Decrease the number of slaves (Minus = -). +slave_decrease = "Control-Shift-Minus" + +# Increase the number of masters (KP_Add = Num_+). +master_increase = "Control-Shift-KP_Add" + +# Decrease the number of masters (KP_Subtract = Num_-). +master_decrease = "Control-Shift-KP_Subtract" + +# Move focus to the next window (KP_2 = Num_2). +window_next = "Control-Shift-KP_2" + +# Move focus to the previous window (KP_8 = Num_8). +window_previous = "Control-Shift-KP_8" + +# Move the active window to the next screen (KP_9 = Num_9). +screen_next = "Control-Shift-KP_9" + +# Move the active window to the previous screen (KP_7 = Num_7). +screen_previous = "Control-Shift-KP_7" + +# Make the active window a master (KP_5 = Num_5). +master_make = "Control-Shift-KP_5" + +# Make the next window a master (KP_6 = Num_6). +master_make_next = "Control-Shift-KP_6" + +# Make the previous window a master (KP_4 = Num_4). +master_make_previous = "Control-Shift-KP_4" + +# Increase the proportion of master-slave area (KP_3 = Num_3). +proportion_increase = "Control-Shift-KP_3" + +# Decrease the proportion of master-slave area (KP_1 = Num_1). +proportion_decrease = "Control-Shift-KP_1" + +# Some commands above will affect all screens if this key is pressed in addition (Mod1 = Alt_L). +mod_screens = "Mod1" + +# Some commands above will affect all workspaces if this key is pressed in addition (Mod4 = Super_L). +mod_workspaces = "Mod4" + +################################################################################ +[corners] # Action strings from [keys] section. # +################################################################################ + +# Corner at top left. +top_left = "" + +# Corner at top center. +top_center = "" + +# Corner at top right. +top_right = "" + +# Corner at center right. +center_right = "" + +# Corner at bottom right. +bottom_right = "" + +# Corner at bottom center. +bottom_center = "" + +# Corner at bottom left. +bottom_left = "" + +# Corner at center left. +center_left = "" + +################################################################################ +[systray] # Action strings from [keys] section. # +################################################################################ + +# Icon left click with pointer. +click_left = "" + +# Icon middle click with pointer. +click_middle = "toggle" + +# Icon right click with pointer. +click_right = "" + +# Icon vertical scroll up with pointer. +scroll_up = "cycle_previous" + +# Icon vertical scroll down with pointer. +scroll_down = "cycle_next" + +# Icon horizontal scroll left with pointer. +scroll_left = "proportion_decrease" + +# Icon horizontal scroll right with pointer. +scroll_right = "proportion_increase"