GithubHelp home page GithubHelp logo

felixkratz / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
817.0 817.0 77.0 32.22 MB

My personal macOS configuration

License: GNU General Public License v3.0

Shell 18.28% Lua 53.96% C 27.06% Makefile 0.70%
borders dotfiles dotfiles-macos helix sketchybar skhd yabai

dotfiles's People

Contributors

felixkratz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotfiles's Issues

Inquiry about the font used in icons.sh

I'm using the sketchybar config, but I'm having trouble with the symbols not displaying correctly in VS Code. I'm wondering if this is related to the font used in icons.sh.

Could you please provide some information about the font used in icons.sh

I appreciate your help in this matter.

Thank you!

Screenshot 2023-04-12 at 10 15 05 AM

Screenshot 2023-04-12 at 10 15 30 AM

Event Server memory leak

Noticed some small memory increase on the helper process. Analyzing with leaks it's pointing some memory leaks:

Process:         helper [37285]
Path:            /Users/USER/*/helper
Load Address:    0x10014c000
Identifier:      helper
Version:         0
Code Type:       ARM64
Platform:        macOS
Parent Process:  ??? [1]

Date/Time:       2023-01-04 14:32:04.429 +0000
Launch Time:     2023-01-04 14:31:26.408 +0000
OS Version:      macOS 13.1 (22C65)
Report Version:  7
Analysis Tool:   /usr/bin/leaks

Physical footprint:         3489K
Physical footprint (peak):  3505K
Idle exit: untracked
----

leaks Report Version: 4.0, multi-line stacks
Process 37285: 737 nodes malloced for 110 KB
Process 37285: 12 leaks for 768 total leaked bytes.

STACK OF 12 INSTANCES OF 'ROOT LEAK: <calloc in main>':
2   dyld                                  0x193193e50 start + 2544
1   helper                                0x10014fd20 main + 252
0   libsystem_malloc.dylib                0x193326dd0 _malloc_zone_calloc_instrumented_or_legacy + 228
====
    12 (768 bytes) << TOTAL >>
      1 (64 bytes) ROOT LEAK: <calloc in main 0x6000032c0000> [64]
      1 (64 bytes) ROOT LEAK: <calloc in main 0x6000032c0040> [64]
      1 (64 bytes) ROOT LEAK: <calloc in main 0x6000032c0080> [64]
      1 (64 bytes) ROOT LEAK: <calloc in main 0x6000032c8000> [64]
      1 (64 bytes) ROOT LEAK: <calloc in main 0x6000032c8080> [64]
      1 (64 bytes) ROOT LEAK: <calloc in main 0x6000032c80c0> [64]
      1 (64 bytes) ROOT LEAK: <calloc in main 0x6000032d0040> [64]
      1 (64 bytes) ROOT LEAK: <calloc in main 0x6000032d0080> [64]
      1 (64 bytes) ROOT LEAK: <calloc in main 0x6000032d0100> [64]
      1 (64 bytes) ROOT LEAK: <calloc in main 0x6000032d4000> [64]
      1 (64 bytes) ROOT LEAK: <calloc in main 0x6000032d8000> [64]
      1 (64 bytes) ROOT LEAK: <calloc in main 0x6000032d8080> [64]

Apparently the mach buffer that communicates with the mach_server is being allocated but not free.

https://github.com/FelixKratz/dotfiles/blob/b16693a377dca608de0435ff5a2bab8568672e12/.config/sketchybar/helper/sketchybar.h#LL183

Should be solved with

  while (mach_server->is_running) {
    struct mach_buffer* buffer = (struct mach_buffer*)malloc(sizeof(struct mach_buffer));
    mach_receive_message(mach_server->port, buffer, false);
    mach_server->handler((env)buffer->message.descriptor.address);
    mach_msg_destroy(&buffer->message.header);
    free(buffer);
  }

Failing to install fyabai *sorry*

Sorry for writing here, but I didn't find a possibility to do it on fyabai page.
I wanted to update, but for some reason now I have an error:

brew install --HEAD felixkratz/formulae/fyabai

==> Fetching felixkratz/formulae/fyabai
==> Cloning https://github.com/FelixKratz/yabai.git
Updating /Users/Klutchevski/Library/Caches/Homebrew/fyabai--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at eea5f01 document changes
==> Installing fyabai from felixkratz/formulae
==> make -j1 install
Last 15 lines from /Users/Klutchevski/Library/Logs/Homebrew/fyabai/01.make:
xxd -i -a ./src/osax/payload ./src/osax/payload_bin.c
xxd -i -a ./src/osax/loader ./src/osax/loader_bin.c
rm -f ./src/osax/payload
rm -f ./src/osax/loader
mkdir -p ./bin
xcrun clang src/manifest.m src/osax/payload_bin.c src/osax/loader_bin.c -std=c99 -Wall -DNDEBUG -O2 -fvisibility=hidden -mmacosx-version-min=11.0 -fno-objc-arc -arch x86_64 -arch arm64 -sectcreate __TEXT __info_plist ./assets/Info.plist -F/System/Library/PrivateFrameworks -framework Carbon -framework Cocoa -framework CoreServices -framework CoreVideo -framework SkyLight -o bin/yabai
src/osax/payload_bin.c:14429:1: error: unknown type name 'size_t'
size_t __src_osax_payload_len = 173104;
^
1 error generated.
src/osax/loader_bin.c:11123:1: error: unknown type name 'size_t'
size_t __src_osax_loader_len = 133440;
^
1 error generated.
make: *** [bin/yabai] Error 1

Focusing Slack blurs the whole screen

So this is a weird one:

I'm using the yabai/sketchybar parts of your dotfiles and overall they work live a charm and just look lovely.

However, when focusing Slack, the whole workspace is blurred. Happens 100% of the time. I can unblur the screen by simply focusing another app, but when I focus the Slack window again, blurring also happens again.

Switching workspaces doesn't fix the issue.

Please ignore the violet border on the screenshot—it is caused by yabai's border for the screenshot tool.

CleanShot 2023-01-05 at 17 46 33

icons not showing

I just switch to macos so sorry if it is a dumb question but I copy everythings, I got the good fonts

  • Hack Nerd
  • SF Pro
  • Font Awesome 6
  • MesloLGL
  • sketchybar-app-font
  • sf-icons

I tried to tweak the bar with different fonts and icons but eveytime I either got nothing or a |?| icon
I don't know what to try (The volume icon is showing)
I edit with visual studio and I can see icons there

Unknown apps logo

I have been using a slightly modified version of your sketchybar set-up, in the spaces section I show the icon of the apps that I have opened, but I found that there are a lot of apps that do not have an icon. I was wondering if there is a way that I can add this icon or from where are this icons being pulled?
screenshot 2024-01-31 at 12 23 35 AM

cant install SbarLua?

  • System

OS: macOS Monterey 12.6.8 21G725 x86_64

  • LogInfo
❯ (git clone https://github.com/FelixKratz/SbarLua.git /tmp/SbarLua && cd /tmp/SbarLua/ && make install && rm -rf /tmp/SbarLua/)
Cloning into '/tmp/SbarLua'...
remote: Enumerating objects: 261, done.
remote: Counting objects: 100% (68/68), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 261 (delta 52), reused 53 (delta 46), pack-reused 193
Receiving objects: 100% (261/261), 333.09 KiB | 1.02 MiB/s, done.
Resolving deltas: 100% (117/117), done.
mkdir bin
cd lua-5.4.4 && make
make[1]: Entering directory '/private/tmp/SbarLua/lua-5.4.4'
make[2]: Entering directory '/private/tmp/SbarLua/lua-5.4.4/src'
Guessing Darwin
make[3]: Entering directory '/private/tmp/SbarLua/lua-5.4.4/src'
make all SYSCFLAGS="-DLUA_USE_MACOSX -DLUA_USE_READLINE" SYSLIBS="-lreadline"
make[4]: Entering directory '/private/tmp/SbarLua/lua-5.4.4/src'
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lapi.o lapi.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE   -c lcode.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lctype.o lctype.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o ldebug.o ldebug.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o ldo.o ldo.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o ldump.o ldump.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lfunc.o lfunc.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lgc.o lgc.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE   -c llex.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lmem.o lmem.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lobject.o lobject.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lopcodes.o lopcodes.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE   -c lparser.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lstate.o lstate.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lstring.o lstring.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o ltable.o ltable.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o ltm.o ltm.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lundump.o lundump.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lvm.o lvm.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lzio.o lzio.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lauxlib.o lauxlib.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lbaselib.o lbaselib.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lcorolib.o lcorolib.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o ldblib.o ldblib.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o liolib.o liolib.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lmathlib.o lmathlib.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o loadlib.o loadlib.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o loslib.o loslib.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lstrlib.o lstrlib.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o ltablib.o ltablib.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lutf8lib.o lutf8lib.c
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o linit.o linit.c
ar rcu liblua.a lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o lcorolib.o ldblib.o liolib.o lmathlib.o loadlib.o loslib.o lstrlib.o ltablib.o lutf8lib.o linit.o
ranlib liblua.a
gcc -std=gnu99 -fPIC  -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_MACOSX -DLUA_USE_READLINE    -c -o lua.o lua.c
lua.c:424:10: fatal error: readline/readline.h: No such file or directory
  424 | #include <readline/readline.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [<builtin>: lua.o] Error 1
make[4]: Leaving directory '/private/tmp/SbarLua/lua-5.4.4/src'
make[3]: *** [Makefile:133: Darwin] Error 2
make[3]: Leaving directory '/private/tmp/SbarLua/lua-5.4.4/src'
make[2]: *** [Makefile:103: guess] Error 2
make[2]: Leaving directory '/private/tmp/SbarLua/lua-5.4.4/src'
make[1]: *** [Makefile:55: guess] Error 2
make[1]: Leaving directory '/private/tmp/SbarLua/lua-5.4.4'
make: *** [makefile:23: bin/liblua.a] Error 2
  • Help
    I am totally new to this, please tell me how to fix this. Thanks!

Cannot focus space due to an error with the scripting-addition

I've just switched from koekeishiya/yabai to your fork. It seems that the scripting-additions don't work though. I've uninstalled yabai and installed your fork with

brew tap FelixKratz/formulae
brew install --HEAD felixkratz/formulae/fyabai

I've put the following in yabairc

launchctl unload -F /System/Library/LaunchAgents/com.apple.WindowManager.plist > /dev/null 2>&1 &
sudo yabai --load-sa

and ran

echo "Add sudoer manually:\n '$(whoami) ALL = (root) NOPASSWD: sha256:$(shasum -a 256 $(which yabai) | awk "{print \$1;}") $(which yabai) --load-sa' to '/private/etc/sudoers.d/yabai'"

to update /private/etc/sudoers.d/yabai accordingly. Then restarted the system just to be safe.

Running a space focus change results in:

$ yabai -m space --focus 3
cannot focus space due to an error with the scripting-addition.

Do you have any idea where I can start debugging?

Relevant files

Edit:

  • I just reverted to koekeishiya/yabai and repeated the above steps and the space focus change works (no scripting additions error). Do I need to do something specific for your fork to make the scripting additions work?

Change color of app icons

Hi and first of all thank you for this amazing piece of software. I have to work with macOS as my company requires it and thanks to you and yabai I'm a little closer to my loved linux environment.

Is there any way to get change the color for the app icons that are displayed after every space number? I didn't manage to find these.
image

Thanks for the support and keep up the nice work!

Sbarlua not installing

I executed the install sketchybar script as shown in the readme, but the sbarlua part doesnt work because FISH shell doesn't allow it, removing the () works.

Having a check for the shell would be handy

Update resets number of spaces.

I have been trying to edit my config to have additional spaces, but sketchybar --update is called at the end of the file, the number of spaces displayed is reset to 4. Upon starting sketchybar, there will be 10 displayed prior to the update being made. I have verified the update is causing the issue by commenting it out at the end of my configuration and manually calling it.

Below is a minimal configuration that I am running based off the example provided in the repo (a copy & paste):

SPACE_ICONS=("1" "2" "3" "4" "5" "6" "7" "8" "9" "10")

for i in "${!SPACE_ICONS[@]}"
do
  sid=$(($i+1))
  echo "Space Icon: ${sid}"
  sketchybar --add space space.$sid left                                 \
             --set space.$sid associated_space=$sid                      \
                              icon=${SPACE_ICONS[i]}                     \
                              background.color=0x44ffffff                \
                              background.corner_radius=5                 \
                              background.height=20                       \
                              background.drawing=off                     \
                              label.drawing=off                          \
                              click_script="yabai -m space --focus $sid"
done

sketchybar --update

Querying sketchybar, all 10 spaces appear in the list of items:

{                                    
        "position": "top",
        "topmost": "off",
        "sticky": "off",   
        "shadow": "off",   
        "font_smoothing": "off",
        "blur_radius": 0,
        "margin": 0,     
        "drawing": "off",
        "color": "0x44000000",
        "border_color": "0xffff0000",
        "border_width": 0,
        "height": 25,
        "corner_radius": 0,
        "padding_left": 20,
        "padding_right": 20,
        "y_offset": 0,
        "clip": 0.000000,
        "image": {
                "value": "(null)",
                "drawing": "off",
                "scale": 1.000000
        },
        "items": [
                 "space.1",
                 "space.2",
                 "space.3",
                 "space.4",
                 "space.5",
                 "space.6",
                 "space.7",
                 "space.8",
                 "space.9",
                 "space.10"
        ]
}

I am running the latest v2.15.1. I have tried with and without yabai which doesn't seem to make a difference. Yabai is unable to identify a space to switch to through key binds or terminal commands for any of the numbers not displayed. When querying yabai, only the 4 spaces appear. Both with and without yabai running, sketchybar reports there are 10 spaces.

Interestingly, when I have less 4 spaces, they are displayed properly. I have tried completely uninstalling but that made no difference.

Commenting out 'source "$ITEM_DIR/cpu.sh"' makes calendar not showing up

#!/usr/bin/env sh

source "$HOME/.config/sketchybar/colors.sh" # Loads all defined colors
source "$HOME/.config/sketchybar/icons.sh" # Loads all defined icons

ITEM_DIR="$HOME/.config/sketchybar/items" # Directory where the items are configured
PLUGIN_DIR="$HOME/.config/sketchybar/plugins" # Directory where all the plugin scripts are stored

FONT="SF Pro" # Needs to have Regular, Bold, Semibold, Heavy and Black variants
PADDINGS=3 # All paddings use this value (icon, label, background)

# Setting up and starting the helper process
HELPER=git.felix.helper
killall helper
cd $HOME/.config/sketchybar/helper && make
$HOME/.config/sketchybar/helper/helper $HELPER > /dev/null 2>&1 &

# Unload the macOS on screen indicator overlay for volume change
launchctl unload -F /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist > /dev/null 2>&1 &

# Setting up the general bar appearance and default values
sketchybar --bar     height=39                                         \
                     color=$BAR_COLOR                                  \
                     shadow=on                                         \
                     position=top                                      \
                     sticky=on                                         \
                     padding_right=7                                   \
                     padding_left=7                                    \
                     corner_radius=9                                   \
                     y_offset=10                                       \
                     margin=10                                         \
                     blur_radius=20                                    \
                     notch_width=0                                     \
                                                                       \
           --default updates=when_shown                                \
                     icon.font="$FONT:Bold:14.0"                       \
                     icon.color=$ICON_COLOR                            \
                     icon.padding_left=$PADDINGS                       \
                     icon.padding_right=$PADDINGS                      \
                     label.font="$FONT:Semibold:13.0"                  \
                     label.color=$LABEL_COLOR                          \
                     label.padding_left=$PADDINGS                      \
                     label.padding_right=$PADDINGS                     \
                     background.padding_right=$PADDINGS                \
                     background.padding_left=$PADDINGS                 \
                     background.height=26                              \
                     background.corner_radius=9                        \
                     popup.background.border_width=2                   \
                     popup.background.corner_radius=11                 \
                     popup.background.border_color=$POPUP_BORDER_COLOR \
                     popup.background.color=$POPUP_BACKGROUND_COLOR    \
                     popup.background.shadow.drawing=on

# Left
source "$ITEM_DIR/apple.sh"
source "$ITEM_DIR/spaces.sh"
source "$ITEM_DIR/front_app.sh"

# Center
source "$ITEM_DIR/spotify.sh"

# Right
source "$ITEM_DIR/calendar.sh"
source "$ITEM_DIR/brew.sh"
source "$ITEM_DIR/github.sh"
source "$ITEM_DIR/volume.sh"
source "$ITEM_DIR/divider.sh"
# source "$ITEM_DIR/cpu.sh"

# Forcing all item scripts to run (never do this outside of sketchybarrc)
sketchybar --update

echo "sketchybar configuation loaded.."

image

Missing license

Hi there!

I'd like to use part of your config as a starting point for mine, but I noticed you didn't specify any license. Technically that means all rights are reserved except those that you granted implicitly by agreeing to GitHub's TOS. Since you include installation instructions, I assume you meant for other people to be able to use your config. I'd love if you could specify a license so that everyone can know what exactly is allowed and what is not. I've found https://choosealicense.com to be a decent guide to different options.

Thanks so much!

Volume icon

Firstly, great dotfiles!
Secondly, I am having issues getting the alias for the volume icon, even though renamed to "Centre".
The slider works just fine but the volume icon is just blank in the mean while.
Do you have any suggestions?

File: items/volume.sh

sketchybar --add alias "Control Center,Sound" right                      \
           --rename "Control Center,Sound" volume_alias                   \
           --set volume_alias icon.drawing=on                                      \

Xcode icon doesn't show

CleanShot 2023-01-05 at 18 13 35

For some reason, the Xcode icon doesn't show up in the status bar. It looks to be properly configured in the mappings file, so I'm not sure what's wrong here. 🤷 Other icons seem to work fine so far.

`spaces.sh` causes loosing responsiveness in trackpad

  • I am not sure if it's an issue that is solvable or if it's in the nature of the project, but when you leave sketchybar with spaces.sh sourced it causes too loose smoothnes of changing workspaces when using trackpad:
Screen.Recording.2023-04-01.at.14.07.01.mov
  • with commented out spaces.sh:
Screen.Recording.2023-04-01.at.14.17.06.mov

default icon displayed even though actual icon exists

Hello,

In the spaces tab the icon for some applications, f.e. WhatsApp does not appear even though the corresponding sketchybar-app-icon exists. Any ideas why the app is not recognised/seen as ':default:'? Really curious to know.

Screenshot 2024-01-20 at 18 27 25

Screenshot 2024-01-20 at 18 29 38

Thanks in advance :D

Can't create new space

Hey, I am new to this.
Install everything and it seems fine.
But it cannt create new space in the bar with mouse click.
Is it because the System Integrity Protection for yabai?

IMG_9528

CapsLock Remapped

Hello, i just ran the .install.sh script and it seems my capslock has been remapped to some wierd action, which i cant describe, all i know that i can exit tha mode which enter by pressing a, and i can move trough terminal.... with the cursur. anyhow, i used capslock in the past as escape key.

any idea what might happen?

Also, thanks for the dotfiles, everything else is great :D!

Macbook randomly beeps.

Have you added some configuration for making the laptop beep on certain conditions?
My macbook beeps randomly while running after I used your dotfiles.
I don't know why is this happening. Is it related to memory or RAM when it reaches certain value?

Payload (0x0) error

Every time when I restart fyabai or my mac, I keep receiving the one time error below, however, everything works fine, though.
Screenshot 2023-12-23 at 3 03 55 PM

SketchyBar CPU helper memory increase

When running the CPU usage + SketchybarHelper setup, I have noticed that the memory and ports of the helper process keep increasing.
Due to my limited C knowlege, I can't point out what might be causing the problem or debug further.

I am running on macOS 14.0 on an M2 processor.

Windows are not equal + pop-up

Hey, can you help me? I did some customization with your dotfile config, and my windows are not equal (especially my browser Arc -first screenshot), as well as I keep receiving the pop-up window every time I restart fyabai. I included yabairc config. How do I fix all of it?
Screenshot 2023-12-21 at 11 10 48 PM
Screenshot 2023-12-21 at 11 08 48 PM
Screenshot 2023-12-21 at 11 12 44 PM

Config features not working

I saw the config and loved it. I copy the files and paste them into my computer. There are some errors that I tried fixing but found myself stuck and not able to fix them.
screenshot 2024-01-18 at 7 22 51 PM
Everything seems to work fine but when clicking on the icons to the right nothing seems to happen.
The calendar seems to not display correctly.
The spaces are not interactive at all (Cannot click on them).
The only things that seem to be working correctly are the CPU usage and the apple logo.

I am using MacOS Ventura Version 13.6.1
Skethybar version: v2.19.6
yabai version: v6.0.1

Sketchybar Persists in Fullscreen

Hi there!

Firstly, thank you for your work with SketchyBar :) I'm using your sketchybarr dotfiles as a starting point for my configuration, but had a quick question regarding fullscreen. If I enter fullscreen (ie: YouTube video), the bar persists. Is there any way to hide it? I thought it might be a SketchyBar issue at first (ie FelixKratz/SketchyBar#451) but tested the minimal configured bar

sketchybar --bar color=0xffffffff y_offset=50 height=10 topmost=on

and it disappeared in fullscreen. I'm guessing it's some option in this sketchybar configuration, but haven't been able to pinpoint where it is and was wondering if you could provide any advice.

I've tried

sticky=off
topmost=on

and other then that, I'm not sure what most of the other configured options mean.

Windows blurred?

Blurring occurs right after I ran the .install.sh
WhatsApp Image 2023-09-14 at 16 53 15
I am using a M1 chip Macbook.
I don't really know if this is a problem of me not understanding how to run the code properly, my mac having contradicting code or something, or really an issue.
Either way, can someone figure what is happening?
I had to reset my macbook for this :(

Icon for only Microsoft Teams and Outlook missing/hidden

Has anyone else experienced this? Icons for microsoft teams and outlook(outlook i just used :mail:) are not shown in the spaces preview. All other apps seem to work, including with spaces in name like Google Chrome.

You can tell that it is recognising that there is an app in that space, since the blank background is slightly wider than in a space where there are no apps, but no icon is showing up at all.

I am using felixkratz dotfiles with sketchybar-app-font.

Any idea what might cause it?

Opacity doesn't work

Hey, sir. I don't want to bother you, but it seems like transparency doesn't work for normal windows, how do I achieve it? On the left side (Alacritty) uses its native transparency. I tried to reinstall it, to reload - brew services restart fyabai, no luck.
Screenshot 2023-12-29 at 6 14 40 PM

No switching workspaces.

Hello.
I am using the sketchybar from the creator's dotfiles , I have installed sketchybar-app-font and the hack nerd font. However , sketchybar still doesn't show icons. It just hows the workspace numbers. How can I make it show icons?

Also , is it possible to switch workspaces? When i click one nothing happens.

SketchyBar Icons not appearing

So I installed the sketchybar-app-fonts but the icons still don't seem to be appearing, I am not rly sure what is wrong with it.
Is there some other fonts I need to install or smth?

Screenshot 2023-09-02 at 1 10 13 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.