fix spot
This commit is contained in:
parent
4535f8ac86
commit
792b0cce2b
@ -276,9 +276,9 @@ focused_match = { foreground = "#181818", background = "#f4bf75" }
|
||||
# colors hints
|
||||
# This section documents the [colors.hints] table of the configuration.
|
||||
|
||||
[colors.hints]
|
||||
start = { foreground = "#181818", background = "#f4bf75" }
|
||||
end = { foreground = "#181818", background = "#ac4242" }
|
||||
#[colors.hints]
|
||||
#start = { foreground = "#181818", background = "#f4bf75" }
|
||||
#end = { foreground = "#181818", background = "#ac4242" }
|
||||
|
||||
# start = { foreground = "<string>", background = "<string>" }
|
||||
# First character in the hint label.
|
||||
@ -308,29 +308,29 @@ end = { foreground = "#181818", background = "#ac4242" }
|
||||
# This section documents the [colors.normal] table of the configuration.
|
||||
# Defaults from Alacritty.org used.
|
||||
|
||||
[colors.normal]
|
||||
black = "#181818"
|
||||
red = "#ac4242"
|
||||
green = "#90a959"
|
||||
yellow = "#f4bf75"
|
||||
blue = "#6a9fb5"
|
||||
magenta = "#aa759f"
|
||||
cyan = "#75b5aa"
|
||||
white = "#d8d8d8"
|
||||
|
||||
# bright
|
||||
# This section documents the [colors.bright] table of the configuration.
|
||||
# Defaults from Alacritty.org used.
|
||||
|
||||
[colors.bright]
|
||||
black = "#6b6b6b"
|
||||
red = "#c55555"
|
||||
green = "#aac474"
|
||||
yellow = "#feca88"
|
||||
blue = "#82b8c8"
|
||||
magenta = "#c28cb8"
|
||||
cyan = "#93d3c3"
|
||||
white = "#f8f8f8"
|
||||
#[colors.normal]
|
||||
#black = "#181818"
|
||||
#red = "#ac4242"
|
||||
#green = "#90a959"
|
||||
#yellow = "#f4bf75"
|
||||
#blue = "#6a9fb5"
|
||||
#magenta = "#aa759f"
|
||||
#cyan = "#75b5aa"
|
||||
#white = "#d8d8d8"
|
||||
#
|
||||
## bright
|
||||
## This section documents the [colors.bright] table of the configuration.
|
||||
## Defaults from Alacritty.org used.
|
||||
#
|
||||
#[colors.bright]
|
||||
#black = "#6b6b6b"
|
||||
#red = "#c55555"
|
||||
#green = "#aac474"
|
||||
#yellow = "#feca88"
|
||||
#blue = "#82b8c8"
|
||||
#magenta = "#c28cb8"
|
||||
#cyan = "#93d3c3"
|
||||
#white = "#f8f8f8"
|
||||
|
||||
|
||||
# dim
|
||||
@ -348,7 +348,36 @@ magenta = "#704d68"
|
||||
cyan = "#4d7770"
|
||||
white = "#8e8e8e"
|
||||
|
||||
## Cobalt2 theme
|
||||
[colors.primary]
|
||||
background = '#122637'
|
||||
foreground = '#ffffff'
|
||||
|
||||
[colors.cursor]
|
||||
text = '#122637'
|
||||
cursor = '#f0cb09'
|
||||
|
||||
# Normal colors
|
||||
[colors.normal]
|
||||
black = '#000000'
|
||||
red = '#ff0000'
|
||||
green = '#37dd21'
|
||||
yellow = '#fee409'
|
||||
blue = '#1460d2'
|
||||
magenta = '#ff005d'
|
||||
cyan = '#00bbbb'
|
||||
white = '#bbbbbb'
|
||||
|
||||
# Bright colors
|
||||
[colors.bright]
|
||||
black = '#545454'
|
||||
red = '#f40d17'
|
||||
green = '#3bcf1d'
|
||||
yellow = '#ecc809'
|
||||
blue = '#5555ff'
|
||||
magenta = '#ff55ff'
|
||||
cyan = '#6ae3f9'
|
||||
white = '#ffffff'
|
||||
# BELL
|
||||
# This section documents the [bell] table of the configuration file.
|
||||
|
||||
@ -466,7 +495,7 @@ thickness = 0.15
|
||||
# ]
|
||||
|
||||
[mouse]
|
||||
hide_when_typing = true
|
||||
hide_when_typing = false
|
||||
|
||||
|
||||
# HINTS
|
||||
|
@ -276,9 +276,9 @@ focused_match = { foreground = "#181818", background = "#f4bf75" }
|
||||
# colors hints
|
||||
# This section documents the [colors.hints] table of the configuration.
|
||||
|
||||
[colors.hints]
|
||||
start = { foreground = "#181818", background = "#f4bf75" }
|
||||
end = { foreground = "#181818", background = "#ac4242" }
|
||||
#[colors.hints]
|
||||
#start = { foreground = "#181818", background = "#f4bf75" }
|
||||
#end = { foreground = "#181818", background = "#ac4242" }
|
||||
|
||||
# start = { foreground = "<string>", background = "<string>" }
|
||||
# First character in the hint label.
|
||||
@ -308,29 +308,29 @@ end = { foreground = "#181818", background = "#ac4242" }
|
||||
# This section documents the [colors.normal] table of the configuration.
|
||||
# Defaults from Alacritty.org used.
|
||||
|
||||
[colors.normal]
|
||||
black = "#181818"
|
||||
red = "#ac4242"
|
||||
green = "#90a959"
|
||||
yellow = "#f4bf75"
|
||||
blue = "#6a9fb5"
|
||||
magenta = "#aa759f"
|
||||
cyan = "#75b5aa"
|
||||
white = "#d8d8d8"
|
||||
|
||||
# bright
|
||||
# This section documents the [colors.bright] table of the configuration.
|
||||
# Defaults from Alacritty.org used.
|
||||
|
||||
[colors.bright]
|
||||
black = "#6b6b6b"
|
||||
red = "#c55555"
|
||||
green = "#aac474"
|
||||
yellow = "#feca88"
|
||||
blue = "#82b8c8"
|
||||
magenta = "#c28cb8"
|
||||
cyan = "#93d3c3"
|
||||
white = "#f8f8f8"
|
||||
#[colors.normal]
|
||||
#black = "#181818"
|
||||
#red = "#ac4242"
|
||||
#green = "#90a959"
|
||||
#yellow = "#f4bf75"
|
||||
#blue = "#6a9fb5"
|
||||
#magenta = "#aa759f"
|
||||
#cyan = "#75b5aa"
|
||||
#white = "#d8d8d8"
|
||||
#
|
||||
## bright
|
||||
## This section documents the [colors.bright] table of the configuration.
|
||||
## Defaults from Alacritty.org used.
|
||||
#
|
||||
#[colors.bright]
|
||||
#black = "#6b6b6b"
|
||||
#red = "#c55555"
|
||||
#green = "#aac474"
|
||||
#yellow = "#feca88"
|
||||
#blue = "#82b8c8"
|
||||
#magenta = "#c28cb8"
|
||||
#cyan = "#93d3c3"
|
||||
#white = "#f8f8f8"
|
||||
|
||||
|
||||
# dim
|
||||
@ -348,7 +348,36 @@ magenta = "#704d68"
|
||||
cyan = "#4d7770"
|
||||
white = "#8e8e8e"
|
||||
|
||||
## Cobalt2 theme
|
||||
[colors.primary]
|
||||
background = '#122637'
|
||||
foreground = '#ffffff'
|
||||
|
||||
[colors.cursor]
|
||||
text = '#122637'
|
||||
cursor = '#f0cb09'
|
||||
|
||||
# Normal colors
|
||||
[colors.normal]
|
||||
black = '#000000'
|
||||
red = '#ff0000'
|
||||
green = '#37dd21'
|
||||
yellow = '#fee409'
|
||||
blue = '#1460d2'
|
||||
magenta = '#ff005d'
|
||||
cyan = '#00bbbb'
|
||||
white = '#bbbbbb'
|
||||
|
||||
# Bright colors
|
||||
[colors.bright]
|
||||
black = '#545454'
|
||||
red = '#f40d17'
|
||||
green = '#3bcf1d'
|
||||
yellow = '#ecc809'
|
||||
blue = '#5555ff'
|
||||
magenta = '#ff55ff'
|
||||
cyan = '#6ae3f9'
|
||||
white = '#ffffff'
|
||||
# BELL
|
||||
# This section documents the [bell] table of the configuration file.
|
||||
|
||||
@ -466,7 +495,7 @@ thickness = 0.15
|
||||
# ]
|
||||
|
||||
[mouse]
|
||||
hide_when_typing = true
|
||||
hide_when_typing = false
|
||||
|
||||
|
||||
# HINTS
|
||||
@ -922,10 +951,10 @@ hide_when_typing = true
|
||||
|
||||
|
||||
[shell]
|
||||
program="/opt/homebrew/bin/tmux"
|
||||
args=['new-session', '-A', '-s', 'default']
|
||||
program="/usr/bin/tmux"
|
||||
|
||||
[font]
|
||||
normal = { family = "Hack Nerd Font Mono" }
|
||||
normal = { family = "DejaVu Sans Mono", style = "Normal" }
|
||||
size = 13
|
||||
builtin_box_drawing = true
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
"iot_environment": "3",
|
||||
"keyboard_supported": "none/alt/control/shift",
|
||||
"language": "en_US",
|
||||
"last_backup_path": "/tmp/orcaslicer_model/Mon_Aug_19/08_22_22#205097#57",
|
||||
"last_backup_path": "/tmp/orcaslicer_model/Tue_Aug_20/09_43_46#401088#55",
|
||||
"last_export_path": "/home/errol/m12drill",
|
||||
"log_severity_level": "warning",
|
||||
"max_recent_count": "18",
|
||||
@ -76,7 +76,7 @@
|
||||
"user_mode": "advanced",
|
||||
"version": "01.09.03.50",
|
||||
"window_layout": "layout2|name=sidebar;caption=;state=1996;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=504;besth=1080;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=main;caption=;state=256;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=20;besth=20;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(5,0,0)=20|dock_size(4,0,0)=506|",
|
||||
"window_mainframe": "712; 290; 2120; 996; 0",
|
||||
"window_mainframe": "552; 391; 2482; 1341; 0",
|
||||
"zoom_to_mouse": false,
|
||||
"zoom_view": "none/mouse left"
|
||||
},
|
||||
@ -252,28 +252,28 @@
|
||||
"timelapse": "1"
|
||||
},
|
||||
"recent": {
|
||||
"last_opened_folder": "/home/errol/Downloads/3D Prints/Gridfinity",
|
||||
"last_opened_folder": "/home/errol/Downloads/3D Prints/Soil Sensor/Capacitive Soil Moisture Sensor with ESP8266 - 4142773/files",
|
||||
"printhost_path": "",
|
||||
"settings_folder": "/home/errol/Downloads/3D Prints/Toolbox"
|
||||
},
|
||||
"recent_projects": {
|
||||
"01": "/home/errol/Downloads/3D Prints/Toolbox/gridfinity white toolbox.3mf",
|
||||
"02": "/home/errol/gridfinity white toolbox.3mf",
|
||||
"03": "/home/errol/Downloads/3D Prints/Toolbox/ToolboxGridfinity.3mf",
|
||||
"04": "/home/errol/Downloads/3D Prints/Baby_Step_Z_rectangle.stl",
|
||||
"05": "/home/errol/Downloads/3D Prints/z-height-test-pla-abs-petg.stl",
|
||||
"06": "/home/errol/Downloads/3D Prints/dresser_drawer_glide.stl",
|
||||
"07": "/home/errol/Downloads/3D Prints/k1-k1max-eddy-current-mount-cartographer-model_files/K1 Cartographer v9 (TL).3mf",
|
||||
"08": "/home/errol/Downloads/3D Prints/cartographer.3mf",
|
||||
"09": "/home/errol/Downloads/3D Prints/Multiboard/MultiBoard.3mf",
|
||||
"10": "/home/errol/Downloads/3D Prints/Filament Swatch Holder (w.Box) - 3562775/files/filaswatch_L_nf.3mf",
|
||||
"11": "/home/errol/Downloads/3D Prints/Filament Swatch Holder (w.Box) - 3562775/files/filaswatch_L_nf.stl",
|
||||
"12": "/home/errol/Downloads/3D Prints/Multiboard/multiboard_parametric.3mf",
|
||||
"13": "/home/errol/Downloads/3D Prints/Multiboard/multiboard_parametric.stl",
|
||||
"14": "/home/errol/Downloads/3D Prints/Garage/GarageStuff.3mf",
|
||||
"15": "/home/errol/Downloads/3D Prints/Toolbox/modular-wrenchtoolbox-organizers-model_files/modular-wrench-holder-3-sizes.3mf",
|
||||
"16": "/home/errol/Downloads/3D Prints/Toolbox/7-set-variations-imperial-14-drive-socket-holders-gridfinity-model_files/1_4-imperial-impact-socket-11pc-left.stl",
|
||||
"17": "/home/errol/Downloads/screwdriver_rack.3mf",
|
||||
"18": "/home/errol/Downloads/f8b2986208c975496afdd43553838fb6639b2bf5.3mf"
|
||||
"01": "/home/errol/Downloads/3D Prints/Soil Sensor/Capacitive Soil Moisture Sensor with ESP8266 - 4142773/files/Soil_Base.stl",
|
||||
"02": "/home/errol/Downloads/3D Prints/Toolbox/gridfinity white toolbox.3mf",
|
||||
"03": "/home/errol/gridfinity white toolbox.3mf",
|
||||
"04": "/home/errol/Downloads/3D Prints/Toolbox/ToolboxGridfinity.3mf",
|
||||
"05": "/home/errol/Downloads/3D Prints/Baby_Step_Z_rectangle.stl",
|
||||
"06": "/home/errol/Downloads/3D Prints/z-height-test-pla-abs-petg.stl",
|
||||
"07": "/home/errol/Downloads/3D Prints/dresser_drawer_glide.stl",
|
||||
"08": "/home/errol/Downloads/3D Prints/k1-k1max-eddy-current-mount-cartographer-model_files/K1 Cartographer v9 (TL).3mf",
|
||||
"09": "/home/errol/Downloads/3D Prints/cartographer.3mf",
|
||||
"10": "/home/errol/Downloads/3D Prints/Multiboard/MultiBoard.3mf",
|
||||
"11": "/home/errol/Downloads/3D Prints/Filament Swatch Holder (w.Box) - 3562775/files/filaswatch_L_nf.3mf",
|
||||
"12": "/home/errol/Downloads/3D Prints/Filament Swatch Holder (w.Box) - 3562775/files/filaswatch_L_nf.stl",
|
||||
"13": "/home/errol/Downloads/3D Prints/Multiboard/multiboard_parametric.3mf",
|
||||
"14": "/home/errol/Downloads/3D Prints/Multiboard/multiboard_parametric.stl",
|
||||
"15": "/home/errol/Downloads/3D Prints/Garage/GarageStuff.3mf",
|
||||
"16": "/home/errol/Downloads/3D Prints/Toolbox/modular-wrenchtoolbox-organizers-model_files/modular-wrench-holder-3-sizes.3mf",
|
||||
"17": "/home/errol/Downloads/3D Prints/Toolbox/7-set-variations-imperial-14-drive-socket-holders-gridfinity-model_files/1_4-imperial-impact-socket-11pc-left.stl",
|
||||
"18": "/home/errol/Downloads/screwdriver_rack.3mf"
|
||||
}
|
||||
}
|
||||
|
@ -53,6 +53,14 @@
|
||||
"ecode": "0300801B",
|
||||
"intro": "Nozzle temperature problem detected. Refer to the Assistant to re-connect the hotend connector. POWER OFF the printer before this operation to avoid a short circuit."
|
||||
},
|
||||
{
|
||||
"ecode": "03004005",
|
||||
"intro": "The hotend cooling fan speed is abnormal."
|
||||
},
|
||||
{
|
||||
"ecode": "03008010",
|
||||
"intro": "The hotend cooling fan speed is abnormal."
|
||||
},
|
||||
{
|
||||
"ecode": "05024001",
|
||||
"intro": "Current filament will be used in this print job. Settings cannot be changed."
|
||||
@ -117,10 +125,6 @@
|
||||
"ecode": "1000C001",
|
||||
"intro": "High bed temperature may lead to filament clogging in the nozzle. You may open the chamber door."
|
||||
},
|
||||
{
|
||||
"ecode": "03008010",
|
||||
"intro": "The hotend fan speed is abnormal."
|
||||
},
|
||||
{
|
||||
"ecode": "12008006",
|
||||
"intro": "Unable to feed filament into the extruder. This could be due to entangled filament or a stuck spool. If not, please check if the AMS PTFE tube is connected."
|
||||
@ -357,10 +361,6 @@
|
||||
"ecode": "03008016",
|
||||
"intro": "The nozzle is clogged up with filaments. Please cancel this printing and clean the nozzle according to the actual status, or tap \"Resume\" button to resume the print job."
|
||||
},
|
||||
{
|
||||
"ecode": "03004005",
|
||||
"intro": "The nozzle fan speed is abnormal."
|
||||
},
|
||||
{
|
||||
"ecode": "0300400F",
|
||||
"intro": "No build plate is placed."
|
||||
@ -1090,10 +1090,62 @@
|
||||
"intro": "Heatbed temperature malfunction."
|
||||
}
|
||||
],
|
||||
"ver": 202408071200
|
||||
"ver": 202408201100
|
||||
},
|
||||
"device_hms": {
|
||||
"en": [
|
||||
{
|
||||
"ecode": "0500010000030004",
|
||||
"intro": "Not enough space in MicroSD Card; please clear some space."
|
||||
},
|
||||
{
|
||||
"ecode": "0300020000010006",
|
||||
"intro": "The nozzle temperature is abnormal; the sensor may have a short circuit. Please check whether the connector is properly plugged in."
|
||||
},
|
||||
{
|
||||
"ecode": "0700220000030001",
|
||||
"intro": "AMS1 Slot3 filament has run out. Please wait while old filament is purged."
|
||||
},
|
||||
{
|
||||
"ecode": "0500030000010021",
|
||||
"intro": "Hardware incompatible: please check the laser."
|
||||
},
|
||||
{
|
||||
"ecode": "0500050000010001",
|
||||
"intro": "The factory data of AP board is abnormal; please replace the AP board with a new one."
|
||||
},
|
||||
{
|
||||
"ecode": "0500050000030002",
|
||||
"intro": "The device is in the engineering state; please pay attention to the information security related matters."
|
||||
},
|
||||
{
|
||||
"ecode": "030002000001000B",
|
||||
"intro": "The nozzle temperature is abnormal. Temperature control system may have an issue."
|
||||
},
|
||||
{
|
||||
"ecode": "030091000001000C",
|
||||
"intro": "The chamber heater 1 has been working at full load for a long time. The temperature control system may have an issue."
|
||||
},
|
||||
{
|
||||
"ecode": "030001000001000D",
|
||||
"intro": "An issue occurred when heating the heatbed previously. To continue using your printer, please refer to the wiki to troubleshoot."
|
||||
},
|
||||
{
|
||||
"ecode": "0500030000010024",
|
||||
"intro": "The current temperature is too low. In order to protect you and your printer. Printing task, moving axis and other operations is disabled. Please move the printer to an environment above 10°C."
|
||||
},
|
||||
{
|
||||
"ecode": "0300180000010005",
|
||||
"intro": "The Z axis motor got stuck while moving, or the extrusion force sensor may have an issue; please check if there is any foreign matter on the Z sliders or Z timing belt wheels."
|
||||
},
|
||||
{
|
||||
"ecode": "0700700000020005",
|
||||
"intro": "Failed to feed the filament outside the AMS. Please clip the end of the filament flat and check to see if the spool is stuck. Please refer to the Assistant for details."
|
||||
},
|
||||
{
|
||||
"ecode": "0702700000020004",
|
||||
"intro": "Failed to pull back the filament from the toolhead to AMS. Possible cause: filament or spool stuck. Please refer to the Assistant for details."
|
||||
},
|
||||
{
|
||||
"ecode": "0701700000020003",
|
||||
"intro": "Failed to extrude the filament. Possible cause: extruder or nozzle clogged. Please refer to the Assistant for details."
|
||||
@ -1183,56 +1235,16 @@
|
||||
"intro": "Timeout purging old filament. Possible cause: filament stuck or extruder/nozzle clogged. Please refer to the Assistant for details."
|
||||
},
|
||||
{
|
||||
"ecode": "0500010000030004",
|
||||
"intro": "Not enough space in MicroSD Card; please clear some space."
|
||||
"ecode": "0300170000020002",
|
||||
"intro": "The hotend cooling fan speed is slow. It may be stuck and need cleaning."
|
||||
},
|
||||
{
|
||||
"ecode": "0300020000010006",
|
||||
"intro": "The nozzle temperature is abnormal; the sensor may have a short circuit. Please check whether the connector is properly plugged in."
|
||||
"ecode": "0300030000010001",
|
||||
"intro": "The hotend cooling fan speed is too slow or stopped. It may be stuck or the connector is not plugged in properly."
|
||||
},
|
||||
{
|
||||
"ecode": "0700220000030001",
|
||||
"intro": "AMS1 Slot3 filament has run out. Please wait while old filament is purged."
|
||||
},
|
||||
{
|
||||
"ecode": "0500030000010021",
|
||||
"intro": "Hardware incompatible: please check the laser."
|
||||
},
|
||||
{
|
||||
"ecode": "0500050000010001",
|
||||
"intro": "The factory data of AP board is abnormal; please replace the AP board with a new one."
|
||||
},
|
||||
{
|
||||
"ecode": "0500050000030002",
|
||||
"intro": "The device is in the engineering state; please pay attention to the information security related matters."
|
||||
},
|
||||
{
|
||||
"ecode": "030002000001000B",
|
||||
"intro": "The nozzle temperature is abnormal. Temperature control system may have an issue."
|
||||
},
|
||||
{
|
||||
"ecode": "030091000001000C",
|
||||
"intro": "The chamber heater 1 has been working at full load for a long time. The temperature control system may have an issue."
|
||||
},
|
||||
{
|
||||
"ecode": "030001000001000D",
|
||||
"intro": "An issue occurred when heating the heatbed previously. To continue using your printer, please refer to the wiki to troubleshoot."
|
||||
},
|
||||
{
|
||||
"ecode": "0500030000010024",
|
||||
"intro": "The current temperature is too low. In order to protect you and your printer. Printing task, moving axis and other operations is disabled. Please move the printer to an environment above 10°C."
|
||||
},
|
||||
{
|
||||
"ecode": "0300180000010005",
|
||||
"intro": "The Z axis motor got stuck while moving, or the extrusion force sensor may have an issue; please check if there is any foreign matter on the Z sliders or Z timing belt wheels."
|
||||
},
|
||||
{
|
||||
"ecode": "0700700000020005",
|
||||
"intro": "Failed to feed the filament outside the AMS. Please clip the end of the filament flat and check to see if the spool is stuck. Please refer to the Assistant for details."
|
||||
},
|
||||
{
|
||||
"ecode": "0702700000020004",
|
||||
"intro": "Failed to pull back the filament from the toolhead to AMS. Possible cause: filament or spool stuck. Please refer to the Assistant for details."
|
||||
"ecode": "0300170000010001",
|
||||
"intro": "The hotend cooling fan speed is too slow or stopped. It may be stuck or the connector may not be plugged in properly."
|
||||
},
|
||||
{
|
||||
"ecode": "03000D0000020004",
|
||||
@ -1482,14 +1494,6 @@
|
||||
"ecode": "030092000001000A",
|
||||
"intro": "The temperature of chamber heater 2 is abnormal. The AC board may be broken."
|
||||
},
|
||||
{
|
||||
"ecode": "0300170000010001",
|
||||
"intro": "The speed of the nozzle fan is too slow or stopped. It may be stuck or the connector may not be plugged in properly."
|
||||
},
|
||||
{
|
||||
"ecode": "0300170000020002",
|
||||
"intro": "The speed of the nozzle fan is slow. It may be stuck and need cleaning."
|
||||
},
|
||||
{
|
||||
"ecode": "0300180000010002",
|
||||
"intro": "The sensitivity of the extrusion force sensor is low, the nozzle may not installed correctly."
|
||||
@ -2962,10 +2966,6 @@
|
||||
"ecode": "07FF200000020004",
|
||||
"intro": "Please pull the external filament from the extruder."
|
||||
},
|
||||
{
|
||||
"ecode": "0300030000010001",
|
||||
"intro": "The speed of the nozzle fan is too slow or stopped. It may be stuck or the connector is not plugged in properly."
|
||||
},
|
||||
{
|
||||
"ecode": "0300010000030008",
|
||||
"intro": "The temperature of the heated bed exceeds the limit and automatically adjusts to the limit temperature."
|
||||
@ -4319,7 +4319,7 @@
|
||||
"intro": "The nozzle temperature is abnormal; the sensor may have an open circuit."
|
||||
}
|
||||
],
|
||||
"ver": 202408071200
|
||||
"ver": 202408201100
|
||||
},
|
||||
"version": "202408071200"
|
||||
"version": "202408201100"
|
||||
}
|
||||
|
@ -65,25 +65,8 @@ set_volume() {
|
||||
fi
|
||||
}
|
||||
|
||||
check_deps > /dev/null
|
||||
check_running >/dev/null
|
||||
|
||||
if [ "$#" -lt 1 ]; then
|
||||
if [ $SPOTIFY_PID != 0 ]; then
|
||||
if [[ "$CHANGE_VOL" == 1 ]]; then
|
||||
set_volume
|
||||
exit 0
|
||||
fi
|
||||
display "Spotify Already Running"
|
||||
exit 12
|
||||
fi
|
||||
if [ -n "$POSITION" ] && [ "$POSITION" -ne 1 ]; then
|
||||
tmux swap-window -s $TARGET_NAME -t 1
|
||||
elif [ -n "$POSITION" ] && [ "$POSITION" -eq 1 ];
|
||||
then
|
||||
tmux select-window -t $TARGET_NAME
|
||||
else
|
||||
display "Starting Spotify"
|
||||
start_spotify() {
|
||||
display "Starting Spotify"
|
||||
tmux new-window -n $TARGET_NAME $TARGET_COMMAND &&
|
||||
tmux swap-window -s $TARGET_NAME -t 1
|
||||
display "Spotify Window Created"
|
||||
@ -103,11 +86,51 @@ if [ "$#" -lt 1 ]; then
|
||||
display $current_volume
|
||||
$($TARGET_COMMAND playback volume $VOLUME)
|
||||
fi
|
||||
}
|
||||
|
||||
restart_spotify() {
|
||||
pid=$(pgrep $TARGET_COMMAND)
|
||||
if [[ -n "$pid" ]]; then
|
||||
until [[ -z $(pgrep $TARGET_COMMAND) ]]; do
|
||||
display "Spotify: Killing $pid"
|
||||
$(kill "$pid")
|
||||
done
|
||||
start_spotify
|
||||
until [[ $(check_running) = "1" ]]; do
|
||||
display "Spotify: Restarting"
|
||||
sleep 1
|
||||
done
|
||||
display "Spotify: Restarted"
|
||||
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
|
||||
check_deps > /dev/null
|
||||
check_running >/dev/null
|
||||
|
||||
if [ "$#" -lt 1 ]; then
|
||||
if [ $SPOTIFY_PID != 0 ]; then
|
||||
if [[ "$CHANGE_VOL" == 1 ]]; then
|
||||
set_volume
|
||||
exit 0
|
||||
fi
|
||||
display "Spotify Already Running"
|
||||
exit 12
|
||||
fi
|
||||
if [ -n "$POSITION" ] && [ "$POSITION" -ne 1 ]; then
|
||||
tmux swap-window -s $TARGET_NAME -t 1
|
||||
elif [ -n "$POSITION" ] && [ "$POSITION" -eq 1 ];
|
||||
then
|
||||
tmux select-window -t $TARGET_NAME
|
||||
else
|
||||
start_spotify
|
||||
fi
|
||||
else
|
||||
if [ "$(check_running)" = "0" ]; then
|
||||
display "Spotify Is Not Running"
|
||||
exit 0
|
||||
display "Spotify Is Not Running - Restarting"
|
||||
restart_spotify
|
||||
fi
|
||||
echo "$1"
|
||||
case "$1" in
|
||||
@ -120,6 +143,9 @@ else
|
||||
"s")
|
||||
$TARGET_COMMAND playback play-pause && set_volume
|
||||
;;
|
||||
"r")
|
||||
restart_spotify
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Usage: $0 [-n|-p|-s|-v]"
|
||||
|
Loading…
Reference in New Issue
Block a user