diff --git a/.bar/addr.10s.sh b/.bar/addr.15s.sh similarity index 100% rename from .bar/addr.10s.sh rename to .bar/addr.15s.sh diff --git a/.bar/clipboard-history.3s.sh b/.bar/clipboard-history.5s.sh similarity index 100% rename from .bar/clipboard-history.3s.sh rename to .bar/clipboard-history.5s.sh diff --git a/.bar/ping.10s.sh b/.bar/ping.30s.sh similarity index 100% rename from .bar/ping.10s.sh rename to .bar/ping.30s.sh diff --git a/.chunkwmrc b/.chunkwmrc deleted file mode 100755 index 4477dfa..0000000 --- a/.chunkwmrc +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -chunkc core::plugin_dir ~/.chunkwm_plugins -chunkc core::hotload 1 - -# -# Desktop -# - -chunkc set global_desktop_mode bsp - -chunkc set global_desktop_offset_top 20 -chunkc set global_desktop_offset_bottom 20 -chunkc set global_desktop_offset_left 20 -chunkc set global_desktop_offset_right 20 -chunkc set global_desktop_offset_gap 12 -chunkc set desktop_padding_step_size 10 -chunkc set desktop_gap_step_size 6 - -# -# Cursor -# - -chunkc set mouse_follows_focus intrinsic - -# -# Border -# - -chunkc set focused_border_color 0xbbcb4b16 -chunkc set focused_border_width 4 -chunkc set focused_border_radius 8 -chunkc set focused_border_skip_floating 1 -chunkc set focused_border_outline 1 - -# -# Load Plugins -# - -chunkc core::load tiling.so -chunkc core::load ffm.so -chunkc core::load border.so - -# -# Floating rules -# - -chunkc tiling::rule --owner \"System Preferences\" --state float diff --git a/.gitconfig b/.config/git/config similarity index 100% rename from .gitconfig rename to .config/git/config diff --git a/.config/skhd/skhdrc b/.config/skhd/skhdrc new file mode 100644 index 0000000..d4090a5 --- /dev/null +++ b/.config/skhd/skhdrc @@ -0,0 +1,144 @@ + +# +# Resizing containers: +# See bottom +# + +:: default : yabai -m config active_window_border_color 0xbbcb4b16 +:: resize @ : yabai -m config active_window_border_color 0xffdc322f + +# +# Basics: +# + +# start a terminal +alt - return : ~/.local/bin/open-iterm + +# kill focused window +alt + shift - q : yabai -m window --close + +# start your launcher +alt - d : skhd -k "cmd - space" +#osascript -e 'tell application "System Events" to keystroke space using {command down}' + +# reload skhd configuration file +alt + shift - c : skhd reload + +# reload chunkwm +alt + shift - e : ~/.yabairc + +# +# Moving around: +# + +# Move your focus around +alt - h : yabai -m window --focus west +alt - j : yabai -m window --focus south +alt - k : yabai -m window --focus north +alt - l : yabai -m window --focus east +# or use $mod+[up|down|left|right] +alt - left : yabai -m window --focus west +alt - down : yabai -m window --focus south +alt - up : yabai -m window --focus north +alt - right : yabai -m window --focus east + +# Move the focused window with the same, but add Shift +alt + shift - h : yabai -m window --warp west +alt + shift - j : yabai -m window --warp south +alt + shift - k : yabai -m window --warp north +alt + shift - l : yabai -m window --warp east +# ditto, with arrow keys +alt + shift - left : yabai -m window --warp west +alt + shift - down : yabai -m window --warp south +alt + shift - up : yabai -m window --warp north +alt + shift - right : yabai -m window --warp east + +# +# Workspaces: +# + +# switch to workspace +alt - 0x12 : yabai -m space --focus 1 +alt - 0x13 : yabai -m space --focus 2 +alt - 0x14 : yabai -m space --focus 3 +alt - 0x15 : yabai -m space --focus 4 +alt - 0x17 : yabai -m space --focus 5 +alt - 0x16 : yabai -m space --focus 6 +alt - 0x1A : yabai -m space --focus 7 +alt - 0x1C : yabai -m space --focus 8 +alt - 0x19 : yabai -m space --focus 9 +alt - 0x1D : yabai -m space --focus 10 +# move focused container to workspace +alt + shift - 0x12 : yabai -m window --space 1 +alt + shift - 0x13 : yabai -m window --space 2 +alt + shift - 0x14 : yabai -m window --space 3 +alt + shift - 0x15 : yabai -m window --space 4 +alt + shift - 0x17 : yabai -m window --space 5 +alt + shift - 0x16 : yabai -m window --space 6 +alt + shift - 0x1A : yabai -m window --space 7 +alt + shift - 0x1C : yabai -m window --space 8 +alt + shift - 0x19 : yabai -m window --space 9 +alt + shift - 0x1D : yabai -m window --space 10 + +# +# Displays: +# + +# switch to displays +alt - a : yabai -m display --focus 1 +alt - b : yabai -m display --focus 2 +alt - c : yabai -m display --focus 3 +# move to display and follow +alt + shift - a : yabai -m window --display 1; yabai -m display --focus 1 +alt + shift - b : yabai -m window --display 2; yabai -m display --focus 2 +alt + shift - c : yabai -m window --display 3; yabai -m display --focus 3 + +# +# Layout stuff: +# + +# You can "split" the current object of your focus... +alt - b : yabai -m window --insert south +alt - v : yabai -m window --insert east + +# Alternatively, set split with +alt + ctrl - h : yabai -m window --insert west +alt + ctrl - j : yabai -m window --insert south +alt + ctrl - k : yabai -m window --insert north +alt + ctrl - l : yabai -m window --insert east + +# Make the current focus fullscreen +alt - f : yabai -m window --toggle zoom-fullscreen + +# Toggle the current focus between tiling and floating mode +alt + shift - space : yabai -m window --toggle float; yabai -m window --grid 4:4:1:1:2:2 + +# +# Scratchpad: +# + + +# +# Resizing containers: +# + +alt - r ; resize +resize < return ; default +resize < alt - r ; default +resize < escape ; default + +resize < h : yabai -m window --resize left:-12:0; yabai -m window --resize right:-10:0 +resize < j : yabai -m window --resize top:0:-12; yabai -m window --resize bottom:0:-10 +resize < k : yabai -m window --resize top:0:12; yabai -m window --resize bottom:0:10 +resize < l : yabai -m window --resize left:12:0; yabai -m window --resize right:10:0 +resize < left : yabai -m window --resize left:-12:0; yabai -m window --resize right:-10:0 +resize < down : yabai -m window --resize top:0:-12; yabai -m window --resize bottom:0:-10 +resize < up : yabai -m window --resize top:0:12; yabai -m window --resize bottom:0:10 +resize < right : yabai -m window --resize left:12:0; yabai -m window --resize right:10:0 + +# +# Custom largegaps mode +# + +alt - g : yabai -m space --gap abs:36; yabai -m space --padding abs:60:60:60:60 +alt + shift - g : yabai -m space --gap abs:12; yabai -m space --padding abs:20:20:20:20 diff --git a/.config/sway/config b/.config/sway/config index d8010ca..425e569 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -101,30 +101,34 @@ input * { # Workspaces: # # switch to workspace - bindsym $mod+1 workspace 1 - bindsym $mod+2 workspace 2 - bindsym $mod+3 workspace 3 - bindsym $mod+4 workspace 4 - bindsym $mod+5 workspace 5 - bindsym $mod+6 workspace 6 - bindsym $mod+7 workspace 7 - bindsym $mod+8 workspace 8 - bindsym $mod+9 workspace 9 - bindsym $mod+0 workspace 10 + bindcode $mod+10 workspace 1 + bindcode $mod+11 workspace 2 + bindcode $mod+12 workspace 3 + bindcode $mod+13 workspace 4 + bindcode $mod+14 workspace 5 + bindcode $mod+15 workspace 6 + bindcode $mod+16 workspace 7 + bindcode $mod+17 workspace 8 + bindcode $mod+18 workspace 9 + bindcode $mod+19 workspace 10 # move focused container to workspace - bindsym $mod+Shift+1 move container to workspace 1 - bindsym $mod+Shift+2 move container to workspace 2 - bindsym $mod+Shift+3 move container to workspace 3 - bindsym $mod+Shift+4 move container to workspace 4 - bindsym $mod+Shift+5 move container to workspace 5 - bindsym $mod+Shift+6 move container to workspace 6 - bindsym $mod+Shift+7 move container to workspace 7 - bindsym $mod+Shift+8 move container to workspace 8 - bindsym $mod+Shift+9 move container to workspace 9 - bindsym $mod+Shift+0 move container to workspace 10 + bindcode $mod+Shift+10 move container to workspace 1 + bindcode $mod+Shift+11 move container to workspace 2 + bindcode $mod+Shift+12 move container to workspace 3 + bindcode $mod+Shift+13 move container to workspace 4 + bindcode $mod+Shift+14 move container to workspace 5 + bindcode $mod+Shift+15 move container to workspace 6 + bindcode $mod+Shift+16 move container to workspace 7 + bindcode $mod+Shift+17 move container to workspace 8 + bindcode $mod+Shift+18 move container to workspace 9 + bindcode $mod+Shift+19 move container to workspace 10 # Note: workspaces can have any name you want, not just numbers. # We just use 1-10 as the default. # +# Displays: +# + # TODO +# # Layout stuff: # # You can "split" the current object of your focus with @@ -169,16 +173,16 @@ mode "resize" { # right will grow the containers width # up will shrink the containers height # down will grow the containers height - bindsym $left resize shrink width 10 px or 10 ppt - bindsym $down resize grow height 10 px or 10 ppt - bindsym $up resize shrink height 10 px or 10 ppt - bindsym $right resize grow width 10 px or 10 ppt + bindsym $left resize shrink width 12 px or 12 ppt + bindsym $down resize grow height 12 px or 12 ppt + bindsym $up resize shrink height 12 px or 12 ppt + bindsym $right resize grow width 12 px or 12 ppt # ditto, with arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt + bindsym Left resize shrink width 12 px or 12 ppt + bindsym Down resize grow height 12 px or 12 ppt + bindsym Up resize shrink height 12 px or 12 ppt + bindsym Right resize grow width 12 px or 12 ppt # return to default mode bindsym Return mode "default" @@ -186,6 +190,12 @@ mode "resize" { } bindsym $mod+r mode "resize" +# +# Custom largegaps mode +# +bindsym $mod+g gaps inner current set 36, gaps outer current set 60 +bindsym $mod+Shift+g gaps inner current set 12, gaps outer current set 20 + # # Status Bar: # @@ -223,7 +233,7 @@ font xft:'Ubuntu' bold 11 #for_window [class="^.*"] border pixel 1 smart_gaps on gaps inner 12 -gaps outer 8 +gaps outer 20 # # Force Xresources load diff --git a/.config/yabai/yabairc b/.config/yabai/yabairc new file mode 100755 index 0000000..71d2c6b --- /dev/null +++ b/.config/yabai/yabairc @@ -0,0 +1,78 @@ +#!/usr/bin/env sh + +# +# Bar +# + +yabai -m config status_bar on +yabai -m config status_bar_text_font ".AppleSystemUIFont:Regular:12.0" +yabai -m config status_bar_icon_font "Font Awesome 5 Pro:Solid:12.0" +yabai -m config status_bar_background_color 0x00202020 +yabai -m config status_bar_foreground_color 0xff999999 +yabai -m config status_bar_space_icon_strip      +yabai -m config status_bar_power_icon_strip   +yabai -m config status_bar_space_icon  +yabai -m config status_bar_clock_icon  + +# +# Cursor +# + +yabai -m config mouse_follows_focus on +yabai -m config focus_follows_mouse autoraise + +# +# Styling +# + +yabai -m config window_border on +yabai -m config window_border_width 2 + +yabai -m config active_window_border_color 0xbbcb4b16 +yabai -m config normal_window_border_color 0x00cb4b16 +yabai -m config insert_window_border_color 0xbbb58900 + +yabai -m config window_opacity off +yabai -m config active_window_opacity 1.0 +yabai -m config normal_window_opacity 0.90 +yabai -m config window_opacity_duration 0.0 + +yabai -m config window_shadow off + +# +# Desktop +# + +yabai -m config window_placement second_child +yabai -m config window_topmost on +yabai -m config split_ratio 0.50 +yabai -m config auto_balance off +yabai -m config mouse_modifier alt +yabai -m config mouse_action1 move +yabai -m config mouse_action2 resize + +yabai -m config layout bsp +yabai -m config top_padding 20 +yabai -m config bottom_padding 20 +yabai -m config left_padding 20 +yabai -m config right_padding 20 +yabai -m config window_gap 12 + +# +# App rules +# +yabai -m rule --add app=Spotify space=1 +yabai -m rule --add app=Mail space=2 +yabai -m rule --add app=Safari space=3 +yabai -m rule --add app=Chrome space=3 +yabai -m rule --add app=Firefox space=3 +yabai -m rule --add app=Brave space=3 +yabai -m rule --add app=iTerm space=4 +yabai -m rule --add app=Discord space=5 +yabai -m rule --add app=Telegram space=5 +yabai -m rule --add app=Slack space=5 +yabai -m rule --add app=Signal space=5 +yabai -m rule --add app=Skype space=5 +yabai -m rule --add app=Steam space=6 + +echo "yabai configuration loaded.." diff --git a/.install/iterm2profiles.sh b/.install/iterm2profiles.sh index 9c922fb..511c3d4 100755 --- a/.install/iterm2profiles.sh +++ b/.install/iterm2profiles.sh @@ -7,4 +7,4 @@ echo echo "Installing iTerm2 Profiles..." echo -ln -s $HOME/.iterm2profiles.json Library/Application\ Support/iTerm2/DynamicProfiles/env.json +ln -s $HOME/.config/iterm2profiles.json Library/Application\ Support/iTerm2/DynamicProfiles/env.json diff --git a/.iterm2profiles.json b/.iterm2profiles.json deleted file mode 100644 index a000b9c..0000000 --- a/.iterm2profiles.json +++ /dev/null @@ -1,1279 +0,0 @@ -{ - "Profiles": [ - { - "Thin Strokes": 3, - "Ansi 5 Color": { - "Red Component": 0.8274509803921568, - "Color Space": "sRGB", - "Blue Component": 0.5098039215686274, - "Green Component": 0.21176470588235294 - }, - "Working Directory": "\\/Users\\/ambrosechua", - "Prompt Before Closing 2": false, - "Selected Text Color": { - "Red Component": 0.8, - "Color Space": "sRGB", - "Blue Component": 0.8, - "Alpha Component": 1, - "Green Component": 0.8 - }, - "Rows": 25, - "Ansi 11 Color": { - "Red Component": 0.396078431372549, - "Color Space": "sRGB", - "Blue Component": 0.5137254901960784, - "Green Component": 0.4823529411764706 - }, - "Use Italic Font": true, - "Foreground Color": { - "Red Component": 0.6, - "Color Space": "sRGB", - "Blue Component": 0.6, - "Alpha Component": 1, - "Green Component": 0.6 - }, - "Use Custom Window Title": false, - "Right Option Key Sends": 0, - "Show Status Bar": true, - "Character Encoding": 4, - "Selection Color": { - "Red Component": 0.3, - "Color Space": "sRGB", - "Blue Component": 0.3, - "Alpha Component": 1, - "Green Component": 0.3 - }, - "Show Mark Indicators": false, - "Mouse Reporting": false, - "Cursor Boost": 0, - "Ansi 4 Color": { - "Red Component": 0.14901960784313725, - "Color Space": "sRGB", - "Blue Component": 0.8235294117647058, - "Green Component": 0.5450980392156862 - }, - "Non-ASCII Anti Aliased": true, - "Sync Title": false, - "Disable Window Resizing": true, - "Description": "Default", - "Close Sessions On End": true, - "Jobs to Ignore": [ - "rlogin", - "ssh", - "slogin", - "telnet" - ], - "Scrollback Lines": 0, - "Status Bar Layout": { - "components": [ - { - "class": "iTermStatusBarHostnameComponent", - "configuration": { - "knobs": { - "path": "hostname", - "base: priority": 2, - "base: compression resistance": 1, - "shared text color": { - "Red Component": 0.8999999761581421, - "Color Space": "sRGB", - "Blue Component": 0.6299999952316284, - "Alpha Component": 1, - "Green Component": 0.6299999952316284 - } - }, - "layout advanced configuration dictionary value": { - "background color": { - "Red Component": 0, - "Color Space": "sRGB", - "Blue Component": 0, - "Alpha Component": 1, - "Green Component": 0 - }, - "font": "UbuntuMono-Regular 13", - "algorithm": 0 - } - } - }, - { - "class": "iTermStatusBarJobComponent", - "configuration": { - "knobs": { - "base: compression resistance": 1, - "base: priority": 1, - "shared text color": { - "Red Component": 0.8999999761581421, - "Color Space": "sRGB", - "Blue Component": 0.6299999952316284, - "Alpha Component": 1, - "Green Component": 0.8100000023841858 - }, - "minwidth": 0, - "maxwidth": 1.7976931348623157e+308 - }, - "layout advanced configuration dictionary value": { - "background color": { - "Red Component": 0, - "Color Space": "sRGB", - "Blue Component": 0, - "Alpha Component": 1, - "Green Component": 0 - }, - "font": "UbuntuMono-Regular 13", - "algorithm": 0 - } - } - }, - { - "class": "iTermStatusBarGitComponent", - "configuration": { - "knobs": { - "base: compression resistance": 1, - "iTermStatusBarGitComponentPollingIntervalKey": 2, - "shared text color": { - "Red Component": 0.81, - "Color Space": "sRGB", - "Blue Component": 0.63, - "Alpha Component": 1, - "Green Component": 0.9 - }, - "base: priority": 1, - "minwidth": 0, - "maxwidth": 1.7976931348623157e+308 - }, - "layout advanced configuration dictionary value": { - "background color": { - "Red Component": 0, - "Color Space": "sRGB", - "Blue Component": 0, - "Alpha Component": 1, - "Green Component": 0 - }, - "font": "UbuntuMono-Regular 13", - "algorithm": 0 - } - } - }, - { - "class": "iTermStatusBarSpringComponent", - "configuration": { - "knobs": { - "iTermStatusBarSpringComponentSpringConstantKey": 0.01, - "shared text color": { - "Red Component": 0.63, - "Color Space": "sRGB", - "Blue Component": 0.63, - "Alpha Component": 1, - "Green Component": 0.9 - } - }, - "layout advanced configuration dictionary value": { - "background color": { - "Red Component": 0, - "Color Space": "sRGB", - "Blue Component": 0, - "Alpha Component": 1, - "Green Component": 0 - }, - "font": "UbuntuMono-Regular 13", - "algorithm": 0 - } - } - }, - { - "class": "iTermStatusBarNetworkUtilizationComponent", - "configuration": { - "knobs": { - "base: priority": 6, - "shared text color": { - "Red Component": 0.63, - "Color Space": "sRGB", - "Blue Component": 0.8099999999999999, - "Alpha Component": 1, - "Green Component": 0.9 - } - }, - "layout advanced configuration dictionary value": { - "background color": { - "Red Component": 0, - "Color Space": "sRGB", - "Blue Component": 0, - "Alpha Component": 1, - "Green Component": 0 - }, - "font": "UbuntuMono-Regular 13", - "algorithm": 0 - } - } - }, - { - "class": "iTermStatusBarCPUUtilizationComponent", - "configuration": { - "knobs": { - "base: priority": 5, - "shared text color": { - "Red Component": 0.63, - "Color Space": "sRGB", - "Blue Component": 0.9, - "Alpha Component": 1, - "Green Component": 0.8099999999999999 - } - }, - "layout advanced configuration dictionary value": { - "background color": { - "Red Component": 0, - "Color Space": "sRGB", - "Blue Component": 0, - "Alpha Component": 1, - "Green Component": 0 - }, - "font": "UbuntuMono-Regular 13", - "algorithm": 0 - } - } - }, - { - "class": "iTermStatusBarMemoryUtilizationComponent", - "configuration": { - "knobs": { - "base: priority": 3, - "shared text color": { - "Red Component": 0.63, - "Color Space": "sRGB", - "Blue Component": 0.9, - "Alpha Component": 1, - "Green Component": 0.63 - } - }, - "layout advanced configuration dictionary value": { - "background color": { - "Red Component": 0, - "Color Space": "sRGB", - "Blue Component": 0, - "Alpha Component": 1, - "Green Component": 0 - }, - "font": "UbuntuMono-Regular 13", - "algorithm": 0 - } - } - }, - { - "class": "iTermStatusBarBatteryComponent", - "configuration": { - "knobs": { - "ShowPercentage": 1, - "base: priority": 2, - "shared text color": { - "Red Component": 0.8100000000000004, - "Color Space": "sRGB", - "Blue Component": 0.9, - "Alpha Component": 1, - "Green Component": 0.63 - }, - "ShowTime": 0 - }, - "layout advanced configuration dictionary value": { - "background color": { - "Red Component": 0, - "Color Space": "sRGB", - "Blue Component": 0, - "Alpha Component": 1, - "Green Component": 0 - }, - "font": "UbuntuMono-Regular 13", - "algorithm": 0 - } - } - }, - { - "class": "iTermStatusBarClockComponent", - "configuration": { - "knobs": { - "localize": 1, - "base: priority": 4, - "base: compression resistance": 1, - "shared text color": { - "Red Component": 0.9, - "Color Space": "sRGB", - "Blue Component": 0.8099999999999998, - "Alpha Component": 1, - "Green Component": 0.63 - }, - "format": "M\\/dd h:mm" - }, - "layout advanced configuration dictionary value": { - "background color": { - "Red Component": 0, - "Color Space": "sRGB", - "Blue Component": 0, - "Alpha Component": 1, - "Green Component": 0 - }, - "font": "UbuntuMono-Regular 13", - "algorithm": 0 - } - } - } - ], - "advanced configuration": { - "font": "UbuntuMono-Regular 13", - "algorithm": 0 - } - }, - "Flashing Bell": false, - "Cursor Guide Color": { - "Red Component": 0.7021318674087524, - "Color Space": "sRGB", - "Blue Component": 1, - "Alpha Component": 0.125, - "Green Component": 0.9268307089805603 - }, - "BM Growl": true, - "Ansi 3 Color": { - "Red Component": 0.7098039215686275, - "Color Space": "sRGB", - "Blue Component": 0, - "Green Component": 0.5372549019607843 - }, - "Icon": 1, - "Use Non-ASCII Font": false, - "Link Color": { - "Red Component": 0, - "Color Space": "sRGB", - "Blue Component": 0.734233021736145, - "Alpha Component": 1, - "Green Component": 0.3591606020927429 - }, - "Shortcut": "", - "Background Image Location": "", - "Bold Color": { - "Red Component": 0.8, - "Color Space": "sRGB", - "Blue Component": 0.8, - "Alpha Component": 1, - "Green Component": 0.8 - }, - "Unlimited Scrollback": true, - "Allow Title Setting": true, - "Custom Command": "No", - "Title Components": 1, - "Keyboard Map": { - "0xf700-0x260000": { - "Text": "[1;6A", - "Action": 10 - }, - "0x37-0x40000": { - "Text": "0x1f", - "Action": 11 - }, - "0x32-0x40000": { - "Text": "0x00", - "Action": 11 - }, - "0xf709-0x20000": { - "Text": "[17;2~", - "Action": 10 - }, - "0xf70c-0x20000": { - "Text": "[20;2~", - "Action": 10 - }, - "0xf729-0x20000": { - "Text": "[1;2H", - "Action": 10 - }, - "0xf72b-0x40000": { - "Text": "[1;5F", - "Action": 10 - }, - "0xf705-0x20000": { - "Text": "[1;2Q", - "Action": 10 - }, - "0xf703-0x260000": { - "Text": "[1;6C", - "Action": 10 - }, - "0xf700-0x220000": { - "Text": "[1;2A", - "Action": 10 - }, - "0xf701-0x280000": { - "Text": "0x1b 0x1b 0x5b 0x42", - "Action": 11 - }, - "0x38-0x40000": { - "Text": "0x7f", - "Action": 11 - }, - "0x33-0x40000": { - "Text": "0x1b", - "Action": 11 - }, - "0xf703-0x220000": { - "Text": "[1;2C", - "Action": 10 - }, - "0xf701-0x240000": { - "Text": "[1;5B", - "Action": 10 - }, - "0xf70d-0x20000": { - "Text": "[21;2~", - "Action": 10 - }, - "0xf702-0x260000": { - "Text": "[1;6D", - "Action": 10 - }, - "0xf729-0x40000": { - "Text": "[1;5H", - "Action": 10 - }, - "0xf706-0x20000": { - "Text": "[1;2R", - "Action": 10 - }, - "0x34-0x40000": { - "Text": "0x1c", - "Action": 11 - }, - "0xf700-0x280000": { - "Text": "0x1b 0x1b 0x5b 0x41", - "Action": 11 - }, - "0x2d-0x40000": { - "Text": "0x1f", - "Action": 11 - }, - "0xf70e-0x20000": { - "Text": "[23;2~", - "Action": 10 - }, - "0xf702-0x220000": { - "Text": "[1;2D", - "Action": 10 - }, - "0xf703-0x280000": { - "Text": "0x1b 0x1b 0x5b 0x43", - "Action": 11 - }, - "0xf700-0x240000": { - "Text": "[1;5A", - "Action": 10 - }, - "0xf707-0x20000": { - "Text": "[1;2S", - "Action": 10 - }, - "0xf70a-0x20000": { - "Text": "[18;2~", - "Action": 10 - }, - "0x35-0x40000": { - "Text": "0x1d", - "Action": 11 - }, - "0xf70f-0x20000": { - "Text": "[24;2~", - "Action": 10 - }, - "0xf703-0x240000": { - "Text": "[1;5C", - "Action": 10 - }, - "0xf701-0x260000": { - "Text": "[1;6B", - "Action": 10 - }, - "0xf702-0x280000": { - "Text": "0x1b 0x1b 0x5b 0x44", - "Action": 11 - }, - "0xf72b-0x20000": { - "Text": "[1;2F", - "Action": 10 - }, - "0x36-0x40000": { - "Text": "0x1e", - "Action": 11 - }, - "0xf708-0x20000": { - "Text": "[15;2~", - "Action": 10 - }, - "0xf701-0x220000": { - "Text": "[1;2B", - "Action": 10 - }, - "0xf70b-0x20000": { - "Text": "[19;2~", - "Action": 10 - }, - "0xf702-0x240000": { - "Text": "[1;5D", - "Action": 10 - }, - "0xf704-0x20000": { - "Text": "[1;2P", - "Action": 10 - } - }, - "Ansi 14 Color": { - "Red Component": 0.5764705882352941, - "Color Space": "sRGB", - "Blue Component": 0.6313725490196078, - "Green Component": 0.6313725490196078 - }, - "Ansi 2 Color": { - "Red Component": 0.5215686274509804, - "Color Space": "sRGB", - "Blue Component": 0, - "Green Component": 0.6 - }, - "Send Code When Idle": false, - "ASCII Anti Aliased": true, - "Tags": [], - "Ansi 9 Color": { - "Red Component": 0.796078431372549, - "Color Space": "sRGB", - "Blue Component": 0.08627450980392157, - "Green Component": 0.29411764705882354 - }, - "Use Bold Font": true, - "Silence Bell": false, - "Ansi 12 Color": { - "Red Component": 0.5137254901960784, - "Color Space": "sRGB", - "Blue Component": 0.5882352941176471, - "Green Component": 0.5803921568627451 - }, - "Window Type": 12, - "Allow Title Reporting": false, - "Use Bright Bold": true, - "Has Hotkey": false, - "Cursor Text Color": { - "Red Component": 0, - "Color Space": "sRGB", - "Blue Component": 0, - "Alpha Component": 1, - "Green Component": 0 - }, - "Default Bookmark": "No", - "Cursor Color": { - "Red Component": 0.7, - "Color Space": "sRGB", - "Blue Component": 0.7, - "Alpha Component": 1, - "Green Component": 0.7 - }, - "Ansi 1 Color": { - "Red Component": 0.8627450980392157, - "Color Space": "sRGB", - "Blue Component": 0.1843137254901961, - "Green Component": 0.19607843137254902 - }, - "Name": "Solarized Matched", - "Guid": "87AE4AEF-C4E6-477F-916F-375542734010", - "Blinking Cursor": false, - "Ansi 8 Color": { - "Red Component": 0, - "Color Space": "sRGB", - "Blue Component": 0.21176470588235294, - "Green Component": 0.16862745098039217 - }, - "Ansi 10 Color": { - "Red Component": 0.34509803921568627, - "Color Space": "sRGB", - "Blue Component": 0.4588235294117647, - "Green Component": 0.43137254901960786 - }, - "Idle Code": 0, - "Badge Color": { - "Red Component": 1, - "Color Space": "sRGB", - "Blue Component": 0, - "Alpha Component": 0.5, - "Green Component": 0.1491314172744751 - }, - "Smart Cursor Color": false, - "Ambiguous Double Width": false, - "Blur Radius": 12.270590101522842, - "Ansi 0 Color": { - "Red Component": 0.027450980392156862, - "Color Space": "sRGB", - "Blue Component": 0.25882352941176473, - "Green Component": 0.21176470588235294 - }, - "Blur": false, - "Normal Font": "UbuntuMono-Regular 15", - "Vertical Spacing": 1, - "Use Underline Color": true, - "Ansi 7 Color": { - "Red Component": 0.9333333333333333, - "Color Space": "sRGB", - "Blue Component": 0.8352941176470589, - "Green Component": 0.9098039215686274 - }, - "Place Prompt at First Column": false, - "Space": 0, - "Command": "", - "Terminal Type": "xterm-256color", - "Horizontal Spacing": 1, - "Reduce Flicker": true, - "Tab Color": { - "Red Component": 0.12549019607843137, - "Color Space": "sRGB", - "Blue Component": 0.12549019607843137, - "Alpha Component": 1, - "Green Component": 0.12549019607843137 - }, - "Only The Default BG Color Uses Transparency": true, - "Option Key Sends": 0, - "Blink Allowed": true, - "Ansi 15 Color": { - "Red Component": 0.9921568627450981, - "Color Space": "sRGB", - "Blue Component": 0.8901960784313725, - "Green Component": 0.9647058823529412 - }, - "Minimum Contrast": 0, - "Unicode Version": 9, - "Ansi 6 Color": { - "Red Component": 0.16470588235294117, - "Color Space": "sRGB", - "Blue Component": 0.596078431372549, - "Green Component": 0.6313725490196078 - }, - "Transparency": 0.07220415609137056, - "Background Color": { - "Red Component": 0.12549019607843137, - "Color Space": "sRGB", - "Blue Component": 0.12549019607843137, - "Alpha Component": 1, - "Green Component": 0.12549019607843137 - }, - "Screen": -2, - "Bound Hosts": [], - "Non Ascii Font": "Monaco 12", - "Ansi 13 Color": { - "Red Component": 0.4235294117647059, - "Color Space": "sRGB", - "Blue Component": 0.7686274509803922, - "Green Component": 0.44313725490196076 - }, - "Use Tab Color": false, - "Columns": 80, - "Unicode Normalization": 0, - "Visual Bell": false, - "ASCII Ligatures": false, - "Custom Directory": "No", - "Set Local Environment Vars": true - }, - { - "ASCII Ligatures" : false, - "Set Local Environment Vars" : true, - "Working Directory" : "\\\/Users\\\/ambrosechua", - "Prompt Before Closing 2" : false, - "Dynamic Profile Filename" : "\/Users\/ambrose\/Library\/Application Support\/iTerm2\/DynamicProfiles\/env.json", - "Selected Text Color" : { - "Red Component" : 0.20000000000000001, - "Color Space" : "sRGB", - "Blue Component" : 0.20000000000000001, - "Alpha Component" : 1, - "Green Component" : 0.20000000000000001 - }, - "Rows" : 25, - "Ansi 11 Color" : { - "Red Component" : 0.396078431372549, - "Color Space" : "sRGB", - "Blue Component" : 0.51372549019607838, - "Green Component" : 0.4823529411764706 - }, - "Use Italic Font" : true, - "Foreground Color" : { - "Red Component" : 0.40000000000000002, - "Color Space" : "sRGB", - "Blue Component" : 0.40000000000000002, - "Alpha Component" : 1, - "Green Component" : 0.40000000000000002 - }, - "Use Custom Window Title" : false, - "Right Option Key Sends" : 0, - "Show Status Bar" : true, - "Character Encoding" : 4, - "Selection Color" : { - "Red Component" : 0.87450980392156863, - "Color Space" : "sRGB", - "Blue Component" : 0.87450980392156863, - "Alpha Component" : 1, - "Green Component" : 0.87450980392156863 - }, - "Show Mark Indicators" : false, - "Mouse Reporting" : false, - "Cursor Boost" : 0, - "Ansi 4 Color" : { - "Red Component" : 0.14901960784313725, - "Color Space" : "sRGB", - "Blue Component" : 0.82352941176470584, - "Green Component" : 0.54509803921568623 - }, - "Non-ASCII Anti Aliased" : true, - "Sync Title" : false, - "Disable Window Resizing" : true, - "Description" : "Default", - "Close Sessions On End" : true, - "Jobs to Ignore" : [ - "rlogin", - "ssh", - "slogin", - "telnet" - ], - "Scrollback Lines" : 0, - "Status Bar Layout" : { - "components" : [ - { - "class" : "iTermStatusBarHostnameComponent", - "configuration" : { - "knobs" : { - "path" : "hostname", - "base: priority" : 2, - "base: compression resistance" : 1, - "shared text color" : { - "Red Component" : 0.5, - "Color Space" : "sRGB", - "Blue Component" : 0.25, - "Alpha Component" : 1, - "Green Component" : 0.25 - } - }, - "layout advanced configuration dictionary value" : { - "font" : "UbuntuMono-Regular 13", - "algorithm" : 0 - } - } - }, - { - "class" : "iTermStatusBarJobComponent", - "configuration" : { - "knobs" : { - "maxwidth" : 1.7976931348623157e+308, - "base: priority" : 1, - "minwidth" : 0, - "base: compression resistance" : 1, - "shared text color" : { - "Red Component" : 0.5, - "Color Space" : "sRGB", - "Blue Component" : 0.25, - "Alpha Component" : 1, - "Green Component" : 0.41666666666666663 - } - }, - "layout advanced configuration dictionary value" : { - "font" : "UbuntuMono-Regular 13", - "algorithm" : 0 - } - } - }, - { - "class" : "iTermStatusBarGitComponent", - "configuration" : { - "knobs" : { - "maxwidth" : 1.7976931348623157e+308, - "iTermStatusBarGitComponentPollingIntervalKey" : 2, - "base: compression resistance" : 1, - "minwidth" : 0, - "shared text color" : { - "Red Component" : 0.41666666666666669, - "Color Space" : "sRGB", - "Blue Component" : 0.25, - "Alpha Component" : 1, - "Green Component" : 0.5 - }, - "base: priority" : 1 - }, - "layout advanced configuration dictionary value" : { - "font" : "UbuntuMono-Regular 13", - "algorithm" : 0 - } - } - }, - { - "class" : "iTermStatusBarSpringComponent", - "configuration" : { - "knobs" : { - "iTermStatusBarSpringComponentSpringConstantKey" : 0.01, - "shared text color" : { - "Red Component" : 0.25, - "Color Space" : "sRGB", - "Blue Component" : 0.25, - "Alpha Component" : 1, - "Green Component" : 0.5 - } - }, - "layout advanced configuration dictionary value" : { - "font" : "UbuntuMono-Regular 13", - "algorithm" : 0 - } - } - }, - { - "class" : "iTermStatusBarNetworkUtilizationComponent", - "configuration" : { - "knobs" : { - "base: priority" : 6, - "shared text color" : { - "Red Component" : 0.25, - "Color Space" : "sRGB", - "Blue Component" : 0.41666666666666663, - "Alpha Component" : 1, - "Green Component" : 0.5 - } - }, - "layout advanced configuration dictionary value" : { - "font" : "UbuntuMono-Regular 13", - "algorithm" : 0 - } - } - }, - { - "class" : "iTermStatusBarCPUUtilizationComponent", - "configuration" : { - "knobs" : { - "base: priority" : 5, - "shared text color" : { - "Red Component" : 0.25, - "Color Space" : "sRGB", - "Blue Component" : 0.5, - "Alpha Component" : 1, - "Green Component" : 0.41666666666666663 - } - }, - "layout advanced configuration dictionary value" : { - "font" : "UbuntuMono-Regular 13", - "algorithm" : 0 - } - } - }, - { - "class" : "iTermStatusBarMemoryUtilizationComponent", - "configuration" : { - "knobs" : { - "base: priority" : 3, - "shared text color" : { - "Red Component" : 0.25, - "Color Space" : "sRGB", - "Blue Component" : 0.5, - "Alpha Component" : 1, - "Green Component" : 0.25 - } - }, - "layout advanced configuration dictionary value" : { - "font" : "UbuntuMono-Regular 13", - "algorithm" : 0 - } - } - }, - { - "class" : "iTermStatusBarBatteryComponent", - "configuration" : { - "knobs" : { - "ShowPercentage" : 1, - "base: priority" : 2, - "shared text color" : { - "Red Component" : 0.41666666666666696, - "Color Space" : "sRGB", - "Blue Component" : 0.5, - "Alpha Component" : 1, - "Green Component" : 0.25 - }, - "ShowTime" : 0 - }, - "layout advanced configuration dictionary value" : { - "font" : "UbuntuMono-Regular 13", - "algorithm" : 0 - } - } - }, - { - "class" : "iTermStatusBarClockComponent", - "configuration" : { - "knobs" : { - "localize" : 1, - "base: priority" : 4, - "base: compression resistance" : 1, - "shared text color" : { - "Red Component" : 0.5, - "Color Space" : "sRGB", - "Blue Component" : 0.41666666666666652, - "Alpha Component" : 1, - "Green Component" : 0.25 - }, - "format" : "M\\\/dd h:mm" - }, - "layout advanced configuration dictionary value" : { - "font" : "UbuntuMono-Regular 13", - "algorithm" : 0 - } - } - } - ], - "advanced configuration" : { - "font" : "UbuntuMono-Regular 13", - "algorithm" : 0 - } - }, - "Flashing Bell" : false, - "Cursor Guide Color" : { - "Red Component" : 0.70213186740875244, - "Color Space" : "sRGB", - "Blue Component" : 1, - "Alpha Component" : 0.25, - "Green Component" : 0.9268307089805603 - }, - "BM Growl" : true, - "Ansi 3 Color" : { - "Red Component" : 0.70980392156862748, - "Color Space" : "sRGB", - "Blue Component" : 0, - "Green Component" : 0.53725490196078429 - }, - "Icon" : 1, - "Use Non-ASCII Font" : false, - "Link Color" : { - "Red Component" : 0, - "Color Space" : "sRGB", - "Blue Component" : 0.73423302173614502, - "Alpha Component" : 1, - "Green Component" : 0.35916060209274292 - }, - "Shortcut" : "", - "Background Image Location" : "", - "Bold Color" : { - "Red Component" : 0.20000000000000001, - "Color Space" : "sRGB", - "Blue Component" : 0.20000000000000001, - "Alpha Component" : 1, - "Green Component" : 0.20000000000000001 - }, - "Unlimited Scrollback" : true, - "Allow Title Setting" : true, - "Custom Command" : "No", - "Title Components" : 1, - "Keyboard Map" : { - "0xf700-0x260000" : { - "Text" : "[1;6A", - "Action" : 10 - }, - "0x37-0x40000" : { - "Text" : "0x1f", - "Action" : 11 - }, - "0x32-0x40000" : { - "Text" : "0x00", - "Action" : 11 - }, - "0xf709-0x20000" : { - "Text" : "[17;2~", - "Action" : 10 - }, - "0xf70c-0x20000" : { - "Text" : "[20;2~", - "Action" : 10 - }, - "0xf729-0x20000" : { - "Text" : "[1;2H", - "Action" : 10 - }, - "0xf72b-0x40000" : { - "Text" : "[1;5F", - "Action" : 10 - }, - "0xf705-0x20000" : { - "Text" : "[1;2Q", - "Action" : 10 - }, - "0xf703-0x260000" : { - "Text" : "[1;6C", - "Action" : 10 - }, - "0xf700-0x220000" : { - "Text" : "[1;2A", - "Action" : 10 - }, - "0xf701-0x280000" : { - "Text" : "0x1b 0x1b 0x5b 0x42", - "Action" : 11 - }, - "0x38-0x40000" : { - "Text" : "0x7f", - "Action" : 11 - }, - "0x33-0x40000" : { - "Text" : "0x1b", - "Action" : 11 - }, - "0xf703-0x220000" : { - "Text" : "[1;2C", - "Action" : 10 - }, - "0xf701-0x240000" : { - "Text" : "[1;5B", - "Action" : 10 - }, - "0xf70d-0x20000" : { - "Text" : "[21;2~", - "Action" : 10 - }, - "0xf702-0x260000" : { - "Text" : "[1;6D", - "Action" : 10 - }, - "0xf729-0x40000" : { - "Text" : "[1;5H", - "Action" : 10 - }, - "0xf706-0x20000" : { - "Text" : "[1;2R", - "Action" : 10 - }, - "0x34-0x40000" : { - "Text" : "0x1c", - "Action" : 11 - }, - "0xf700-0x280000" : { - "Text" : "0x1b 0x1b 0x5b 0x41", - "Action" : 11 - }, - "0x2d-0x40000" : { - "Text" : "0x1f", - "Action" : 11 - }, - "0xf70e-0x20000" : { - "Text" : "[23;2~", - "Action" : 10 - }, - "0xf702-0x220000" : { - "Text" : "[1;2D", - "Action" : 10 - }, - "0xf703-0x280000" : { - "Text" : "0x1b 0x1b 0x5b 0x43", - "Action" : 11 - }, - "0xf700-0x240000" : { - "Text" : "[1;5A", - "Action" : 10 - }, - "0xf707-0x20000" : { - "Text" : "[1;2S", - "Action" : 10 - }, - "0xf70a-0x20000" : { - "Text" : "[18;2~", - "Action" : 10 - }, - "0x35-0x40000" : { - "Text" : "0x1d", - "Action" : 11 - }, - "0xf70f-0x20000" : { - "Text" : "[24;2~", - "Action" : 10 - }, - "0xf703-0x240000" : { - "Text" : "[1;5C", - "Action" : 10 - }, - "0xf701-0x260000" : { - "Text" : "[1;6B", - "Action" : 10 - }, - "0xf702-0x280000" : { - "Text" : "0x1b 0x1b 0x5b 0x44", - "Action" : 11 - }, - "0xf72b-0x20000" : { - "Text" : "[1;2F", - "Action" : 10 - }, - "0x36-0x40000" : { - "Text" : "0x1e", - "Action" : 11 - }, - "0xf708-0x20000" : { - "Text" : "[15;2~", - "Action" : 10 - }, - "0xf701-0x220000" : { - "Text" : "[1;2B", - "Action" : 10 - }, - "0xf70b-0x20000" : { - "Text" : "[19;2~", - "Action" : 10 - }, - "0xf702-0x240000" : { - "Text" : "[1;5D", - "Action" : 10 - }, - "0xf704-0x20000" : { - "Text" : "[1;2P", - "Action" : 10 - } - }, - "Ansi 14 Color" : { - "Red Component" : 0.57647058823529407, - "Color Space" : "sRGB", - "Blue Component" : 0.63137254901960782, - "Green Component" : 0.63137254901960782 - }, - "Ansi 2 Color" : { - "Red Component" : 0.52156862745098043, - "Color Space" : "sRGB", - "Blue Component" : 0, - "Green Component" : 0.59999999999999998 - }, - "Send Code When Idle" : false, - "ASCII Anti Aliased" : true, - "Tags" : [ - - ], - "Ansi 9 Color" : { - "Red Component" : 0.79607843137254897, - "Color Space" : "sRGB", - "Blue Component" : 0.086274509803921567, - "Green Component" : 0.29411764705882354 - }, - "Use Bold Font" : true, - "Silence Bell" : false, - "Ansi 12 Color" : { - "Red Component" : 0.51372549019607838, - "Color Space" : "sRGB", - "Blue Component" : 0.58823529411764708, - "Green Component" : 0.58039215686274515 - }, - "Window Type" : 12, - "Allow Title Reporting" : false, - "Use Bright Bold" : true, - "Has Hotkey" : false, - "Cursor Text Color" : { - "Red Component" : 1, - "Color Space" : "sRGB", - "Blue Component" : 1, - "Alpha Component" : 1, - "Green Component" : 1 - }, - "Default Bookmark" : "No", - "Cursor Color" : { - "Red Component" : 0.29999999999999999, - "Color Space" : "sRGB", - "Blue Component" : 0.29999999999999999, - "Alpha Component" : 1, - "Green Component" : 0.29999999999999999 - }, - "Ansi 1 Color" : { - "Red Component" : 0.86274509803921573, - "Color Space" : "sRGB", - "Blue Component" : 0.18431372549019609, - "Green Component" : 0.19607843137254902 - }, - "Name" : "Solarized Light Matched", - "Guid" : "6EC7301A-566F-43DE-81D8-80813E350FA7", - "Blinking Cursor" : false, - "Ansi 8 Color" : { - "Red Component" : 0, - "Color Space" : "sRGB", - "Blue Component" : 0.21176470588235294, - "Green Component" : 0.16862745098039217 - }, - "Ansi 10 Color" : { - "Red Component" : 0.34509803921568627, - "Color Space" : "sRGB", - "Blue Component" : 0.45882352941176469, - "Green Component" : 0.43137254901960786 - }, - "Idle Code" : 0, - "Badge Color" : { - "Red Component" : 1, - "Color Space" : "sRGB", - "Blue Component" : 0, - "Alpha Component" : 0.5, - "Green Component" : 0.1491314172744751 - }, - "Smart Cursor Color" : false, - "Ambiguous Double Width" : false, - "Blur Radius" : 12.270590101522842, - "Ansi 0 Color" : { - "Red Component" : 0.027450980392156862, - "Color Space" : "sRGB", - "Blue Component" : 0.25882352941176473, - "Green Component" : 0.21176470588235294 - }, - "Blur" : false, - "Normal Font" : "UbuntuMono-Regular 15", - "Vertical Spacing" : 1, - "Use Underline Color" : true, - "Ansi 7 Color" : { - "Red Component" : 0.93333333333333335, - "Color Space" : "sRGB", - "Blue Component" : 0.83529411764705885, - "Green Component" : 0.90980392156862744 - }, - "Place Prompt at First Column" : false, - "Space" : 0, - "Command" : "", - "Terminal Type" : "xterm-256color", - "Horizontal Spacing" : 1, - "Reduce Flicker" : true, - "Option Key Sends" : 0, - "Only The Default BG Color Uses Transparency" : true, - "Blink Allowed" : true, - "Minimum Contrast" : 0, - "Ansi 15 Color" : { - "Red Component" : 0.99215686274509807, - "Color Space" : "sRGB", - "Blue Component" : 0.8901960784313725, - "Green Component" : 0.96470588235294119 - }, - "Unicode Version" : 9, - "Ansi 6 Color" : { - "Red Component" : 0.16470588235294117, - "Color Space" : "sRGB", - "Blue Component" : 0.59607843137254901, - "Green Component" : 0.63137254901960782 - }, - "Transparency" : 0.072204156091370555, - "Background Color" : { - "Red Component" : 0.87450980392156863, - "Color Space" : "sRGB", - "Blue Component" : 0.87450980392156863, - "Alpha Component" : 1, - "Green Component" : 0.87450980392156863 - }, - "Screen" : -2, - "Bound Hosts" : [ - - ], - "Non Ascii Font" : "Monaco 12", - "Ansi 13 Color" : { - "Red Component" : 0.42352941176470588, - "Color Space" : "sRGB", - "Blue Component" : 0.7686274509803922, - "Green Component" : 0.44313725490196076 - }, - "Use Tab Color" : false, - "Columns" : 80, - "Unicode Normalization" : 0, - "Visual Bell" : false, - "Custom Directory" : "No", - "Thin Strokes" : 3, - "Ansi 5 Color" : { - "Red Component" : 0.82745098039215681, - "Color Space" : "sRGB", - "Blue Component" : 0.50980392156862742, - "Green Component" : 0.21176470588235294 - } - } - ] -} diff --git a/.local/bin/mode b/.local/bin/mode index d213c7a..7f6e433 100755 --- a/.local/bin/mode +++ b/.local/bin/mode @@ -1,8 +1,8 @@ #!/bin/zsh -MODE_DEFAULT=('.wallpaper.jpg' 'true' 'Solarized Matched' 'Dark Matched') -MODE_DARK=('.wallpaper.dark.png' 'true' 'Solarized Matched' 'Dark Matched') -MODE_LIGHT=('.wallpaper.light.png' 'false' 'Solarized Light Matched' 'Light Matched') +MODE_DEFAULT=('default.jpg' 'true' 'Solarized Matched' 'Dark Matched' 'df202020' 'ff999999') +MODE_DARK=('dark.png' 'true' 'Solarized Matched' 'Dark Matched' '00202020' 'ff999999') +MODE_LIGHT=('light.png' 'false' 'Solarized Light Matched' 'Light Matched' '00dfdfdf' 'ff666666') evaluate() { input="$1" @@ -18,9 +18,14 @@ evaluate() { change_system_theme() { mode=($@) + rm -f ~/Pictures/wallpapers/current/* + cp ~/.wallpaper/"${mode[1]}" ~/Pictures/wallpapers/current/"${mode[3]}${mode[1]}" template=" tell application \"System Events\" - set picture of desktops to \"$HOME/{1}\" + tell desktops + set change interval to -1 + set change interval to 1 + end tell tell appearance preferences set dark mode to {2} end tell @@ -60,6 +65,12 @@ iterm2.run_until_complete(main) python3 $script } +change_yabai_theme() { + mode=($@) + yabai -m config status_bar_background_color 0x${mode[5]} + yabai -m config status_bar_foreground_color 0x${mode[6]} +} + mode_name="MODE_$1:u" mode=(${(P)mode_name}) @@ -70,4 +81,4 @@ fi change_system_theme $mode change_iterm2_theme $mode - +change_yabai_theme $mode diff --git a/.skhdrc b/.skhdrc deleted file mode 100644 index f60f1a5..0000000 --- a/.skhdrc +++ /dev/null @@ -1,108 +0,0 @@ - -# -# Resizing containers: -# See bottom -# - -:: default : chunkc border::color 0xbbcb4b16 -:: resize @ : chunkc border::color 0xffdc322f - -# -# Basics: -# - -# start a terminal -alt - return : ~/.local/bin/open-iterm - -# kill focused window -alt + shift - q : chunkc tiling::window --close - -# start your launcher -alt - d : osascript -e 'tell application "System Events" to keystroke space using {command down}' - -# reload skhd configuration file -alt + shift - c : skhd reload - -# reload chunkwm -alt + shift - e : ~/.chunkwmrc - -# -# Moving around: -# - -# Move your focus around -alt - h : chunkc tiling::window --focus west -alt - j : chunkc tiling::window --focus south -alt - k : chunkc tiling::window --focus north -alt - l : chunkc tiling::window --focus east -# or use $mod+[up|down|left|right] -alt - left : chunkc tiling::window --focus west -alt - down : chunkc tiling::window --focus south -alt - up : chunkc tiling::window --focus north -alt - right : chunkc tiling::window --focus east - -# Move the focused window with the same, but add Shift -alt + shift - h : chunkc tiling::window --warp west -alt + shift - j : chunkc tiling::window --warp south -alt + shift - k : chunkc tiling::window --warp north -alt + shift - l : chunkc tiling::window --warp east -# ditto, with arrow keys -alt + shift - left : chunkc tiling::window --warp west -alt + shift - down : chunkc tiling::window --warp south -alt + shift - up : chunkc tiling::window --warp north -alt + shift - right : chunkc tiling::window --warp east - -# -# Workspaces: -# - -# TODO - -# -# Layout stuff: -# - -# You can "split" the current object of your focus... -alt - b : chunkc tiling::window --use-insertion-point south -alt - v : chunkc tiling::window --use-insertion-point east - -# Alternatively, set split with -alt + ctrl - h : chunkc tiling::window --use-insertion-point west -alt + ctrl - j : chunkc tiling::window --use-insertion-point south -alt + ctrl - k : chunkc tiling::window --use-insertion-point north -alt + ctrl - l : chunkc tiling::window --use-insertion-point east - -# Make the current focus fullscreen -alt - f : chunkc tiling::window --toggle fullscreen - -# Toggle the current focus between tiling and floating mode -alt + shift - space : chunkc tiling::window --toggle float - -# -# Scratchpad: -# - - -# -# Resizing containers: -# - -alt - r ; resize -resize < return ; default -resize < escape ; default - -resize < h : chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge west; chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge east -resize < j : chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge north; chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge south -resize < k : chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge north; chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge south -resize < l : chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge west; chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge east -resize < left : chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge west; chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge east -resize < down : chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge north; chunkc tiling::window --use-temporary-ratio -0.03 --adjust-window-edge south -resize < up : chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge north; chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge south -resize < right : chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge west; chunkc tiling::window --use-temporary-ratio 0.03 --adjust-window-edge east - -# -# Custom largegaps mode -# - -alt + shift - g : chunkc tiling::desktop --gap inc; chunkc tiling::desktop --padding inc -alt + shift + ctrl - g : chunkc tiling::desktop --gap dec; chunkc tiling::desktop --padding dec diff --git a/.ssh/config b/.ssh/config index 30a2355..87dd88a 100644 --- a/.ssh/config +++ b/.ssh/config @@ -10,6 +10,13 @@ Host goldenbarrel-wan-test LocalForward 8080 localhost:8080 RemoteForward 8180 localhost:8180 +#Host goldenbarrel-wan-gpg +# Hostname makerforce.io +# User ambrose +# Port 2222 +# RemoteForward /home/ambrose/.gnupg/S.gpg-agent /Users/ambrose/.gnupg/S.gpg-agent.extra +# RemoteForward /home/ambrose/.gnupg/S.gpg-agent.ssh /Users/ambrose/.gnupg/S.gpg-agent.ssh + Host goldenbarrel-wan Hostname makerforce.io User ambrose diff --git a/.wallpaper.dark.png b/.wallpaper/dark.png similarity index 100% rename from .wallpaper.dark.png rename to .wallpaper/dark.png diff --git a/.wallpaper.jpg b/.wallpaper/default.jpg similarity index 100% rename from .wallpaper.jpg rename to .wallpaper/default.jpg diff --git a/.wallpaper.light.png b/.wallpaper/light.png similarity index 100% rename from .wallpaper.light.png rename to .wallpaper/light.png