Compare commits

..

2 Commits

3 changed files with 9 additions and 8 deletions

View File

@ -262,6 +262,7 @@ Finish up
(doom-themes :url "https://github.com/JosephFerano/doom-themes") (doom-themes :url "https://github.com/JosephFerano/doom-themes")
(org-timeblock :url "https://github.com/ichernyshovvv/org-timeblock") (org-timeblock :url "https://github.com/ichernyshovvv/org-timeblock")
(dape :url "https://github.com/svaante/dape") (dape :url "https://github.com/svaante/dape")
(odin-mode :url "https://github.com/mattt-b/odin-mode")
(app-launcher :url "https://github.com/SebastienWae/app-launcher"))) (app-launcher :url "https://github.com/SebastienWae/app-launcher")))
(package-initialize) (package-initialize)
@ -1571,7 +1572,7 @@ Stuff to immediately switch to Jetbrains for debugging
(interactive) (interactive)
(shell-command (shell-command
(mapconcat #'shell-quote-argument (mapconcat #'shell-quote-argument
(list "pycharm" (list "rider.sh"
"--line" "--line"
(int-to-string (line-number-at-pos)) (int-to-string (line-number-at-pos))
"--column" "--column"

View File

@ -44,4 +44,4 @@ SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR --export fish_user_paths:/home/joe/\x2elocal/scripts\x1e/home/joe/\x2elocal/opt/JetBrains\x20Rider\x2d2024\x2e1\x2e4/bin\x1e/home/joe/\x2elocal/share/bin/fasm\x1e/home/joe/\x2elocal/share/bin/zig\x1e/home/joe/\x2elocal/share/bin/cargo/bin\x1e/home/joe/\x2elocal/bin\x1e/home/joe/\x2enimble/bin SETUVAR --export fish_user_paths:/home/joe/\x2elocal/bin/odin\x1e/home/joe/\x2elocal/scripts\x1e/home/joe/\x2elocal/opt/JetBrains\x20Rider\x2d2024\x2e1\x2e4/bin\x1e/home/joe/\x2elocal/share/bin/fasm\x1e/home/joe/\x2elocal/share/bin/zig\x1e/home/joe/\x2elocal/share/bin/cargo/bin\x1e/home/joe/\x2elocal/bin\x1e/home/joe/\x2enimble/bin

View File

@ -224,7 +224,7 @@ screens = [
), ),
] ]
groups = [Group(i) for i in "123456789"] groups = [Group(i) for i in "0123456789"]
num_monitors = get_num_monitors() num_monitors = get_num_monitors()
if num_monitors > 1: if num_monitors > 1:
side_screen = Screen( side_screen = Screen(
@ -272,26 +272,26 @@ def swap_windows(name: str) -> Callable:
return _inner return _inner
for i in groups: for i in groups:
key_name = i.name if i.name != "0" else "grave"
keys.extend( keys.extend(
[ [
# mod1 + letter of group = switch to group # mod1 + letter of group = switch to group
Key( Key(
[mod], [mod],
i.name, key_name,
# lazy.group[i.name].toscreen(),
lazy.function(go_to_group(i.name)), lazy.function(go_to_group(i.name)),
desc="Switch to group {}".format(i.name), desc="Switch to group {}".format(i.name),
), ),
# mod1 + shift + letter of group = switch to & move focused window to group # mod1 + shift + letter of group = switch to & move focused window to group
Key( Key(
[mod, "shift"], [mod, "shift"],
i.name, key_name,
lazy.window.togroup(i.name, switch_group=False), lazy.window.togroup(i.name, switch_group=False),
desc="Switch to & move focused window to group {}".format(i.name), desc="Switch to & move focused window to group {}".format(i.name),
), ),
Key( Key(
[mod, "control"], [mod, "control"],
i.name, key_name,
lazy.function(swap_windows(i.name)), lazy.function(swap_windows(i.name)),
desc="Swap all windows with windows from N group".format(i.name), desc="Swap all windows with windows from N group".format(i.name),
), ),
@ -371,7 +371,7 @@ floating_layout = layout.Floating(
Match(title="UnityEditor.AnnotationWindow"), Match(title="UnityEditor.AnnotationWindow"),
Match(title="Enable Android Auto-resolution?"), Match(title="Enable Android Auto-resolution?"),
Match(wm_class="Unity", title="Select Material"), Match(wm_class="Unity", title="Select Material"),
Match(wm_class="Unity", title="Color"), # Match(wm_class="Unity", title="Select Tower Build Modal"),
# Match(wm_class="Unity", title="Select Material"), # Match(wm_class="Unity", title="Select Material"),
] ]
) )