@The Shorekeeper tamamdır. İyi geceler.Yarın müsait olduğumda geri dönüş yapacağım hocam. Siz beni etiketleyip mesaj atın. Bende bildirim olarak kalsın görürüm zaten.
Buyrun ;Config.h dosyanı at.
/* See LICENSE file for copyright and license details. */
/* appearance */
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int gappx = 5; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */
static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
static const unsigned int systrayspacing = 2; /* systray spacing */
static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
static const int showsystray = 1; /* 0 means no systray */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const Bool viewontag = True; /* Switch view on tag switch */
static const char *fonts[] = { "Noto Sans Mono:size=11" };
static const char dmenufont[] = "monospace:size=10";
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#6790EB";
static const unsigned int baralpha = 0xd0;
static const unsigned int borderalpha = OPAQUE;
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
};
static const unsigned int alphas[][3] = {
/* fg bg border */
[SchemeNorm] = { OPAQUE, baralpha, borderalpha },
[SchemeSel] = { OPAQUE, baralpha, borderalpha },
};
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
/* static const char *tags[] = { "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX" }; */
/* static const char *tags[] = { "", "", "", "", "", "", "", "", "" }; */
/* static const char *tags[] = { "Web", "Chat", "Edit", "Meld", "Vb", "Mail", "Video", "Image", "Files" }; */
static const Rule rules[] = {
/* xprop(1):
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
* use tags mask to point an application to a specific workspace
*/
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, 0, -1 },
{ "Xfce4-terminal", NULL, NULL, 0, 1, -1 },
{ "firefox", NULL, NULL, 0, 0, -1 },
{ "Arcolinux-welcome-app.py", NULL, NULL, 0, 1, -1 },
{ "Arcolinux-calamares-tool.py", NULL, NULL, 0, 1, -1 },
};
/* layout(s) */
static const float mfact = 0.50; /* factor of master area size [0.05..0.95] */
static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
#include "layouts.c"
static const Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
{ "HHH", grid },
{ "[M]", monocle },
{ "><>", NULL }, /* no layout function means floating behavior */
{ NULL, NULL },
};
/* key definitions */
#define MODKEY Mod4Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *filecmd[] = { "thunar", NULL };
static const char *calendar[] = { "gsimplecal", NULL };
static const char *taskmanager[] = { "xfce4-taskmanager", NULL };
#include "selfrestart.c"
#include "shiftview.c"
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = filecmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_Right, focusstack, {.i = +1 } },
{ MODKEY, XK_Left, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY, XK_minus, setgaps, {.i = -1 } },
{ MODKEY, XK_equal, setgaps, {.i = +1 } },
{ MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } },
/*{ MODKEY, XK_Return, zoom, {0} },*/
/*{ MODKEY, XK_Tab, view, {0} },*/
{ MODKEY|ShiftMask, XK_q, killclient, {0} },
{ MODKEY, XK_q, killclient, {0} },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_g, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[2]} },
{ MODKEY|ControlMask, XK_comma, cyclelayout, {.i = -1 } },
{ MODKEY|ControlMask, XK_period, cyclelayout, {.i = +1 } },
{ MODKEY, XK_space, cyclelayout, {.i = +1 } },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_Left, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_Right, tagmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_r, self_restart, {0} },
{ Mod1Mask|ControlMask, XK_Right, shiftview, {.i = 1 } },
{ Mod1Mask|ControlMask, XK_Left, shiftview, {.i = -1 } },
{ Mod1Mask|ControlMask, XK_Up, shiftview, {.i = 1 } },
{ Mod1Mask|ControlMask, XK_Down, shiftview, {.i = -1 } },
{ Mod1Mask, XK_Tab, shiftview, {.i = 1 } },
{ Mod1Mask|ShiftMask, XK_Tab, shiftview, {.i = -1 } },
{ MODKEY, XK_Tab, shiftview, {.i = 1 } },
{ MODKEY|ShiftMask, XK_Tab, shiftview, {.i = -1 } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)
TAGKEYS( XK_5, 4)
TAGKEYS( XK_6, 5)
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
};
/* IF YOU HAVE A AZERTY KEYBOARD USE THESE CODES
TAGKEYS( XK_ampersand, 0)
TAGKEYS( XK_eacute, 1)
TAGKEYS( XK_quotedbl, 2)
TAGKEYS( XK_apostrophe, 3)
TAGKEYS( XK_parenleft, 4)
TAGKEYS( XK_section, 5)
TAGKEYS( XK_egrave, 6)
TAGKEYS( XK_exclam, 7)
TAGKEYS( XK_ccedilla, 8)
*/
/* THESE ARE THE ORIGINAL QWERTY KEYBOARD CODES
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)
TAGKEYS( XK_5, 4)
TAGKEYS( XK_6, 5)
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
*/
/* button definitions */
/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
static Button buttons[] = {
/* click event mask button function argument */
{ ClkLtSymbol, 0, Button1, setlayout, {0} },
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
{ ClkWinTitle, 0, Button2, zoom, {0} },
{ ClkStatusText, 0, Button1, spawn, {.v = taskmanager } },
{ ClkStatusText, 0, Button2, spawn, {.v = filecmd } },
{ ClkStatusText, 0, Button3, spawn, {.v = calendar } },
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
{ ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, MODKEY, Button1, tag, {0} },
{ ClkTagBar, MODKEY, Button3, toggletag, {0} },
};
#include <X11/XF86keysym.h>
/* See LICENSE file for copyright and license details. */
/* appearance */
static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
static const unsigned int systrayspacing = 2; /* systray spacing */
static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
static const int swallowfloating = 0;
static const int showsystray = 1; /* 0 means no systray */
static const unsigned int borderpx = 3; /* border pixel of windows */
static const unsigned int snap = 0; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
// static const char *fonts[] = { "Jetbrains Mono:size=8" };
// static const char *fonts[] = {"Fira Code Nerd Font:size=9"};
static const unsigned int ulinepad = 5; /* horizontal padding between the underline and tag */
static const unsigned int ulinestroke = 2; /* thickness / height of the underline */
static const unsigned int ulinevoffset = 0; /* how far above the bottom of the bar the line should appear */
static const int ulineall = 0; /* 1 to show underline on all tags, 0 for just the active ones */
static const char *fonts[] = { "scientifica:size=12" ,"Hack Nerd Font:size=9" };
// static const ichar *fonts[] = { "scientifica Nerd Font:size=11" };
// static const char *fonts[] = { "JetBrainsMonoMedium Nerd Font:size=10" };
static const char dmenufont[] = "Hack Nerd Font:size=12";
static const char col_gray1[] = "#161616"; //100914 prev #00020e
static const char col_gray2[] = "#504945"; //ab7ac0 prev a45a30 df4418 c5cce1 #4f10d6 #ffb86c #fabd2f
static const char col_gray3[] = "#ebdbb2"; // prev d5c4a1 #ff79c6 % prev #808080
static const char col_gray4[] = "#d65d0e"; //ab7ac0 a45a30 4eb500 prev f72504 #ffb86c & prev #6ccc8f & 4b78ff
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, // prev col_cyan
[SchemeSel] = { col_gray4, col_gray1, col_gray2 },
// [SchemeWarn] = { "#d3869b", col_gray1, col_gray2 },
// [SchemeUrgent]= { "#8ec07c", col_gray1, col_gray2 },
};
/* tagging */
// static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
// static const char *tags[] = { " ", "ﭮ", "" ,"", "", "", "7", "8", "" };
// static const char *tags[] = { " ¹", "ﭮ ²", " ³" ," ⁴", " ⁵", " ⁶", " ⁷", "ﲎ ⁸", " ⁹" };
static const char *tags[] = { "一", "二", "三", "四", "五", "六", "七", "八", "九" };
// static const char *tags[] = {"1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"};
static const unsigned int gappx = 15; /* gaps between windows */
//static const unsigned int gappih = 10; /* horiz inner gap between windows */
//static const unsigned int gappiv = 10; /* vert inner gap between windows */
//static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */
//static const unsigned int gappov = 10; /* vert outer gap between windows and screen edge */
static const Rule rules[] = {
/* xprop(1):
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
// { "Gimp", NULL, NULL, 0, 1, -1 },
{ "Gimp", NULL, NULL, 0, 0, 1, -1 },
// { "Firefox", NULL, NULL, 1 << 8, 0, 0, -1 },
// { "xterm-256color", NULL, NULL, 0, 1, -1 },
};
/* layout(s) */
static const float mfact = 0.5; /* factor of master area size [0.05..0.95] */
static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */
static const Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
};
/* key definitions */
#define MODKEY Mod4Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
// static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
//static const char *roficmd[] = { "rofi","-show-icons","-modi drun,run","-font 'Jetbrains Mono 12'", "-show drun", NULL };
static const char *roficmd[] = { "rofi", "-show", "drun", "-show-icons","-font 'scientifica Nerd Font 12'", NULL };
static const char *dmenucmd[] = { "dmenu_run", NULL };
static const char *termcmd[] = { "st", "zsh", NULL };
static const char *upvol[] = { "amixer", "set", "Master", "5%+", NULL };
static const char *downvol[] = { "amixer", "set", "Master", "5%-", NULL };
static const char *mutevol[] = { "amixer", "set", "Master", "toggle", NULL };
static const char *lock[] = {"slock" , NULL };
// playpause next prev
static const char *sstool[] = {"xfce4-screenshooter", NULL};
static const char *ranger[] = {"st", "-e", "ranger", "/home/", NULL};
static const char *ytmenu[] = {"ytfzf", "-D", NULL};
static const char *playpause[] = { "playerctl", "play-pause", NULL };
static const char *next[] = { "playerctl", "next", NULL};
static const char *prev[] = { "playerctl", "previous", NULL};
static Key keys[] = {
/* modifier key function argument */
// { MODKEY, XK_r, spawn, {.v = dmenucmd } },
// { MODKEY|ShiftMask, XK_s, spawn { .v = sstool } },
{ MODKEY|ShiftMask, XK_l, spawn, {.v = lock } },
{ MODKEY, XK_e, spawn, { .v = ranger } },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = sstool } },
{ MODKEY|ShiftMask, XK_y, spawn, {.v = ytmenu} },
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
{ MODKEY, XK_t, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY|ShiftMask, XK_i, incnmaster, {.i = +1 } },
{ MODKEY|ShiftMask, XK_d, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY|ShiftMask, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
{ Mod1Mask, XK_F4, killclient, {0} },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)
TAGKEYS( XK_5, 4)
TAGKEYS( XK_6, 5)
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
{ 0, XF86XK_AudioMute, spawn, {.v = mutevol } },
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },
{ 0, XF86XK_AudioPlay, spawn, {.v = playpause} },
{ 0, XF86XK_AudioNext, spawn, {.v = next } },
{ 0, XF86XK_AudioPrev, spawn, {.v = prev } },
};
/* button definitions */
/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
static Button buttons[] = {
/* click event mask button function argument */
{ ClkLtSymbol, 0, Button1, setlayout, {0} },
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
// { ClkWinTitle, 0, Button2, zoom, {0} },
{ ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
/* placemouse options, choose which feels more natural:
* 0 - tiled position is relative to mouse cursor
* 1 - tiled postiion is relative to window center
* 2 - mouse pointer warps to window center
*
* The moveorplace uses movemouse or placemouse depending on the floating state
* of the selected client. Set up individual keybindings for the two if you want
* to control these separately (i.e. to retain the feature to move a tiled window
* into a floating position).
*/
{ ClkClientWin, MODKEY, Button1, moveorplace, {.i = 1} },
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
{ ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, MODKEY, Button1, tag, {0} },
{ ClkTagBar, MODKEY, Button3, toggletag, {0} },
};
Sorun göremedim ben.Buyrun ;
Bu da /etc/skel/.config/arco-dwm/config.h
Kod:#include <X11/XF86keysym.h> /* See LICENSE file for copyright and license details. */ /* appearance */ static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */ static const unsigned int systrayspacing = 2; /* systray spacing */ static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/ static const int swallowfloating = 0; static const int showsystray = 1; /* 0 means no systray */ static const unsigned int borderpx = 3; /* border pixel of windows */ static const unsigned int snap = 0; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ // static const char *fonts[] = { "Jetbrains Mono:size=8" }; // static const char *fonts[] = {"Fira Code Nerd Font:size=9"}; static const unsigned int ulinepad = 5; /* horizontal padding between the underline and tag */ static const unsigned int ulinestroke = 2; /* thickness / height of the underline */ static const unsigned int ulinevoffset = 0; /* how far above the bottom of the bar the line should appear */ static const int ulineall = 0; /* 1 to show underline on all tags, 0 for just the active ones */ static const char *fonts[] = { "scientifica:size=12" ,"Hack Nerd Font:size=9" }; // static const ichar *fonts[] = { "scientifica Nerd Font:size=11" }; // static const char *fonts[] = { "JetBrainsMonoMedium Nerd Font:size=10" }; static const char dmenufont[] = "Hack Nerd Font:size=12"; static const char col_gray1[] = "#161616"; //100914 prev #00020e static const char col_gray2[] = "#504945"; //ab7ac0 prev a45a30 df4418 c5cce1 #4f10d6 #ffb86c #fabd2f static const char col_gray3[] = "#ebdbb2"; // prev d5c4a1 #ff79c6 % prev #808080 static const char col_gray4[] = "#d65d0e"; //ab7ac0 a45a30 4eb500 prev f72504 #ffb86c & prev #6ccc8f & 4b78ff static const char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, // prev col_cyan [SchemeSel] = { col_gray4, col_gray1, col_gray2 }, // [SchemeWarn] = { "#d3869b", col_gray1, col_gray2 }, // [SchemeUrgent]= { "#8ec07c", col_gray1, col_gray2 }, }; /* tagging */ // static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; // static const char *tags[] = { " ", "ﭮ", "" ,"", "", "", "7", "8", "" }; // static const char *tags[] = { " ¹", "ﭮ ²", " ³" ," ⁴", " ⁵", " ⁶", " ⁷", "ﲎ ⁸", " ⁹" }; static const char *tags[] = { "一", "二", "三", "四", "五", "六", "七", "八", "九" }; // static const char *tags[] = {"1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"}; static const unsigned int gappx = 15; /* gaps between windows */ //static const unsigned int gappih = 10; /* horiz inner gap between windows */ //static const unsigned int gappiv = 10; /* vert inner gap between windows */ //static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */ //static const unsigned int gappov = 10; /* vert outer gap between windows and screen edge */ static const Rule rules[] = { /* xprop(1): * WM_CLASS(STRING) = instance, class * WM_NAME(STRING) = title */ /* class instance title tags mask isfloating monitor */ // { "Gimp", NULL, NULL, 0, 1, -1 }, { "Gimp", NULL, NULL, 0, 0, 1, -1 }, // { "Firefox", NULL, NULL, 1 << 8, 0, 0, -1 }, // { "xterm-256color", NULL, NULL, 0, 1, -1 }, }; /* layout(s) */ static const float mfact = 0.5; /* factor of master area size [0.05..0.95] */ static const int nmaster = 1; /* number of clients in master area */ static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */ static const Layout layouts[] = { /* symbol arrange function */ { "[]=", tile }, /* first entry is default */ { "><>", NULL }, /* no layout function means floating behavior */ { "[M]", monocle }, }; /* key definitions */ #define MODKEY Mod4Mask #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} }, /* helper for spawning shell commands in the pre dwm-5.0 fashion */ #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ // static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; //static const char *roficmd[] = { "rofi","-show-icons","-modi drun,run","-font 'Jetbrains Mono 12'", "-show drun", NULL }; static const char *roficmd[] = { "rofi", "-show", "drun", "-show-icons","-font 'scientifica Nerd Font 12'", NULL }; static const char *dmenucmd[] = { "dmenu_run", NULL }; static const char *termcmd[] = { "st", "zsh", NULL }; static const char *upvol[] = { "amixer", "set", "Master", "5%+", NULL }; static const char *downvol[] = { "amixer", "set", "Master", "5%-", NULL }; static const char *mutevol[] = { "amixer", "set", "Master", "toggle", NULL }; static const char *lock[] = {"slock" , NULL }; // playpause next prev static const char *sstool[] = {"xfce4-screenshooter", NULL}; static const char *ranger[] = {"st", "-e", "ranger", "/home/", NULL}; static const char *ytmenu[] = {"ytfzf", "-D", NULL}; static const char *playpause[] = { "playerctl", "play-pause", NULL }; static const char *next[] = { "playerctl", "next", NULL}; static const char *prev[] = { "playerctl", "previous", NULL}; static Key keys[] = { /* modifier key function argument */ // { MODKEY, XK_r, spawn, {.v = dmenucmd } }, // { MODKEY|ShiftMask, XK_s, spawn { .v = sstool } }, { MODKEY|ShiftMask, XK_l, spawn, {.v = lock } }, { MODKEY, XK_e, spawn, { .v = ranger } }, { MODKEY|ShiftMask, XK_s, spawn, {.v = sstool } }, { MODKEY|ShiftMask, XK_y, spawn, {.v = ytmenu} }, { MODKEY, XK_d, spawn, {.v = dmenucmd } }, { MODKEY, XK_t, spawn, {.v = termcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, { MODKEY|ShiftMask, XK_i, incnmaster, {.i = +1 } }, { MODKEY|ShiftMask, XK_d, incnmaster, {.i = -1 } }, { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, { MODKEY|ShiftMask, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, { Mod1Mask, XK_F4, killclient, {0} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, { MODKEY, XK_comma, focusmon, {.i = -1 } }, { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) TAGKEYS( XK_4, 3) TAGKEYS( XK_5, 4) TAGKEYS( XK_6, 5) TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) { MODKEY|ShiftMask, XK_q, quit, {0} }, { 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } }, { 0, XF86XK_AudioMute, spawn, {.v = mutevol } }, { 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } }, { 0, XF86XK_AudioPlay, spawn, {.v = playpause} }, { 0, XF86XK_AudioNext, spawn, {.v = next } }, { 0, XF86XK_AudioPrev, spawn, {.v = prev } }, }; /* button definitions */ /* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ static Button buttons[] = { /* click event mask button function argument */ { ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, // { ClkWinTitle, 0, Button2, zoom, {0} }, { ClkStatusText, 0, Button2, spawn, {.v = termcmd } }, /* placemouse options, choose which feels more natural: * 0 - tiled position is relative to mouse cursor * 1 - tiled postiion is relative to window center * 2 - mouse pointer warps to window center * * The moveorplace uses movemouse or placemouse depending on the floating state * of the selected client. Set up individual keybindings for the two if you want * to control these separately (i.e. to retain the feature to move a tiled window * into a floating position). */ { ClkClientWin, MODKEY, Button1, moveorplace, {.i = 1} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, { ClkTagBar, 0, Button1, view, {0} }, { ClkTagBar, 0, Button3, toggleview, {0} }, { ClkTagBar, MODKEY, Button1, tag, {0} }, { ClkTagBar, MODKEY, Button3, toggletag, {0} }, };
Anlamadım ya bende neyse i3 kullanmaya devam sanırımSorun göremedim ben.
Benim DWM buildinden olmasi lazim bunun yav, neden calismiyor ki? DWM'i derleyince Mod + Shift + Q yapmayi dene bakalim. Ilginc.Buyrun ;
Bu
/home/user/.config/arco-dwm/config.h
Kod:/* See LICENSE file for copyright and license details. */ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int gappx = 5; /* gaps between windows */ static const unsigned int snap = 32; /* snap pixel */ static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */ static const unsigned int systrayspacing = 2; /* systray spacing */ static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/ static const int showsystray = 1; /* 0 means no systray */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const Bool viewontag = True; /* Switch view on tag switch */ static const char *fonts[] = { "Noto Sans Mono:size=11" }; static const char dmenufont[] = "monospace:size=10"; static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; static const char col_gray4[] = "#eeeeee"; static const char col_cyan[] = "#6790EB"; static const unsigned int baralpha = 0xd0; static const unsigned int borderalpha = OPAQUE; static const char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, [SchemeSel] = { col_gray4, col_cyan, col_cyan }, }; static const unsigned int alphas[][3] = { /* fg bg border */ [SchemeNorm] = { OPAQUE, baralpha, borderalpha }, [SchemeSel] = { OPAQUE, baralpha, borderalpha }, }; /* tagging */ static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; /* static const char *tags[] = { "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX" }; */ /* static const char *tags[] = { "", "", "", "", "", "", "", "", "" }; */ /* static const char *tags[] = { "Web", "Chat", "Edit", "Meld", "Vb", "Mail", "Video", "Image", "Files" }; */ static const Rule rules[] = { /* xprop(1): * WM_CLASS(STRING) = instance, class * WM_NAME(STRING) = title * use tags mask to point an application to a specific workspace */ /* class instance title tags mask isfloating monitor */ { "Gimp", NULL, NULL, 0, 0, -1 }, { "Xfce4-terminal", NULL, NULL, 0, 1, -1 }, { "firefox", NULL, NULL, 0, 0, -1 }, { "Arcolinux-welcome-app.py", NULL, NULL, 0, 1, -1 }, { "Arcolinux-calamares-tool.py", NULL, NULL, 0, 1, -1 }, }; /* layout(s) */ static const float mfact = 0.50; /* factor of master area size [0.05..0.95] */ static const int nmaster = 1; /* number of clients in master area */ static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ #include "layouts.c" static const Layout layouts[] = { /* symbol arrange function */ { "[]=", tile }, /* first entry is default */ { "HHH", grid }, { "[M]", monocle }, { "><>", NULL }, /* no layout function means floating behavior */ { NULL, NULL }, }; /* key definitions */ #define MODKEY Mod4Mask #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} }, /* helper for spawning shell commands in the pre dwm-5.0 fashion */ #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *filecmd[] = { "thunar", NULL }; static const char *calendar[] = { "gsimplecal", NULL }; static const char *taskmanager[] = { "xfce4-taskmanager", NULL }; #include "selfrestart.c" #include "shiftview.c" static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = filecmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, { MODKEY, XK_Right, focusstack, {.i = +1 } }, { MODKEY, XK_Left, focusstack, {.i = -1 } }, { MODKEY, XK_i, incnmaster, {.i = +1 } }, { MODKEY, XK_d, incnmaster, {.i = -1 } }, { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, { MODKEY, XK_minus, setgaps, {.i = -1 } }, { MODKEY, XK_equal, setgaps, {.i = +1 } }, { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } }, /*{ MODKEY, XK_Return, zoom, {0} },*/ /*{ MODKEY, XK_Tab, view, {0} },*/ { MODKEY|ShiftMask, XK_q, killclient, {0} }, { MODKEY, XK_q, killclient, {0} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_g, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[2]} }, { MODKEY|ControlMask, XK_comma, cyclelayout, {.i = -1 } }, { MODKEY|ControlMask, XK_period, cyclelayout, {.i = +1 } }, { MODKEY, XK_space, cyclelayout, {.i = +1 } }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, { MODKEY, XK_comma, focusmon, {.i = -1 } }, { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_Left, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_Right, tagmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_r, self_restart, {0} }, { Mod1Mask|ControlMask, XK_Right, shiftview, {.i = 1 } }, { Mod1Mask|ControlMask, XK_Left, shiftview, {.i = -1 } }, { Mod1Mask|ControlMask, XK_Up, shiftview, {.i = 1 } }, { Mod1Mask|ControlMask, XK_Down, shiftview, {.i = -1 } }, { Mod1Mask, XK_Tab, shiftview, {.i = 1 } }, { Mod1Mask|ShiftMask, XK_Tab, shiftview, {.i = -1 } }, { MODKEY, XK_Tab, shiftview, {.i = 1 } }, { MODKEY|ShiftMask, XK_Tab, shiftview, {.i = -1 } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) TAGKEYS( XK_4, 3) TAGKEYS( XK_5, 4) TAGKEYS( XK_6, 5) TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) }; /* IF YOU HAVE A AZERTY KEYBOARD USE THESE CODES TAGKEYS( XK_ampersand, 0) TAGKEYS( XK_eacute, 1) TAGKEYS( XK_quotedbl, 2) TAGKEYS( XK_apostrophe, 3) TAGKEYS( XK_parenleft, 4) TAGKEYS( XK_section, 5) TAGKEYS( XK_egrave, 6) TAGKEYS( XK_exclam, 7) TAGKEYS( XK_ccedilla, 8) */ /* THESE ARE THE ORIGINAL QWERTY KEYBOARD CODES TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) TAGKEYS( XK_4, 3) TAGKEYS( XK_5, 4) TAGKEYS( XK_6, 5) TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) */ /* button definitions */ /* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ static Button buttons[] = { /* click event mask button function argument */ { ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, { ClkWinTitle, 0, Button2, zoom, {0} }, { ClkStatusText, 0, Button1, spawn, {.v = taskmanager } }, { ClkStatusText, 0, Button2, spawn, {.v = filecmd } }, { ClkStatusText, 0, Button3, spawn, {.v = calendar } }, { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, { ClkTagBar, 0, Button1, view, {0} }, { ClkTagBar, 0, Button3, toggleview, {0} }, { ClkTagBar, MODKEY, Button1, tag, {0} }, { ClkTagBar, MODKEY, Button3, toggletag, {0} }, };
Bu da /etc/skel/.config/arco-dwm/config.h
Kod:#include <X11/XF86keysym.h> /* See LICENSE file for copyright and license details. */ /* appearance */ static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */ static const unsigned int systrayspacing = 2; /* systray spacing */ static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/ static const int swallowfloating = 0; static const int showsystray = 1; /* 0 means no systray */ static const unsigned int borderpx = 3; /* border pixel of windows */ static const unsigned int snap = 0; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ // static const char *fonts[] = { "Jetbrains Mono:size=8" }; // static const char *fonts[] = {"Fira Code Nerd Font:size=9"}; static const unsigned int ulinepad = 5; /* horizontal padding between the underline and tag */ static const unsigned int ulinestroke = 2; /* thickness / height of the underline */ static const unsigned int ulinevoffset = 0; /* how far above the bottom of the bar the line should appear */ static const int ulineall = 0; /* 1 to show underline on all tags, 0 for just the active ones */ static const char *fonts[] = { "scientifica:size=12" ,"Hack Nerd Font:size=9" }; // static const ichar *fonts[] = { "scientifica Nerd Font:size=11" }; // static const char *fonts[] = { "JetBrainsMonoMedium Nerd Font:size=10" }; static const char dmenufont[] = "Hack Nerd Font:size=12"; static const char col_gray1[] = "#161616"; //100914 prev #00020e static const char col_gray2[] = "#504945"; //ab7ac0 prev a45a30 df4418 c5cce1 #4f10d6 #ffb86c #fabd2f static const char col_gray3[] = "#ebdbb2"; // prev d5c4a1 #ff79c6 % prev #808080 static const char col_gray4[] = "#d65d0e"; //ab7ac0 a45a30 4eb500 prev f72504 #ffb86c & prev #6ccc8f & 4b78ff static const char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, // prev col_cyan [SchemeSel] = { col_gray4, col_gray1, col_gray2 }, // [SchemeWarn] = { "#d3869b", col_gray1, col_gray2 }, // [SchemeUrgent]= { "#8ec07c", col_gray1, col_gray2 }, }; /* tagging */ // static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; // static const char *tags[] = { " ", "ﭮ", "" ,"", "", "", "7", "8", "" }; // static const char *tags[] = { " ¹", "ﭮ ²", " ³" ," ⁴", " ⁵", " ⁶", " ⁷", "ﲎ ⁸", " ⁹" }; static const char *tags[] = { "一", "二", "三", "四", "五", "六", "七", "八", "九" }; // static const char *tags[] = {"1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"}; static const unsigned int gappx = 15; /* gaps between windows */ //static const unsigned int gappih = 10; /* horiz inner gap between windows */ //static const unsigned int gappiv = 10; /* vert inner gap between windows */ //static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */ //static const unsigned int gappov = 10; /* vert outer gap between windows and screen edge */ static const Rule rules[] = { /* xprop(1): * WM_CLASS(STRING) = instance, class * WM_NAME(STRING) = title */ /* class instance title tags mask isfloating monitor */ // { "Gimp", NULL, NULL, 0, 1, -1 }, { "Gimp", NULL, NULL, 0, 0, 1, -1 }, // { "Firefox", NULL, NULL, 1 << 8, 0, 0, -1 }, // { "xterm-256color", NULL, NULL, 0, 1, -1 }, }; /* layout(s) */ static const float mfact = 0.5; /* factor of master area size [0.05..0.95] */ static const int nmaster = 1; /* number of clients in master area */ static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */ static const Layout layouts[] = { /* symbol arrange function */ { "[]=", tile }, /* first entry is default */ { "><>", NULL }, /* no layout function means floating behavior */ { "[M]", monocle }, }; /* key definitions */ #define MODKEY Mod4Mask #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} }, /* helper for spawning shell commands in the pre dwm-5.0 fashion */ #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ // static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; //static const char *roficmd[] = { "rofi","-show-icons","-modi drun,run","-font 'Jetbrains Mono 12'", "-show drun", NULL }; static const char *roficmd[] = { "rofi", "-show", "drun", "-show-icons","-font 'scientifica Nerd Font 12'", NULL }; static const char *dmenucmd[] = { "dmenu_run", NULL }; static const char *termcmd[] = { "st", "zsh", NULL }; static const char *upvol[] = { "amixer", "set", "Master", "5%+", NULL }; static const char *downvol[] = { "amixer", "set", "Master", "5%-", NULL }; static const char *mutevol[] = { "amixer", "set", "Master", "toggle", NULL }; static const char *lock[] = {"slock" , NULL }; // playpause next prev static const char *sstool[] = {"xfce4-screenshooter", NULL}; static const char *ranger[] = {"st", "-e", "ranger", "/home/", NULL}; static const char *ytmenu[] = {"ytfzf", "-D", NULL}; static const char *playpause[] = { "playerctl", "play-pause", NULL }; static const char *next[] = { "playerctl", "next", NULL}; static const char *prev[] = { "playerctl", "previous", NULL}; static Key keys[] = { /* modifier key function argument */ // { MODKEY, XK_r, spawn, {.v = dmenucmd } }, // { MODKEY|ShiftMask, XK_s, spawn { .v = sstool } }, { MODKEY|ShiftMask, XK_l, spawn, {.v = lock } }, { MODKEY, XK_e, spawn, { .v = ranger } }, { MODKEY|ShiftMask, XK_s, spawn, {.v = sstool } }, { MODKEY|ShiftMask, XK_y, spawn, {.v = ytmenu} }, { MODKEY, XK_d, spawn, {.v = dmenucmd } }, { MODKEY, XK_t, spawn, {.v = termcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, { MODKEY|ShiftMask, XK_i, incnmaster, {.i = +1 } }, { MODKEY|ShiftMask, XK_d, incnmaster, {.i = -1 } }, { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, { MODKEY|ShiftMask, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, { Mod1Mask, XK_F4, killclient, {0} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, { MODKEY, XK_comma, focusmon, {.i = -1 } }, { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) TAGKEYS( XK_4, 3) TAGKEYS( XK_5, 4) TAGKEYS( XK_6, 5) TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) { MODKEY|ShiftMask, XK_q, quit, {0} }, { 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } }, { 0, XF86XK_AudioMute, spawn, {.v = mutevol } }, { 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } }, { 0, XF86XK_AudioPlay, spawn, {.v = playpause} }, { 0, XF86XK_AudioNext, spawn, {.v = next } }, { 0, XF86XK_AudioPrev, spawn, {.v = prev } }, }; /* button definitions */ /* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ static Button buttons[] = { /* click event mask button function argument */ { ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, // { ClkWinTitle, 0, Button2, zoom, {0} }, { ClkStatusText, 0, Button2, spawn, {.v = termcmd } }, /* placemouse options, choose which feels more natural: * 0 - tiled position is relative to mouse cursor * 1 - tiled postiion is relative to window center * 2 - mouse pointer warps to window center * * The moveorplace uses movemouse or placemouse depending on the floating state * of the selected client. Set up individual keybindings for the two if you want * to control these separately (i.e. to retain the feature to move a tiled window * into a floating position). */ { ClkClientWin, MODKEY, Button1, moveorplace, {.i = 1} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, { ClkTagBar, 0, Button1, view, {0} }, { ClkTagBar, 0, Button3, toggleview, {0} }, { ClkTagBar, MODKEY, Button1, tag, {0} }, { ClkTagBar, MODKEY, Button3, toggletag, {0} }, };
Anlamadım ki 2 tane dir var ikisinde de make yapıyom yok bi şey değişmiyor.Benim DWM buildinden olmasi lazim bunun yav, neden calismiyor ki? DWM'i derleyince Mod + Shift + Q yapmayi dene bakalim. Ilginc.
Tek make yapmayacaksin o sadece lokalde degistirir.Anlamadım ki 2 tane dir var ikisinde de make yapıyom yok bi şey değişmiyor.
sudo makeTek make yapmayacaksin o sadece lokalde degistirir.