workspaces
This commit is contained in:
+6
-1
@@ -50,7 +50,12 @@ static const absn_keybind keybinds[] = {
|
||||
{ ALT, XKB_KEY_3, switch_workspace, { .v = "3" } },
|
||||
{ ALT, XKB_KEY_4, switch_workspace, { .v = "4" } },
|
||||
{ ALT, XKB_KEY_5, switch_workspace, { .v = "5" } },
|
||||
{ ALT, XKB_KEY_E, quit, { 0 } },
|
||||
{ ALT | SHIFT, XKB_KEY_exclam, focus_move_to_workspace, { .v = "1" } },
|
||||
{ ALT | SHIFT, XKB_KEY_2, focus_move_to_workspace, { .v = "2" } },
|
||||
{ ALT | SHIFT, XKB_KEY_3, focus_move_to_workspace, { .v = "3" } },
|
||||
{ ALT | SHIFT, XKB_KEY_4, focus_move_to_workspace, { .v = "4" } },
|
||||
{ ALT | SHIFT, XKB_KEY_5, focus_move_to_workspace, { .v = "5" } },
|
||||
{ ALT, XKB_KEY_Escape, quit, { 0 } },
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "types.h"
|
||||
|
||||
void unfocus_toplevel(absn_toplevel *toplevel);
|
||||
void focus_toplevel(absn_toplevel *toplevel);
|
||||
absn_toplevel *focus_get_topmost(absn_server *server);
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ void increase_master_width(absn_server *server, const absn_arg *arg);
|
||||
void increase_master_count(absn_server *server, const absn_arg *arg);
|
||||
|
||||
void switch_workspace(absn_server *server, const absn_arg *arg);
|
||||
void focus_move_to_workspace(absn_server *server, const absn_arg *arg);
|
||||
|
||||
void quit(absn_server *server, const absn_arg *arg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user