Browse Source

macPro wrong icons

master
parent
commit
00fa1aa40e
2 changed files with 9 additions and 7 deletions
  1. +6
    -5
      config.def.h
  2. +3
    -2
      config.macpro.h

+ 6
- 5
config.def.h View File

@ -2,9 +2,10 @@
#include <X11/XF86keysym.h> #include <X11/XF86keysym.h>
/*volume*/ /*volume*/
static const char *upvol[] = { "/usr/bin/pactl", "set-sink-volume", "0", "+5%", NULL };
static const char *downvol[] = { "/usr/bin/pactl", "set-sink-volume", "0", "-5%", NULL };
static const char *mutevol[] = { "/usr/bin/pactl", "set-sink-mute", "0", "toggle", NULL };
#define DISPLAY "alsa_output.usb-Apple_Inc._Display_Audio_0E020A16-00.analog-stereo"
static const char *upvol[] = { "/usr/bin/pactl", "set-sink-volume", DISPLAY, "+5%", NULL };
static const char *downvol[] = { "/usr/bin/pactl", "set-sink-volume", DISPLAY, "-5%", NULL };
static const char *mutevol[] = { "/usr/bin/pactl", "set-sink-mute", DISPLAY, "toggle", NULL };
/*Keyboard backlight*/ /*Keyboard backlight*/
static const char *kbdbrightup[] = { "brightnessctl", "-d", "smc::kbd_backlight", "s", "+10%" }; static const char *kbdbrightup[] = { "brightnessctl", "-d", "smc::kbd_backlight", "s", "+10%" };
static const char *kbdbrightdown[] = { "brightnessctl", "-d", "smc::kbd_backlight", "s", "10%-" }; static const char *kbdbrightdown[] = { "brightnessctl", "-d", "smc::kbd_backlight", "s", "10%-" };
@ -40,8 +41,8 @@ static const unsigned int alphas[][3] = {
/* tagging */ /* tagging */
//static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; //static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
static const Rule rules[] = { static const Rule rules[] = {
/* xprop(1): /* xprop(1):
* WM_CLASS(STRING) = instance, class * WM_CLASS(STRING) = instance, class


+ 3
- 2
config.macpro.h View File

@ -50,9 +50,10 @@ static const Rule rules[] = {
*/ */
/* class instance title tags mask isfloating monitor */ /* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, 1, -1 }, { "Gimp", NULL, NULL, 0, 1, -1 },
{ "Brave", NULL, NULL, 1, 0, -1 },
{ "Brave", NULL, NULL, 0<<1, 0, -1 },
{ "imagej", NULL, NULL, 0, 1, -1 }, { "imagej", NULL, NULL, 0, 1, -1 },
{ "eclipse", NULL, NULL, 0, 1, -1 },
{ "eclipse", NULL, NULL, 1<<4, 1, -1 },
{ "Arduino", NULL, NULL, 1<<4, 1, -1 },
}; };
/* layout(s) */ /* layout(s) */


Loading…
Cancel
Save