diff --git a/DankMaterialShell/settings.json b/DankMaterialShell/settings.json index 0aa73c1..189e3c9 100755 --- a/DankMaterialShell/settings.json +++ b/DankMaterialShell/settings.json @@ -223,7 +223,7 @@ "useAutoLocation": false, "weatherEnabled": true, "networkPreference": "wifi", - "iconTheme": "Tela-circle-black-light", + "iconTheme": "Tela-circle-black", "cursorSettings": { "theme": "System Default", "size": 18, @@ -428,7 +428,11 @@ "updaterCustomCommand": "", "updaterTerminalAdditionalParams": "", "displayNameMode": "system", - "screenPreferences": {}, + "screenPreferences": { + "wallpaper": [ + "all" + ] + }, "showOnLastDisplay": {}, "niriOutputSettings": {}, "hyprlandOutputSettings": {}, diff --git a/DankMaterialShell/theme.json b/DankMaterialShell/theme.json new file mode 100644 index 0000000..e69de29 diff --git a/DankMaterialShell/themes/-/theme.json b/DankMaterialShell/themes/-/theme.json new file mode 100644 index 0000000..e69de29 diff --git a/DankMaterialShell/themes/terminal-blue/theme.json b/DankMaterialShell/themes/terminal-blue/theme.json new file mode 100644 index 0000000..6ce1ac7 --- /dev/null +++ b/DankMaterialShell/themes/terminal-blue/theme.json @@ -0,0 +1,46 @@ +{ + "id": "terminal-mono", + "name": "terminal-mono", + "version": "1.0.0", + "author": "SDGDen", + "description": "white and black theme", + "dark": { + "primary": "#AAAAAA", + "primaryText": "#CCCCCC", + "primaryContainer": "#0000FF", + "secondary": "#AAAAAA", + "surface": "#0000FF", + "surfaceText": "#AAAAAA", + "surfaceVariant": "#0000FF", + "surfaceVariantText": "#AAAAAA", + "surfaceTint": "#0000FF", + "background": "#0000FF", + "backgroundText": "#AAAAAA", + "outline": "#0000FF", + "surfaceContainer": "#AAAAAA", + "surfaceContainerHigh": "#0000FF", + "error": "#FF0000", + "warning": "#FFFF00", + "info": "#00FFFF" + }, + "light": { + "primary": "#AAAAAA", + "primaryText": "#AAAAAA", + "primaryContainer": "#0000FF", + "secondary": "#AAAAAA", + "surface": "#0000FF", + "surfaceText": "#AAAAAA", + "surfaceVariant": "#0000FF", + "surfaceVariantText": "#AAAAAA", + "surfaceTint": "#0000FF", + "background": "#0000FF", + "backgroundText": "#AAAAAA", + "outline": "#AAAAAA", + "surfaceContainer": "#0000FF", + "surfaceContainerHigh": "#0000FF", + "error": "#FF0000", + "warning": "#FFFF00", + "info": "#00FFFF" + }, + "sourceDir": "terminal-mono" +} \ No newline at end of file diff --git a/DankMaterialShell/themes/terminal-mono/theme.json b/DankMaterialShell/themes/terminal-mono/theme.json new file mode 100644 index 0000000..6cc667c --- /dev/null +++ b/DankMaterialShell/themes/terminal-mono/theme.json @@ -0,0 +1,46 @@ +{ + "id": "terminal-mono", + "name": "terminal-mono", + "version": "1.0.0", + "author": "SDGDen", + "description": "white and black theme", + "dark": { + "primary": "#AAAAAA", + "primaryText": "#AAAAAA", + "primaryContainer": "#000000", + "secondary": "#AAAAAA", + "surface": "#000000", + "surfaceText": "#AAAAAA", + "surfaceVariant": "#000000", + "surfaceVariantText": "#AAAAAA", + "surfaceTint": "#000000", + "background": "#000000", + "backgroundText": "#AAAAAA", + "outline": "#AAAAAA", + "surfaceContainer": "#000000", + "surfaceContainerHigh": "#000000", + "error": "#FF0000", + "warning": "#FFFF00", + "info": "#00FFFF" + }, + "light": { + "primary": "#AAAAAA", + "primaryText": "#AAAAAA", + "primaryContainer": "#000000", + "secondary": "#AAAAAA", + "surface": "#000000", + "surfaceText": "#AAAAAA", + "surfaceVariant": "#000000", + "surfaceVariantText": "#AAAAAA", + "surfaceTint": "#000000", + "background": "#000000", + "backgroundText": "#AAAAAA", + "outline": "#AAAAAA", + "surfaceContainer": "#000000", + "surfaceContainerHigh": "#000000", + "error": "#FF0000", + "warning": "#FFFF00", + "info": "#00FFFF" + }, + "sourceDir": "terminal-mono" +} \ No newline at end of file diff --git a/DankMaterialShell/themes/terminal/theme.json b/DankMaterialShell/themes/terminal/theme.json new file mode 100644 index 0000000..556971b --- /dev/null +++ b/DankMaterialShell/themes/terminal/theme.json @@ -0,0 +1,46 @@ +{ + "id": "terminal", + "name": "terminal", + "version": "1.0.0", + "author": "SDGDen", + "description": "green and black theme", + "dark": { + "primary": "#00FF00", + "primaryText": "#00FF00", + "primaryContainer": "#000000", + "secondary": "#00FF00", + "surface": "#000000", + "surfaceText": "#00FF00", + "surfaceVariant": "#000000", + "surfaceVariantText": "#00FF00", + "surfaceTint": "#000000", + "background": "#000000", + "backgroundText": "#00FF00", + "outline": "#00FF00", + "surfaceContainer": "#000000", + "surfaceContainerHigh": "#000000", + "error": "#FF0000", + "warning": "#FFFF00", + "info": "#00FFFF" + }, + "light": { + "primary": "#00FF00", + "primaryText": "#00FF00", + "primaryContainer": "#000000", + "secondary": "#00FF00", + "surface": "#000000", + "surfaceText": "#00FF00", + "surfaceVariant": "#000000", + "surfaceVariantText": "#00FF00", + "surfaceTint": "#000000", + "background": "#000000", + "backgroundText": "#00FF00", + "outline": "#00FF00", + "surfaceContainer": "#000000", + "surfaceContainerHigh": "#000000", + "error": "#FF0000", + "warning": "#FFFF00", + "info": "#00FFFF" + }, + "sourceDir": "terminal" +} \ No newline at end of file diff --git a/ghostty/config.ghostty b/ghostty/config.ghostty index 914239f..067cdb5 100644 --- a/ghostty/config.ghostty +++ b/ghostty/config.ghostty @@ -6,7 +6,7 @@ command = /bin/zsh initial-command = /bin/zsh -c ~/.config/sdgos/fastfetch/fetch.sh && echo "" && ~/.config/sdgos/tips/tips.sh && echo "[SDG-OS Tips]: use the 'tipme' command for random tips" && echo "[SDG-OS Tips]: 'alltips' to see all tips in a searchable interface" && echo "[SDG-OS Tips]: 'tipme toggle' to toggle between normal mode and cowsay mode" && echo "[SDG-OS Tips]: or the SUPER+0 keybind to be notified of a random tip" && zsh -scrollback-limit = 999999 +scrollback-limit = 1048576000 link-url = true link-previews = true diff --git a/install.sh b/install.sh index b612986..82d14a0 100644 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ echo "installing pre-requisites" sudo pacman -Syu ghostty shelly firefox jp2a adw-gtk-theme yazi cava btop tela-circle-icon-theme-black dms-shell yay git wl-clipboard nautilus zsh-history-substring-search zsh-syntax-highlighting zsh-autosuggestions zsh-doc stow brightnessctl pipewire-pulse pipewire matugen adw-gtk-theme hyprshot grim satty code shelly zoxide zsh zsh-theme-powerlevel10k eza ttf-nerd-fonts-symbols-common ttf-nerd-fonts-symbols-mono ttf-nerd-fonts-symbols ttf-cascadia-code-nerd ttf-cascadia-mono-nerd ttf-terminus-nerd ttf-firacode-nerd ttf-ubuntu-nerd -yay -S mangowm-git dsearch-bin qt6ct-kde adwsteamgtk +yay -S mangowm-git dsearch-bin qt6ct-kde adwsteamgtk dcal WORKINGDIR=$(pwd) diff --git a/mango/autostart.conf b/mango/autostart.conf index 5ac95be..ca5ad23 100644 --- a/mango/autostart.conf +++ b/mango/autostart.conf @@ -1,5 +1,7 @@ # background processes + +exec-once=/usr/lib/xdg-desktop-portal -r -v ## update tealdeer/tldr exec-once=tldr --update ## start dsearch file indexer @@ -10,6 +12,10 @@ exec-once=systemctl --user start hyprpolkitagent exec-once=~/.config/sdgos/firstrun.sh ## start nautilus in the background exec-once=nautilus --gapplication-service +## dankcalendar +exec-once=dcal run -d --hidden + + ## start DankMaterial Shell exec-once=dms run diff --git a/mango/binds.conf b/mango/binds.conf index 23edff0..8a22915 100644 --- a/mango/binds.conf +++ b/mango/binds.conf @@ -12,6 +12,10 @@ bind=SUPER+ALT,C,restore_minimized #specific terminal scratchpad for a quick access terminal bind=SUPER+ALT,SPACE,toggle_named_scratchpad,com.mitchellh.ghostty,scratchpad-term,ghostty +new-window --title="scratchpad-term" && sleep 0.2 && mmsg dispatch toggle_named_scratchpad,com.mitchellh.ghostty,scratchpad-term,ghostty +new-window --title="scratchpad-term" + + + + ##! window management bind=SUPER,T,togglefloating, # float/unfloat active window bind=SUPER,F,togglefullscreen, # fullscreen active window @@ -20,7 +24,9 @@ bind=SUPER,Q,killclient, # Close active window bind=SUPER+SHIFT,Q,quit, # Exit mango bind=SUPER+SHIFT,P,toggleoverlay, # toggle overlay mode bind=SUPER,P,toggleglobal -bind=ALT,TAB,toggleoverview +bind=ALT,TAB,togglejump +bind=CTRL,TAB,spawn_shell,mmsg dispatch setoption,ov_tab_mode,0 && mmsg dispatch togglejump && sleep 3 && mmsg dispatch setoption,ov_tab_mode,1 # toggle overview +#bindr=CTRL,TAB,spawn_shell,mmsg dispatch setoption,ov_tab_mode,1 bind=SUPER,A,spawn_shell,~/.config/sdgos/misc/layoutbutton.sh # special layout toggle bind=SUPER+SHIFT,A,switch_layout @@ -42,6 +48,7 @@ bind=SUPER,M,spawn_shell,ghostty -e ~/.config/sdgos/mango-config.sh # show mango bind=SUPER+ALT,M,spawn_shell,ghostty -e ~/.config/sdgos/config-overview/menu.sh # mango config explainer menu bind=SUPER+SHIFT,W,spawn_shell,ghostty --title="Floating-Menu" -e ~/.config/sdgos/tuis/layout-switch.sh # switch between layouts on the current workspace bind=SUPER+SHIFT,D,spawn_shell,ghostty --title="Floating-Menu" -e ~/.config/sdgos/tuis/bar-presets.sh # switch bar presets +bind=SUPER+ALT,T,spawn_shell,ghostty --title="Floating-Menu" -e ~/.config/sdgos/misc/colors.sh # show dank palette colors ###! wallpapers bind=ALT,W,spawn_shell,dms ipc call wallpaper next # next wallpaper diff --git a/mango/config.conf b/mango/config.conf index 9af49c0..5d69fc2 100644 --- a/mango/config.conf +++ b/mango/config.conf @@ -7,6 +7,7 @@ source=~/.config/mango/input.conf source=~/.config/mango/layouts.conf source=~/.config/mango/monitors.conf source=~/.config/mango/windowrules.conf +source=~/.config/mango/matugen.conf source=~/.config/mango/dms/colors.conf source=~/.config/mango/dms/layout.conf source=~/.config/mango/dms/outputs.conf diff --git a/mango/decoration.conf b/mango/decoration.conf index b26afd9..7c8b0a3 100644 --- a/mango/decoration.conf +++ b/mango/decoration.conf @@ -56,3 +56,19 @@ borderpx=2 bordercolor=0x88aaad82 focuscolor=0x33ccffee +rootcolor=0x1f232bff + + +# tab bar +tab_bar_decorate_border_width = 2 +tab_bar_decorate_corner_radius = 10 +tab_bar_decorate_padding_x = 3 +tab_bar_decorate_padding_y = 3 +tab_bar_decorate_font_desc = CaskaydiaCove NFM 10 + +# jump mode +jump_label_decorate_border_width = 2 +jump_label_decorate_corner_radius = 10 +jump_label_decorate_padding_x = 6 +jump_label_decorate_padding_y = 6 +jump_label_decorate_font_desc = CaskaydiaCove NFM 20 \ No newline at end of file diff --git a/mango/environment.conf b/mango/environment.conf index d040c52..813e11f 100644 --- a/mango/environment.conf +++ b/mango/environment.conf @@ -1,7 +1,8 @@ # XDG Desktop Portal env=XDG_CURRENT_DESKTOP,wlroots env=XDG_SESSION_TYPE,wayland -env=XDG_SESSION_DESKTOP,SDG-OS +env=XDG_SESSION_DESKTOP,wlroots +env=XDG_SESSION_CLASS,user # QT env=QT_QPA_PLATFORM,wayland;xcb @@ -12,6 +13,7 @@ env=QT_AUTO_SCREEN_SCALE_FACTOR,1 # GTK env=GDK_SCALE,1 +#env=GTK_THEME,adw-gtk3-dark # Mozilla env=MOZ_ENABLE_WAYLAND,1 diff --git a/mango/layouts.conf b/mango/layouts.conf index 61b8fdc..a8d6115 100644 --- a/mango/layouts.conf +++ b/mango/layouts.conf @@ -1,6 +1,8 @@ circle_layout=dwindle,scroller,vertical_scroller,center_tile,tile +tab_bar_height = 25 + # Scroller Layout Setting scroller_structs=20 scroller_default_proportion=0.8 diff --git a/mango/matugen.conf b/mango/matugen.conf new file mode 100644 index 0000000..a0bc60b --- /dev/null +++ b/mango/matugen.conf @@ -0,0 +1,22 @@ +#background +rootcolor = 0x0d141cff + +#borders +maximizescreencolor = 0xb8c6eaff +scratchpadcolor = 0xbfc2faff +globalcolor = 0xb8c6eaff +overlaycolor = 0x3e4372ff + +#jump mode +jump_label_decorate_fg_color = 0x9bcaffff +jump_label_decorate_bg_color = 0x0d141cff +jump_label_decorate_focus_fg_color = 0xbfc2faff +jump_label_decorate_focus_bg_color = 0x414750ff +jump_label_decorate_border_color = 0x9bcaffff + +#monocle tabs +tab_bar_decorate_fg_color = 0x9bcaffff +tab_bar_decorate_bg_color = 0x0d141cff +tab_bar_decorate_focus_fg_color = 0xbfc2faff +tab_bar_decorate_focus_bg_color = 0x414750ff +tab_bar_decorate_border_color = 0x9bcaffff diff --git a/mango/windowrules.conf b/mango/windowrules.conf index f8da3ef..999cc15 100644 --- a/mango/windowrules.conf +++ b/mango/windowrules.conf @@ -5,5 +5,4 @@ windowrule=appid:firefox,focused_opacity:0.95,unfocused_opacity:0.85 windowrule=appid:virt-manager,focused_opacity:1,unfocused_opacity:1 # fix some issues with warframe not capturing mouse. -allow_tearing=2 -windowrule=appid:broken,focused_opacity:1,unfocused_opacity:1,force_tearing:1,isfullscreen:1,monitor:HDMI-A-1 \ No newline at end of file +windowrule=appid:broken,focused_opacity:1,unfocused_opacity:1,isfullscreen:1,monitor:HDMI-A-1 \ No newline at end of file diff --git a/matugen/config.toml b/matugen/config.toml index af20502..207bd98 100755 --- a/matugen/config.toml +++ b/matugen/config.toml @@ -70,7 +70,15 @@ post_hook = 'adwaita-steam-gtk -i || true' input_path = '~/.config/matugen/templates/InioX/obsidian.css' output_path = '~/.config/matugen/templates-out/obsidian.css' +[templates.mangocolors] +input_path = '~/.config/matugen/templates/InioX/mango.conf' +output_path = '~/.config/mango/matugen.conf' + [templates.monocle] input_path = '~/.config/matugen/templates/InioX/colors.css' -output_path = '~/.config/sdgos/monocle/colors.css' \ No newline at end of file +output_path = '~/.config/sdgos/monocle/colors.css' + +[templates.caffyne] +input_path = '~/.config/caffyne-shell/matugen/caffyne-shell-colors.css' +output_path = '~/.config/caffyne-shell/style/colors.css' diff --git a/matugen/templates/InioX/mango.conf b/matugen/templates/InioX/mango.conf index 3a1161e..4e44110 100644 --- a/matugen/templates/InioX/mango.conf +++ b/matugen/templates/InioX/mango.conf @@ -1,15 +1,22 @@ -rootcolor={{colors.background.dark.hex_stripped}}ff +#background +rootcolor = 0x{{colors.background.default.hex_stripped}}ff -bordercolor={{colors.outline_variant.dark.hex_stripped}}ff +#borders +maximizescreencolor = 0x{{colors.secondary.default.hex_stripped}}ff +scratchpadcolor = 0x{{colors.tertiary.default.hex_stripped}}ff +globalcolor = 0x{{colors.secondary.default.hex_stripped}}ff +overlaycolor = 0x{{colors.tertiary_container.default.hex_stripped}}ff -focuscolor={{colors.primary_container.dark.hex_stripped}}ff +#jump mode +jump_label_decorate_fg_color = 0x{{colors.primary.default.hex_stripped}}ff +jump_label_decorate_bg_color = 0x{{colors.surface.default.hex_stripped}}ff +jump_label_decorate_focus_fg_color = 0x{{colors.tertiary.default.hex_stripped}}ff +jump_label_decorate_focus_bg_color = 0x{{colors.surface_variant.default.hex_stripped}}ff +jump_label_decorate_border_color = 0x{{colors.primary.default.hex_stripped}}ff -maximizescreencolor={{colors.secondary.dark.hex_stripped}}ff - -urgentcolor={{colors.error.dark.hex_stripped}}ff - -scratchpadcolor={{colors.tertiary.dark.hex_stripped}}ff - -globalcolor={{colors.secondary_container.dark.hex_stripped}}ff - -overlaycolor={{colors.tertiary_container.dark.hex_stripped}}ff +#monocle tabs +tab_bar_decorate_fg_color = 0x{{colors.primary.default.hex_stripped}}ff +tab_bar_decorate_bg_color = 0x{{colors.surface.default.hex_stripped}}ff +tab_bar_decorate_focus_fg_color = 0x{{colors.tertiary.default.hex_stripped}}ff +tab_bar_decorate_focus_bg_color = 0x{{colors.surface_variant.default.hex_stripped}}ff +tab_bar_decorate_border_color = 0x{{colors.primary.default.hex_stripped}}ff diff --git a/matugen/templates/colors.json b/matugen/templates/colors.json index 25f80e8..9eebd39 100755 --- a/matugen/templates/colors.json +++ b/matugen/templates/colors.json @@ -48,4 +48,5 @@ "tertiary_container": "{{colors.tertiary_container.default.hex}}", "tertiary_fixed": "{{colors.tertiary_fixed.default.hex}}", "tertiary_fixed_dim": "{{colors.tertiary_fixed_dim.default.hex}}" + } diff --git a/matugen/templates/temp b/matugen/templates/temp new file mode 100644 index 0000000..32889d9 --- /dev/null +++ b/matugen/templates/temp @@ -0,0 +1,65 @@ +primary_light={{colors.primary.light.hex_stripped}} +on_primary_light={{colors.on_primary.light.hex_stripped}} +primary_container_light={{colors.primary_container.light.hex_stripped}} +on_primary_container_light={{colors.on_primary_container.light.hex_stripped}} +inverse_primary_light={{colors.inverse_primary.light.hex_stripped}} +primary_fixed_light={{colors.primary_fixed.light.hex_stripped}} +primary_fixed_dim_light={{colors.primary_fixed_dim.light.hex_stripped}} +on_primary_fixed_light={{colors.on_primary_fixed.light.hex_stripped}} +on_primary_fixed_variant_light={{colors.on_primary_fixed_variant.light.hex_stripped}} +secondary_light={{colors.secondary.light.hex_stripped}} +on_secondary_light={{colors.on_secondary.light.hex_stripped}} +secondary_container_light={{colors.secondary_container.light.hex_stripped}} +on_secondary_container_light={{colors.on_secondary_container.light.hex_stripped}} +secondary_fixed_light={{colors.secondary_fixed_light.light.hex_stripped}} +on_secondary_fixed_light={{colors.on_secondary_fixed.light.hex_stripped}} +on_secondary_fixed_variant_light={{colors.on_secondary_fixed_variant.light.hex_stripped}} +tertiary_light={{colors.tertiary.light.hex_stripped}} +on_tertiary_light={{colors.on_tertiary.light.hex_stripped}} +tertiary_container_light={{colors.tertiary_container.light.hex_stripped}} +on_tertiary_container_light={{colors.on_tertiary_container.light.hex_stripped}} +tertiary_fixed_light={{colors.tertiary_fixed.light.hex_stripped}} +tertiary_fixed_dim_light={{colors.tertiary_fixed_dim.light.hex_stripped}} +on_tertiary_fixed_light={{colors.on_tertiary_fixed.light.hex_stripped}} +source_color_light={{colors.source_color.light.hex_stripped}} +error_light={{colors.error.light.hex_stripped}} +on_error_light={{colors.on_error.light.hex_stripped}} +error_container_light={{colors.error_container.light.hex_stripped}} +on_error_container_light={{colors.on_error_container.light.hex_stripped}} +surface_dim_light={{colors.surface_dim.light.hex_stripped}} +surface_light={{colors.surface.light.hex_stripped}} +surface_bright_light={{colors.surface_bright.light.hex_stripped}} +surface_container_lowest_light={{colors.surface_container_lowest.light.hex_stripped}} +surface_container_low_light={{colors.surface_container_low.light.hex_stripped}} +surface_container_light={{colors.surface_container.light.hex_stripped}} +surface_container_high_light={{colors.surface_container_high.light.hex_stripped}} +surface_container_highest_light={{colors.surface_container_highest.light.hex_stripped}} +on_surface_light={{colors.on_surface.light.hex_stripped}} +on_surface_variant_light={{colors.on_surface_variant.light.hex_stripped}} +outline_light={{colors.outline.light.hex_stripped}} +outline_variant_light={{colors.outline_variant.light.hex_stripped}} +inverse_surface_light={{colors.inverse_surface.light.hex_stripped}} +inverse_on_surface_light={{colors.inverse_on_surface.light.hex_stripped}} +surface_variant_light={{colors.surface_variant.light.hex_stripped}} +background_light={{colors.background.light.hex_stripped}} +on_background_light={{colors.on_background.light.hex_stripped}} +shadow_light={{colors.shadow.light.hex_stripped}} +scrim_light={{colors.scrim.light.hex_stripped}} +on_tertiary_fixed_variant_light={{colors.on_tertiary_fixed_variant.light.hex_stripped}} + +d16_color0_light={{dank16.color0.light.hex_stripped}} +d16_color1_light={{dank16.color1.light.hex_stripped}} +d16_color2_light={{dank16.color2.light.hex_stripped}} +d16_color3_light={{dank16.color3.light.hex_stripped}} +d16_color4_light={{dank16.color4.light.hex_stripped}} +d16_color5_light={{dank16.color5.light.hex_stripped}} +d16_color6_light={{dank16.color6.light.hex_stripped}} +d16_color7_light={{dank16.color7.light.hex_stripped}} +d16_color8_light={{dank16.color8.light.hex_stripped}} +d16_color9_light={{dank16.color9.light.hex_stripped}} +d16_color10_light={{dank16.color10.light.hex_stripped}} +d16_color11_light={{dank16.color11.light.hex_stripped}} +d16_color12_light={{dank16.color12.light.hex_stripped}} +d16_color13_light={{dank16.color13.light.hex_stripped}} +d16_color14_light={{dank16.color14.light.hex_stripped}} +d16_color15_light={{dank16.color15.light.hex_stripped}} \ No newline at end of file diff --git a/sdgos/misc/colors.sh b/sdgos/misc/colors.sh new file mode 100755 index 0000000..65758fb --- /dev/null +++ b/sdgos/misc/colors.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +file="$HOME/.local/state/quickshell/user/generated/colors.json" + +jq -r 'to_entries[] | "\(.key) \(.value)"' "$file" | +while read -r name hex; do + hex="${hex#\#}" + + r=$((16#${hex:0:2})) + g=$((16#${hex:2:2})) + b=$((16#${hex:4:2})) + + printf "%-30s " "$name" + printf "\e[48;2;%d;%d;%dm \e[0m " "$r" "$g" "$b" + printf "%s\n" "#$hex" +done +read -n 1 \ No newline at end of file diff --git a/sdgos/monocle/config b/sdgos/monocle/config index b30e049..a2698e0 100644 --- a/sdgos/monocle/config +++ b/sdgos/monocle/config @@ -2,7 +2,7 @@ "layer": "top", "position": "bottom", "fixed-center": "true", - "output": "DP-2", + "output": "HDMI-A-1", "margin-top": 0, "margin-bottom": 0, "margin-left": 0, diff --git a/sdgos/p10k.zsh b/sdgos/p10k.zsh index 58bee15..91dc5d5 100644 --- a/sdgos/p10k.zsh +++ b/sdgos/p10k.zsh @@ -984,7 +984,7 @@ # Don't show context unless running with privileges or in SSH. # Tip: Remove the next line to always show context. - typeset -g POWERLEVEL9K_CONTEXT_{DEFAULT,SUDO}_{CONTENT,VISUAL_IDENTIFIER}_EXPANSION= + #typeset -g POWERLEVEL9K_CONTEXT_{DEFAULT,SUDO}_{CONTENT,VISUAL_IDENTIFIER}_EXPANSION= # Custom icon. # typeset -g POWERLEVEL9K_CONTEXT_VISUAL_IDENTIFIER_EXPANSION='⭐' diff --git a/sdgos/tuis/layout-switch.sh b/sdgos/tuis/layout-switch.sh index 8671c32..d1a6a2c 100755 --- a/sdgos/tuis/layout-switch.sh +++ b/sdgos/tuis/layout-switch.sh @@ -9,7 +9,7 @@ CMD=$(cat ~/.config/sdgos/tuis/layouts.list | grep -e "$SELECTED" | cut -d '|' - eval $CMD -if [[ "$SELECTED" == "Monocle " ]] || [[ "$SELECTED" == "Deck - horizontal " ]] || [[ "$SELECTED" == "Deck - vertical " ]]; then +if [[ "$SELECTED" == "Deck - horizontal " ]] || [[ "$SELECTED" == "Deck - vertical " ]]; then pkill -9 waybar mmsg dispatch spawn_shell,'waybar -c ~/.config/sdgos/monocle/config -s ~/.config/sdgos/monocle/style.css' else diff --git a/sdgos/zshrc b/sdgos/zshrc index 6d876ec..e6ddc32 100755 --- a/sdgos/zshrc +++ b/sdgos/zshrc @@ -5,6 +5,8 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" fi + + # Path to your oh-my-zsh installation. export ZSH="/usr/share/oh-my-zsh" diff --git a/update.sh b/update.sh index 98409fd..c364bad 100644 --- a/update.sh +++ b/update.sh @@ -7,9 +7,9 @@ git pull echo "re-installing/updating pre-requisites" -sudo pacman -Syu ghostty shelly firefox dms-shell jp2a yay git adwsteamgtk yazi cava btop tela-circle-icon-theme-black wl-clipboard nautilus zsh-history-substring-search zsh-syntax-highlighting zsh-autosuggestions zsh-doc stow brightnessctl pipewire-pulse pipewire matugen adw-gtk-theme hyprshot grim satty code shelly zoxide zsh zsh-theme-powerlevel10k eza ttf-nerd-fonts-symbols-common ttf-nerd-fonts-symbols-mono ttf-nerd-fonts-symbols ttf-cascadia-code-nerd ttf-cascadia-mono-nerd ttf-terminus-nerd ttf-firacode-nerd ttf-ubuntu-nerd +sudo pacman -Syu ghostty shelly firefox dms-shell jp2a yay git yazi cava btop tela-circle-icon-theme-black wl-clipboard nautilus zsh-history-substring-search zsh-syntax-highlighting zsh-autosuggestions zsh-doc stow brightnessctl pipewire-pulse pipewire matugen adw-gtk-theme hyprshot grim satty code shelly zoxide zsh zsh-theme-powerlevel10k eza ttf-nerd-fonts-symbols-common ttf-nerd-fonts-symbols-mono ttf-nerd-fonts-symbols ttf-cascadia-code-nerd ttf-cascadia-mono-nerd ttf-terminus-nerd ttf-firacode-nerd ttf-ubuntu-nerd -yay -S mangowm-git dsearch-bin adwsteamgtk +yay -S mangowm-git dsearch-bin adwsteamgtk dcal qt6ct-kde WORKINGDIR=$(pwd)